1WAIT_ON_BIT_LOCK_ACT(9)          Driver Basics         WAIT_ON_BIT_LOCK_ACT(9)
2
3
4

NAME

6       wait_on_bit_lock_action - wait for a bit to be cleared, when wanting to
7       set it
8

SYNOPSIS

10       int wait_on_bit_lock_action(void * word, int bit,
11                                   wait_bit_action_f * action, unsigned mode);
12

ARGUMENTS

14       word
15           the word being waited on, a kernel virtual address
16
17       bit
18           the bit of the word being waited on
19
20       action
21           the function used to sleep, which may take special actions
22
23       mode
24           the task state to sleep in
25

DESCRIPTION

27       Use the standard hashed waitqueue table to wait for a bit to be cleared
28       and then to set it, and allow the waiting action to be specified. This
29       is like wait_on_bit but allows fine control of how the waiting is done.
30
31       Returns zero if the bit was (eventually) found to be clear and was set.
32       Returns non-zero if a signal was delivered to the process and the mode
33       allows that signal to wake the process.
34
36Kernel Hackers Manual 3.10         June 2019           WAIT_ON_BIT_LOCK_ACT(9)
Impressum