Lines Matching defs:work_struct
17 struct work_struct;
18 typedef void (*work_func_t)(struct work_struct *work);
79 struct work_struct {
93 struct work_struct work;
97 static inline struct delayed_work *to_delayed_work(struct work_struct *work)
103 struct work_struct work;
136 struct work_struct n = __WORK_INITIALIZER(n, f)
156 extern void __init_work(struct work_struct *work, int onstack);
157 extern void destroy_work_on_stack(struct work_struct *work);
158 static inline unsigned int work_static(struct work_struct *work)
163 static inline void __init_work(struct work_struct *work, int onstack) { }
164 static inline void destroy_work_on_stack(struct work_struct *work) { }
165 static inline unsigned int work_static(struct work_struct *work) { return 0; }
368 extern int queue_work(struct workqueue_struct *wq, struct work_struct *work);
370 struct work_struct *work);
380 extern int schedule_work(struct work_struct *work);
381 extern int schedule_work_on(int cpu, struct work_struct *work);
390 extern bool flush_work(struct work_struct *work);
391 extern bool flush_work_sync(struct work_struct *work);
392 extern bool cancel_work_sync(struct work_struct *work);
401 extern unsigned int work_cpu(struct work_struct *work);
402 extern unsigned int work_busy(struct work_struct *work);