1WORK_BUSY(9) Driver Basics WORK_BUSY(9)
2
3
4
6 work_busy - test whether a work is currently pending or running
7
9 unsigned int work_busy(struct work_struct * work);
10
12 work
13 the work to be tested
14
16 Test whether work is currently pending or running. There is no
17 synchronization around this function and the test result is unreliable
18 and only useful as advisory hints or for debugging. Especially for
19 reentrant wqs, the pending state might hide the running state.
20
22 OR´d bitmask of WORK_BUSY_* bits.
23
25Kernel Hackers Manual 2.6. June 2019 WORK_BUSY(9)