Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lk_mq_queue_tag_busy_iter - iterate over all requests with a driver tag*@q: Request queue to examine

Proto:void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, void *priv)

Type:void

Parameter:

TypeParameterName
struct request_queue *q
busy_iter_fn *fn
void *priv
408  If Not percpu_ref_tryget - try to increment a percpu refcount*@ref: percpu_ref to try-get* Increment a percpu refcount unless its count already reached zero.* Returns %true on success; %false on failure. Then Return
412  tags = @tags: Tags owned by the block driver. A tag at this set is only* assigned when a request is dispatched from a hardware queue.
418  If Not blk_mq_hw_queue_mapped(hctx) Then Continue
421  If nr_reserved_tags Then _for_each - iterate over the requests associated with a hardware queue*@hctx: Hardware queue to examine
423  _for_each - iterate over the requests associated with a hardware queue*@hctx: Hardware queue to examine
425  blk_queue_exit(q)
Caller
NameDescribe
blk_mq_in_flight_rw
blk_mq_queue_inflight
blk_mq_timeout_work
blk_mq_in_flight