函数逻辑报告 |
Source Code:block\blk-mq.c |
Create Date:2022-07-27 18:47:09 |
Last Modify:2020-03-17 23:18:05 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:blk_mq_realloc_tag_set_tags
函数原型:static int blk_mq_realloc_tag_set_tags(struct blk_mq_tag_set *set, int cur_nr_hw_queues, int new_nr_hw_queues)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct blk_mq_tag_set * | set | |
int | cur_nr_hw_queues | |
int | new_nr_hw_queues |
2996 | 如果cur_nr_hw_queues大于等于new_nr_hw_queues则返回:0 |
2999 | new_tags等于kcalloc_node(new_nr_hw_queues, *的长度, GFP_KERNEL, numa_node) |
3007 | 释放内存 |
3009 | nr_hw_queues等于new_nr_hw_queues |
3011 | 返回:0 |
名称 | 描述 |
---|---|
blk_mq_alloc_tag_set | Alloc a tag set to be associated with one or more request queues.* May fail with EINVAL for various error conditions. May adjust the* requested depth down, if it's too large. In that case, the set* value will be stored in set->queue_depth. |
__blk_mq_update_nr_hw_queues |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |