Go to the source code of this file.
|
| #define | might_alloc(gfp) do { (void)(gfp); } while (0) |
| |
| #define | INIT_WORK(_work, _func) |
| |
| #define | INIT_WORK_ONSTACK(_work, _func) INIT_WORK(_work, _func) |
| |
| #define | destroy_work_on_stack(work) do { (void)(work); } while (0) |
| |
| #define | create_singlethread_workqueue(name) alloc_ordered_workqueue(name, 0) |
| |
| #define | container_of_work(ptr, type, member) container_of(ptr, type, member) |
| |
| #define | INIT_DELAYED_WORK(_dwork, _func) |
| |
| #define | to_delayed_work(ptr) container_of(ptr, struct delayed_work, work) |
| |
◆ container_of_work
| #define container_of_work |
( |
|
ptr, |
|
|
|
type, |
|
|
|
member |
|
) |
| container_of(ptr, type, member) |
◆ create_singlethread_workqueue
| #define create_singlethread_workqueue |
( |
|
name | ) |
alloc_ordered_workqueue(name, 0) |
◆ destroy_work_on_stack
| #define destroy_work_on_stack |
( |
|
work | ) |
do { (void)(work); } while (0) |
◆ INIT_DELAYED_WORK
| #define INIT_DELAYED_WORK |
( |
|
_dwork, |
|
|
|
_func |
|
) |
| |
Value: do { \
INIT_WORK(&(_dwork)->work, _func); \
timer_setup(&(_dwork)->timer,
NULL, 0); \
} while (0)
#define NULL
Definition actypes.h:561
◆ INIT_WORK
| #define INIT_WORK |
( |
|
_work, |
|
|
|
_func |
|
) |
| |
Value: do { \
(_work)->func = (_func); \
(_work)->pending = 0; \
} while (0)
void * data
Definition kthread.h:30
◆ INIT_WORK_ONSTACK
| #define INIT_WORK_ONSTACK |
( |
|
_work, |
|
|
|
_func |
|
) |
| INIT_WORK(_work, _func) |
◆ might_alloc
| #define might_alloc |
( |
|
gfp | ) |
do { (void)(gfp); } while (0) |
◆ to_delayed_work
◆ work_func_t
◆ current_work()
◆ dcl_current_work
◆ system_dfl_wq
◆ system_long_wq
◆ system_percpu_wq