1WORK_BUSY(9) Driver Basics WORK_BUSY(9)
23
4
NAME
6work_busy - test whether a work is currently pending or running
7
SYNOPSIS
9unsigned int work_busy(struct work_struct * work);
10
ARGUMENTS
12work
13the work to be tested
14
DESCRIPTION
16Test whether work is currently pending or running. There is no
17synchronization around this function and the test result is unreliable
18and only useful as advisory hints or for debugging.
19
RETURNS
21OR'd bitmask of WORK_BUSY_* bits.
22
COPYRIGHT
24Kernel Hackers Manual 3.10 June 2019 WORK_BUSY(9)