Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\wait_bit.h Create Date:2022-07-28 05:41:46
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wait_on_bit - wait for a bit to be cleared*@word: the word being waited on, a kernel virtual address*@bit: the bit of the word being waited on*@mode: the task state to sleep in* There is a standard hashed waitqueue table for generic use. This

Proto:static inline int wait_on_bit(unsigned long *word, int bit, unsigned mode)

Type:int

Parameter:

TypeParameterName
unsigned long *word
intbit
unsignedmode
73  might_sleep()
74  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return 0
76  Return out_of_line_wait_on_bit(word, bit, bit_wait, mode)
Caller
NameDescribe
ptrace_attach
key_gc_keytypeReap keys of dead type.* We use three flags to make sure we see three complete cycles of the garbage* collector: the first to mark keys of that type as being dead, the second to* collect dead links and the third to clean up the dead keys. We have to be
wait_for_key_constructionwait_for_key_construction - Wait for construction of a key to complete*@key: The key being waited for