1. NAME

work_busy - test whether a work is currently pending or running

2. SYNOPSIS

unsigned int work_busy(struct work_struct *  work );

3. ARGUMENTS

work
    the work to be tested

4. DESCRIPTION

Test whether work is currently pending or running. There is no synchronization around this function and the test result is unreliable and only useful as advisory hints or for debugging.

5. RETURNS

ORAqd bitmask of WORK_BUSY_* bits.

6. COPYRIGHT