函数逻辑报告 |
Source Code:block\blk-mq.c |
Create Date:2022-07-27 18:47:03 |
| Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:__blk_mq_alloc_rq_maps
函数原型:static int __blk_mq_alloc_rq_maps(struct blk_mq_tag_set *set)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct blk_mq_tag_set * | set |
| 2914 | 以i小于nr_hw_queues循环如果非__blk_mq_alloc_rq_map(set, i)则 |
| 2916 | 转到:out_unwind |
| 2918 | 返回:0 |
| 2920 | out_unwind : |
| 2922 | blk_mq_free_rq_map(tags[i]) |
| 2924 | 返回:负ENOMEM |
| 名称 | 描述 |
|---|---|
| blk_mq_alloc_rq_maps | Allocate the request maps associated with this tag_set. Note that this* may reduce the depth asked for, if memory is tight. set->queue_depth* will be updated to reflect the allocated depth. |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |