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

NAME

6       execute_in_process_context - reliably execute the routine with user
7       context
8

SYNOPSIS

10       int execute_in_process_context(work_func_t fn,
11                                      struct execute_work * ew);
12

ARGUMENTS

14       fn
15           the function to execute
16
17       ew
18           guaranteed storage for the execute work structure (must be
19           available when the work executes)
20

DESCRIPTION

22       Executes the function immediately if process context is available,
23       otherwise schedules the function for delayed execution.
24

RETURNS

26       0 - function was executed 1 - function was scheduled for execution
27
29Kernel Hackers Manual 3.10         June 2019           EXECUTE_IN_PROCESS_C(9)
Impressum