Go to the source code of this file.
|
#define | INIT_WORK(__WORK, __FUNC) |
|
#define | INIT_DELAYED_WORK(__DWORK, __FUNC) INIT_WORK(&(__DWORK)->work, (__FUNC)) |
|
#define | alloc_ordered_workqueue(__fmt, __flags, ...) alloc_workqueue(__fmt, __flags, 1, ##__VA_ARGS__) |
|
#define | create_singlethread_workqueue(__name) alloc_ordered_workqueue("%s", 0, (__name)) |
|
#define | create_workqueue(__name) alloc_workqueue("%s", 0, 1, (__name)) |
|
◆ INIT_WORK
#define INIT_WORK |
( |
|
__WORK, |
|
|
|
__FUNC |
|
) |
| |
Value: do { \
(__WORK)->func = (__FUNC); \
vsf_dlist_init_node(
struct work_struct, entry, (__WORK)); \
} while (0)
Definition workqueue.h:15
◆ INIT_DELAYED_WORK
#define INIT_DELAYED_WORK |
( |
|
__DWORK, |
|
|
|
__FUNC |
|
) |
| INIT_WORK(&(__DWORK)->work, (__FUNC)) |
◆ alloc_ordered_workqueue
#define alloc_ordered_workqueue |
( |
|
__fmt, |
|
|
|
__flags, |
|
|
|
... |
|
) |
| alloc_workqueue(__fmt, __flags, 1, ##__VA_ARGS__) |
◆ create_singlethread_workqueue
◆ create_workqueue
◆ work_func_t
◆ alloc_workqueue()
struct workqueue_struct * alloc_workqueue |
( |
const char * |
fmt, |
|
|
unsigned int |
flags, |
|
|
int |
max_active, |
|
|
|
... |
|
) |
| |
|
extern |
◆ destroy_workqueue()
◆ queue_delayed_work()
◆ mod_delayed_work()
◆ queue_work()
◆ flush_workqueue()
◆ flush_work()
◆ cancel_work()
◆ cancel_work_sync()
◆ flush_delayed_work()
◆ cancel_delayed_work()
◆ cancel_delayed_work_sync()
◆ system_wq