Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq-sched.c Create Date:2022-07-28 17:15:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_sched_insert_requests

Proto: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)

Type:void

Parameter:

TypeParameterName
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_ref_get - increment a percpu refcount*@ref: percpu_ref to get* Analagous to atomic_long_inc().* This function is safe to call as long as @ref is between init and exit.
427  e = elevator
428  If e && insert_requests Then insert_requests(hctx, list, false)
430  Else
441  blk_mq_insert_requests(hctx, ctx, list)
444  blk_mq_run_hw_queue(hctx, run_queue_async)
445  out :
446  percpu_ref_put - decrement a percpu refcount*@ref: percpu_ref to put* Decrement the refcount, and if 0, call the release function (which was passed* to percpu_ref_init())* This function is safe to call as long as @ref is between init and exit.
Caller
NameDescribe
blk_mq_flush_plug_list