函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:lk_mq_queue_tag_busy_iter - iterate over all requests with a driver tag*@q: Request queue to examine

函数原型:void blk_mq_queue_tag_busy_iter(struct request_queue *q, busy_iter_fn *fn, void *priv)

返回类型:void

参数:

类型参数名称
struct request_queue *q
busy_iter_fn *fn
void *priv
408  如果非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.则返回
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  如果非blk_mq_hw_queue_mapped(hctx)则继续下一循环
421  如果nr_reserved_tags_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)
调用者
名称描述
blk_mq_in_flight_rw
blk_mq_queue_inflight
blk_mq_timeout_work
blk_mq_in_flight