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

Name:__blk_mq_get_tag

Proto:static int __blk_mq_get_tag(struct blk_mq_alloc_data *data, struct sbitmap_queue *bt)

Type:int

Parameter:

TypeParameterName
struct blk_mq_alloc_data *data
struct sbitmap_queue *bt
93  If Not (flags & BLK_MQ_REQ_INTERNAL) && Not For shared tag users, we track the number of currently active users* and attempt to provide a fair share of the tag depth for each of them. Then Return -1
96  If shallow_depth Then Return __sbitmap_queue_get_shallow(bt, shallow_depth)
98  Else Return __sbitmap_queue_get(bt)
Caller
NameDescribe
blk_mq_get_tag