Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-mq.c Create Date:2022-07-28 17:11:20
Last Modify:2020-03-17 23:18:05 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_mq_add_queue_tag_set

Proto:static void blk_mq_add_queue_tag_set(struct blk_mq_tag_set *set, struct request_queue *q)

Type:void

Parameter:

TypeParameterName
struct blk_mq_tag_set *set
struct request_queue *q
2584  mutex_lock( & tag_list_lock)
2589  If Not list_empty - tests whether a list is empty*@head: the list to test. && Not (flags & BLK_MQ_F_TAG_SHARED) Then
2591  flags |= BLK_MQ_F_TAG_SHARED
2593  blk_mq_update_tag_set_depth(set, true)
2595  If flags & BLK_MQ_F_TAG_SHARED Then Caller needs to ensure that we're either frozen/quiesced, or that* the queue isn't live yet.
2597  list_add_tail_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head
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.
Caller
NameDescribe
blk_mq_init_allocated_queue