函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_for_each - iterate over the requests associated with a hardware queue*@hctx: Hardware queue to examine

函数原型:static void bt_for_each(struct blk_mq_hw_ctx *hctx, struct sbitmap_queue *bt, busy_iter_fn *fn, void *data, bool reserved)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
struct sbitmap_queue *bt
busy_iter_fn *fn
void *data
boolreserved
245  struct bt_iter_data iter_data = {hctx = hctx, fn = fn, data = data, reserved = reserved, }
252  sbitmap_for_each_set() - Iterate over each set bit in a &struct sbitmap.*@sb: Bitmap to iterate over.*@fn: Callback. Should return true to continue or false to break early.*@data: Pointer to pass to callback.
调用者
名称描述
blk_mq_queue_tag_busy_iterlk_mq_queue_tag_busy_iter - iterate over all requests with a driver tag*@q: Request queue to examine