Lines Matching refs:work_struct

237 	struct work_struct	unbound_release_work;
453 return ((struct work_struct *) addr)->func; in work_debug_hint()
458 struct work_struct *work = addr; in work_is_static_object()
469 struct work_struct *work = addr; in work_fixup_init()
487 struct work_struct *work = addr; in work_fixup_free()
507 static inline void debug_work_activate(struct work_struct *work) in debug_work_activate()
512 static inline void debug_work_deactivate(struct work_struct *work) in debug_work_deactivate()
517 void __init_work(struct work_struct *work, int onstack) in __init_work()
526 void destroy_work_on_stack(struct work_struct *work) in destroy_work_on_stack()
540 static inline void debug_work_activate(struct work_struct *work) { } in debug_work_activate()
541 static inline void debug_work_deactivate(struct work_struct *work) { } in debug_work_deactivate()
631 static inline void set_work_data(struct work_struct *work, unsigned long data, in set_work_data()
638 static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, in set_work_pwq()
645 static void set_work_pool_and_keep_pending(struct work_struct *work, in set_work_pool_and_keep_pending()
652 static void set_work_pool_and_clear_pending(struct work_struct *work, in set_work_pool_and_clear_pending()
694 static void clear_work_data(struct work_struct *work) in clear_work_data()
700 static struct pool_workqueue *get_work_pwq(struct work_struct *work) in get_work_pwq()
725 static struct worker_pool *get_work_pool(struct work_struct *work) in get_work_pool()
750 static int get_work_pool_id(struct work_struct *work) in get_work_pool_id()
761 static void mark_work_canceling(struct work_struct *work) in mark_work_canceling()
769 static bool work_is_canceling(struct work_struct *work) in work_is_canceling()
1045 struct work_struct *work) in find_worker_executing_work()
1075 static void move_linked_works(struct work_struct *work, struct list_head *head, in move_linked_works()
1076 struct work_struct **nextp) in move_linked_works()
1078 struct work_struct *n; in move_linked_works()
1157 static void pwq_activate_inactive_work(struct work_struct *work) in pwq_activate_inactive_work()
1171 struct work_struct *work = list_first_entry(&pwq->inactive_works, in pwq_activate_first_inactive()
1172 struct work_struct, entry); in pwq_activate_first_inactive()
1254 static int try_to_grab_pending(struct work_struct *work, bool is_dwork, in try_to_grab_pending()
1348 static void insert_work(struct pool_workqueue *pwq, struct work_struct *work, in insert_work()
1422 struct work_struct *work) in __queue_work()
1539 struct work_struct *work) in queue_work_on()
1610 struct work_struct *work) in queue_work_node()
1653 struct work_struct *work = &dwork->work; in __queue_delayed_work()
1695 struct work_struct *work = &dwork->work; in queue_delayed_work_on()
1772 struct work_struct *work = &rwork->work; in queue_rcu_work()
2039 static void send_mayday(struct work_struct *work) in send_mayday()
2065 struct work_struct *work; in pool_mayday_timeout()
2190 static void process_one_work(struct worker *worker, struct work_struct *work) in process_one_work()
2359 struct work_struct *work = list_first_entry(&worker->scheduled, in process_scheduled_works()
2360 struct work_struct, entry); in process_scheduled_works()
2437 struct work_struct *work = in worker_thread()
2439 struct work_struct, entry); in worker_thread()
2525 struct work_struct *work, *n; in rescuer_thread()
2624 struct work_struct *target_work) in check_flush_dependency()
2645 struct work_struct work;
2650 static void wq_barrier_func(struct work_struct *work) in wq_barrier_func()
2682 struct work_struct *target, struct worker *worker) in insert_wq_barrier()
3012 static bool start_flush_work(struct work_struct *work, struct wq_barrier *barr, in start_flush_work()
3068 static bool __flush_work(struct work_struct *work, bool from_cancel) in __flush_work()
3103 bool flush_work(struct work_struct *work) in flush_work()
3111 struct work_struct *work;
3123 static bool __cancel_work_timer(struct work_struct *work, bool is_dwork) in __cancel_work_timer()
3205 bool cancel_work_sync(struct work_struct *work) in cancel_work_sync()
3253 static bool __cancel_work(struct work_struct *work, bool is_dwork) in __cancel_work()
3321 struct work_struct __percpu *works; in schedule_on_each_cpu()
3323 works = alloc_percpu(struct work_struct); in schedule_on_each_cpu()
3330 struct work_struct *work = per_cpu_ptr(works, cpu); in schedule_on_each_cpu()
3704 static void pwq_unbound_release_workfn(struct work_struct *work) in pwq_unbound_release_workfn()
4535 struct work_struct *current_work(void) in current_work()
4611 unsigned int work_busy(struct work_struct *work) in work_busy()
4714 static void pr_cont_work(bool comma, struct work_struct *work) in pr_cont_work()
4731 struct work_struct *work; in show_pwq()
5184 struct work_struct work;
5190 static void work_for_cpu_fn(struct work_struct *work) in work_for_cpu_fn()