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

NAME

6       work_busy - test whether a work is currently pending or running
7

SYNOPSIS

9       unsigned int work_busy(struct work_struct * work);
10

ARGUMENTS

12       work
13           the work to be tested
14

DESCRIPTION

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.
19

RETURNS

21       OR'd bitmask of WORK_BUSY_* bits.
22
24Kernel Hackers Manual 3.10         June 2019                      WORK_BUSY(9)
Impressum