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

Name:blk_mq_put_tag

Proto:void blk_mq_put_tag(struct blk_mq_hw_ctx *hctx, struct blk_mq_tags *tags, struct blk_mq_ctx *ctx, unsigned int tag)

Type:void

Parameter:

TypeParameterName
struct blk_mq_hw_ctx *hctx
struct blk_mq_tags *tags
struct blk_mq_ctx *ctx
unsigned inttag
189  If Not blk_mq_tag_is_reserved(tags, tag) Then
190  real_tag = tag - nr_reserved_tags
192  BUG_ON(real_tag >= nr_tags)
193  sbitmap_queue_clear( & bitmap_tags, real_tag, cpu)
194  Else
195  BUG_ON(tag >= nr_reserved_tags)
196  sbitmap_queue_clear( & breserved_tags, tag, cpu)
Caller
NameDescribe
__blk_mq_free_request
__blk_mq_put_driver_tag