Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\sbitmap.c Create Date:2022-07-28 07:22:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:sbitmap_queue_wake_all

Proto:void sbitmap_queue_wake_all(struct sbitmap_queue *sbq)

Type:void

Parameter:

TypeParameterName
struct sbitmap_queue *sbq
597  smp_mb()
598  wake_index = atomic_read( & @wake_index: Next wait queue in @ws to wake up.)
599  When i < SBQ_WAIT_QUEUES cycle
600  ws = @ws: Wait queues.[wake_index]
602  If 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_ Then wake_up( & @wait: Wait queue.)
605  wake_index = sbq_index_inc(wake_index)
Caller
NameDescribe
blk_mq_tag_wakeup_allWakeup all potentially sleeping on tags