Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\wait_bit.c Create Date:2022-07-28 09:40:58
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__wake_up_bit

Proto:void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit)

Type:void

Parameter:

TypeParameterName
struct wait_queue_head *wq_head
void *word
intbit
123  key = __WAIT_BIT_KEY_INITIALIZER(word, bit)
125  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 - wake up threads blocked on a waitqueue
Caller
NameDescribe
wake_up_bitwake_up_bit - wake up a waiter on a bit*@word: the word being waited on, a kernel virtual address*@bit: the bit of the word being waited on* There is a standard hashed waitqueue table for generic use
wake_up_var