函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blk_mq_add_queue_tag_set

函数原型:static void blk_mq_add_queue_tag_set(struct blk_mq_tag_set *set, struct request_queue *q)

返回类型:void

参数:

类型参数名称
struct blk_mq_tag_set *set
struct request_queue *q
2584  mutex_lock( & tag_list_lock)
2589  如果非链表为空且非flags按位与BLK_MQ_F_TAG_SHARED的值则
2591  flags或等于BLK_MQ_F_TAG_SHARED
2593  blk_mq_update_tag_set_depth(set, true)
2595  如果flags按位与BLK_MQ_F_TAG_SHAREDCaller needs to ensure that we're either frozen/quiesced, or that* the queue isn't live yet.
2597  添加RCU链表项
2599  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
调用者
名称描述
blk_mq_init_allocated_queue