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:47
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:wait_on_bit_timeout - wait for a bit to be cleared or a timeout elapses*@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*@timeout: timeout, in jiffies* Use the standard

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

Type:int

Parameter:

TypeParameterName
unsigned long *word
intbit
unsignedmode
unsigned longtimeout
125  might_sleep()
126  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then Return 0
128  Return out_of_line_wait_on_bit_timeout(word, bit, bit_wait_timeout, mode, timeout)