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

Name:wait_on_bit_lock_action - wait for a bit to be cleared, when wanting to set it*@word: the word being waited on, a kernel virtual address*@bit: the bit of the word being waited on*@action: the function used to sleep, which may take special actions*@mode:

Proto:static inline int wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action, unsigned mode)

Type:int

Parameter:

TypeParameterName
unsigned long *word
intbit
wait_bit_action_f *action
unsignedmode
232  might_sleep()
233  If Not st_and_set_bit - Set a bit and return its old value*@nr: Bit to set*@addr: Address to count from* This is an atomic fully-ordered operation (implied full memory barrier). Then Return 0
235  Return out_of_line_wait_on_bit_lock(word, bit, action, mode)