1#ifndef __LINUX_WORKQUEUE_H__
2#define __LINUX_WORKQUEUE_H__
5#include <linux/mutex.h>
9#define queue_delayed_work(workqueue, delayed_work, delay_ms) ({ \
10 jffs2_queue_delayed_work(delayed_work, delay_ms); \
14#define INIT_DELAYED_WORK(delayed_work, delayed_workqueue_callback) ({ \
15 (delayed_work)->callback = delayed_workqueue_callback; \
18#define msecs_to_jiffies(a) (a)
20typedef void (*work_callback_t)(
struct work_struct *work);
23 struct mutex dw_mutex;
24 volatile bool pending;
25 volatile uint64_t execution_time;
26 work_callback_t callback;
29#define to_delayed_work(work) RTEMS_CONTAINER_OF(work, struct delayed_work, work)
30void jffs2_queue_delayed_work(
struct delayed_work *work,
int delay_ms);
This header file provides the Chains API.
This structure represents a chain node.
Definition: chain.h:78
Definition: workqueue.h:21
Definition: workqueue.h:7