Lines Matching refs:work_struct
20 struct work_struct;
21 typedef void (*work_func_t)(struct work_struct *work);
98 struct work_struct { struct
112 struct work_struct work; argument
121 struct work_struct work;
206 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work()
211 static inline struct rcu_work *to_rcu_work(struct work_struct *work) in to_rcu_work()
217 struct work_struct work;
246 struct work_struct n = __WORK_INITIALIZER(n, f)
255 extern void __init_work(struct work_struct *work, int onstack);
256 extern void destroy_work_on_stack(struct work_struct *work);
258 static inline unsigned int work_static(struct work_struct *work) in work_static()
263 static inline void __init_work(struct work_struct *work, int onstack) { } in __init_work()
264 static inline void destroy_work_on_stack(struct work_struct *work) { } in destroy_work_on_stack()
266 static inline unsigned int work_static(struct work_struct *work) { return 0; } in work_static()
497 struct work_struct *work);
499 struct work_struct *work);
513 extern bool flush_work(struct work_struct *work);
514 extern bool cancel_work(struct work_struct *work);
515 extern bool cancel_work_sync(struct work_struct *work);
525 extern struct work_struct *current_work(void);
528 extern unsigned int work_busy(struct work_struct *work);
560 struct work_struct *work) in queue_work()
602 static inline bool schedule_work_on(int cpu, struct work_struct *work) in schedule_work_on()
621 static inline bool schedule_work(struct work_struct *work) in schedule_work()