Lines Matching refs:work_struct
18 struct work_struct;
19 typedef void (*work_func_t)(struct work_struct *work);
100 struct work_struct { struct
114 struct work_struct work; argument
136 static inline struct delayed_work *to_delayed_work(struct work_struct *work) in to_delayed_work()
142 struct work_struct work;
172 struct work_struct n = __WORK_INITIALIZER(n, f)
181 extern void __init_work(struct work_struct *work, int onstack);
182 extern void destroy_work_on_stack(struct work_struct *work);
184 static inline unsigned int work_static(struct work_struct *work) in work_static()
189 static inline void __init_work(struct work_struct *work, int onstack) { } in __init_work()
190 static inline void destroy_work_on_stack(struct work_struct *work) { } in destroy_work_on_stack()
192 static inline unsigned int work_static(struct work_struct *work) { return 0; } in work_static()
433 struct work_struct *work);
446 extern bool flush_work(struct work_struct *work);
447 extern bool cancel_work(struct work_struct *work);
448 extern bool cancel_work_sync(struct work_struct *work);
456 extern struct work_struct *current_work(void);
459 extern unsigned int work_busy(struct work_struct *work);
475 struct work_struct *work) in queue_work()
517 static inline bool schedule_work_on(int cpu, struct work_struct *work) in schedule_work_on()
533 static inline bool schedule_work(struct work_struct *work) in schedule_work()