函数逻辑报告 |
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 |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称: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 int | tag |
| 189 | 如果非blk_mq_tag_is_reserved(tags, tag)则 |
| 190 | real_tag等于tag减nr_reserved_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) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |