函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__wake_up_bit

函数原型:void __wake_up_bit(struct wait_queue_head *wq_head, void *word, int bit)

返回类型:void

参数:

类型参数名称
struct wait_queue_head *wq_head
void *word
intbit
123  key等于__WAIT_BIT_KEY_INITIALIZER(word, bit)
125  如果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 - wake up threads blocked on a waitqueue
调用者
名称描述
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