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:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:_for_each - iterate over the requests associated with a hardware queue*@hctx: Hardware queue to examine

Proto:static void bt_for_each(struct blk_mq_hw_ctx *hctx, struct sbitmap_queue *bt, busy_iter_fn *fn, void *data, bool reserved)

Type:void

Parameter:

TypeParameterName
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.
Caller
NameDescribe
blk_mq_queue_tag_busy_iterlk_mq_queue_tag_busy_iter - iterate over all requests with a driver tag*@q: Request queue to examine