COMPLETION_DONE(9) Driver Basics COMPLETION_DONE(9)NAME
completion_done - Test to see if a completion has any waiters
SYNOPSIS
bool completion_done(struct completion * x);
ARGUMENTS
x
completion structure
RETURNS
0 if there are waiters (wait_for_completion in progress) 1 if there are
no waiters.
COPYRIGHTKernel Hackers Manual 3.8. June 2014 COMPLETION_DONE(9)