函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_update_queue_map

函数原型:static int blk_mq_update_queue_map(struct blk_mq_tag_set *set)

返回类型:int

参数:

类型参数名称
struct blk_mq_tag_set *set
2964  如果map_queues且非is_kdump_kernel()则
2981 i小于nr_maps循环blk_mq_clear_mq_map( & map[i])
2984  返回:map_queues(set)
2985  否则
2986  BUG_ON(nr_maps > 1)
2987  返回:blk_mq_map_queues( & map[HCTX_TYPE_DEFAULT])
调用者
名称描述
blk_mq_alloc_tag_setAlloc 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