函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sbitmap.c Create Date:2022-07-27 08:21:49
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:sbitmap_queue_wake_all

函数原型:void sbitmap_queue_wake_all(struct sbitmap_queue *sbq)

返回类型:void

参数:

类型参数名称
struct sbitmap_queue *sbq
597  smp_mb()
598  wake_index等于atomic_read( & @wake_index: Next wait queue in @ws to wake up.)
599 i小于SBQ_WAIT_QUEUES循环
600  ws等于@ws: Wait queues.[wake_index]
602  如果waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_wake_up( & @wait: Wait queue.)
605  wake_index等于sbq_index_inc(wake_index)
调用者
名称描述
blk_mq_tag_wakeup_allWakeup all potentially sleeping on tags