函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_tags_for_each - iterate over the requests in a tag map*@tags: Tag map to iterate over

函数原型:static void bt_tags_for_each(struct blk_mq_tags *tags, struct sbitmap_queue *bt, busy_tag_iter_fn *fn, void *data, bool reserved)

返回类型:void

参数:

类型参数名称
struct blk_mq_tags *tags
struct sbitmap_queue *bt
busy_tag_iter_fn *fn
void *data
boolreserved
299  struct bt_tags_iter_data iter_data = {tags = tags, fn = fn, data = data, reserved = reserved, }
306  如果rqssbitmap_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_all_tag_busy_iterlk_mq_all_tag_busy_iter - iterate over all started requests in a tag map*@tags: Tag map to iterate over.*@fn: Pointer to the function that will be called for each started* request. @fn will be called as follows: @fn(rq, @priv,