函数逻辑报告 | 
Source Code:block\blk-mq-tag.c | 
Create Date:2022-07-27 18:48:26 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:blk_mq_tag_update_depth
函数原型:int blk_mq_tag_update_depth(struct blk_mq_hw_ctx *hctx, struct blk_mq_tags **tagsptr, unsigned int tdepth, bool can_grow)
返回类型:int
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct blk_mq_hw_ctx * | hctx | |
| struct blk_mq_tags ** | tagsptr | |
| unsigned int | tdepth | |
| bool | can_grow | 
| 489 | 如果tdepth小于等于nr_reserved_tags则返回:负EINVAL | 
| 508 | 如果tdepth大于16乘Default maximum 则返回:负EINVAL | 
| 511 | new等于blk_mq_alloc_rq_map(set, @queue_num: Index of this hardware queue. , tdepth, nr_reserved_tags) | 
| 516 | 如果ret则 | 
| 517 | blk_mq_free_rq_map(new) | 
| 518 | 返回:负ENOMEM | 
| 522 | blk_mq_free_rq_map( * tagsptr) | 
| 524 | 否则 | 
| 529 | sbitmap_queue_resize( & bitmap_tags, tdepth - nr_reserved_tags) | 
| 533 | 返回:0 | 
| 名称 | 描述 | 
|---|---|
| blk_mq_update_nr_requests | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |