函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_put_tag

函数原型:void blk_mq_put_tag(struct blk_mq_hw_ctx *hctx, struct blk_mq_tags *tags, struct blk_mq_ctx *ctx, unsigned int tag)

返回类型:void

参数:

类型参数名称
struct blk_mq_hw_ctx *hctx
struct blk_mq_tags *tags
struct blk_mq_ctx *ctx
unsigned inttag
189  如果非blk_mq_tag_is_reserved(tags, tag)则
190  real_tag等于tagnr_reserved_tags
192  BUG_ON(real_tag >= nr_tags)
193  sbitmap_queue_clear( & bitmap_tags, real_tag, cpu)
194  否则
195  BUG_ON(tag >= nr_reserved_tags)
196  sbitmap_queue_clear( & breserved_tags, tag, cpu)
调用者
名称描述
__blk_mq_free_request
__blk_mq_put_driver_tag