other versions
- jessie 3.16.56-1+deb8u1
EXECUTE_IN_PROCESS_C(9) | Driver Basics | EXECUTE_IN_PROCESS_C(9) |
NAME¶
execute_in_process_context - reliably execute the routine with user contextSYNOPSIS¶
int
execute_in_process_context(work_func_t fn,
struct execute_work * ew);
ARGUMENTS¶
fnthe function to execute
ew
guaranteed storage for the execute work structure (must
be available when the work executes)
DESCRIPTION¶
Executes the function immediately if process context is available, otherwise schedules the function for delayed execution.RETURN¶
0 - function was executed 1 - function was scheduled for executionCOPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |