Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:11:08
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__blk_mq_alloc_rq_map

Proto:static bool __blk_mq_alloc_rq_map(struct blk_mq_tag_set *set, int hctx_idx)

Type:bool

Parameter:

TypeParameterName
struct blk_mq_tag_set *set
inthctx_idx
2405  ret = 0
2407  tags[hctx_idx] = blk_mq_alloc_rq_map(set, hctx_idx, queue_depth, reserved_tags)
2409  If Not tags[hctx_idx] Then Return false
2412  ret = blk_mq_alloc_rqs(set, tags[hctx_idx], hctx_idx, queue_depth)
2414  If Not ret Then Return true
2417  blk_mq_free_rq_map(tags[hctx_idx])
2418  tags[hctx_idx] = NULL
2419  Return false
Caller
NameDescribe
blk_mq_map_swqueue
__blk_mq_alloc_rq_maps