函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sched.c Create Date:2022-07-27 18:50:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_mq_sched_insert_requests

函数原型:void blk_mq_sched_insert_requests(struct blk_mq_hw_ctx *hctx, struct blk_mq_ctx *ctx, struct list_head *list, bool run_queue_async)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
struct blk_mq_ctx *ctx
struct list_head *list
boolrun_queue_async
418  q等于@queue: Pointer to the request queue that owns this hardware context.
425  percpu计数引用增
427  e等于elevator
428  如果einsert_requestsinsert_requests(hctx, list, false)
430  否则
438  如果链表为空则转到:out
441  blk_mq_insert_requests(hctx, ctx, list)
444  blk_mq_run_hw_queue(hctx, run_queue_async)
445  out :
446  percpu计数引用减
调用者
名称描述
blk_mq_flush_plug_list