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

NAME

6       wait_on_bit_action - wait for a bit to be cleared
7

SYNOPSIS

9       int wait_on_bit_action(void * word, int bit,
10                              wait_bit_action_f * action, unsigned mode);
11

ARGUMENTS

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

DESCRIPTION

26       Use the standard hashed waitqueue table to wait for a bit to be
27       cleared, and allow the waiting action to be specified. This is like
28       wait_on_bit but allows fine control of how the waiting is done.
29
30       Returned value will be zero if the bit was cleared, or non-zero if the
31       process received a signal and the mode permitted wakeup on that signal.
32
34Kernel Hackers Manual 3.10         June 2019             WAIT_ON_BIT_ACTION(9)
Impressum