1WAIT_ON_BIT_IO(9) Driver Basics WAIT_ON_BIT_IO(9)
2
3
4
6 wait_on_bit_io - wait for a bit to be cleared
7
9 int wait_on_bit_io(void * word, int bit, unsigned mode);
10
12 word
13 the word being waited on, a kernel virtual address
14
15 bit
16 the bit of the word being waited on
17
18 mode
19 the task state to sleep in
20
22 Use the standard hashed waitqueue table to wait for a bit to be
23 cleared. This is similar to wait_on_bit, but calls io_schedule instead
24 of schedule for the actual waiting.
25
26 Returned value will be zero if the bit was cleared, or non-zero if the
27 process received a signal and the mode permitted wakeup on that signal.
28
30Kernel Hackers Manual 3.10 June 2019 WAIT_ON_BIT_IO(9)