Lines Matching refs:work_struct

219 	struct work_struct	unbound_release_work;
434 return ((struct work_struct *) addr)->func; in work_debug_hint()
439 struct work_struct *work = addr; in work_is_static_object()
450 struct work_struct *work = addr; in work_fixup_init()
468 struct work_struct *work = addr; in work_fixup_free()
488 static inline void debug_work_activate(struct work_struct *work) in debug_work_activate()
493 static inline void debug_work_deactivate(struct work_struct *work) in debug_work_deactivate()
498 void __init_work(struct work_struct *work, int onstack) in __init_work()
507 void destroy_work_on_stack(struct work_struct *work) in destroy_work_on_stack()
521 static inline void debug_work_activate(struct work_struct *work) { } in debug_work_activate()
522 static inline void debug_work_deactivate(struct work_struct *work) { } in debug_work_deactivate()
581 static int get_work_color(struct work_struct *work) in get_work_color()
612 static inline void set_work_data(struct work_struct *work, unsigned long data, in set_work_data()
619 static void set_work_pwq(struct work_struct *work, struct pool_workqueue *pwq, in set_work_pwq()
626 static void set_work_pool_and_keep_pending(struct work_struct *work, in set_work_pool_and_keep_pending()
633 static void set_work_pool_and_clear_pending(struct work_struct *work, in set_work_pool_and_clear_pending()
675 static void clear_work_data(struct work_struct *work) in clear_work_data()
681 static struct pool_workqueue *get_work_pwq(struct work_struct *work) in get_work_pwq()
706 static struct worker_pool *get_work_pool(struct work_struct *work) in get_work_pool()
731 static int get_work_pool_id(struct work_struct *work) in get_work_pool_id()
742 static void mark_work_canceling(struct work_struct *work) in mark_work_canceling()
750 static bool work_is_canceling(struct work_struct *work) in work_is_canceling()
1026 struct work_struct *work) in find_worker_executing_work()
1056 static void move_linked_works(struct work_struct *work, struct list_head *head, in move_linked_works()
1057 struct work_struct **nextp) in move_linked_works()
1059 struct work_struct *n; in move_linked_works()
1138 static void pwq_activate_delayed_work(struct work_struct *work) in pwq_activate_delayed_work()
1152 struct work_struct *work = list_first_entry(&pwq->delayed_works, in pwq_activate_first_delayed()
1153 struct work_struct, entry); in pwq_activate_first_delayed()
1235 static int try_to_grab_pending(struct work_struct *work, bool is_dwork, in try_to_grab_pending()
1325 static void insert_work(struct pool_workqueue *pwq, struct work_struct *work, in insert_work()
1396 struct work_struct *work) in __queue_work()
1513 struct work_struct *work) in queue_work_on()
1584 struct work_struct *work) in queue_work_node()
1627 struct work_struct *work = &dwork->work; in __queue_delayed_work()
1669 struct work_struct *work = &dwork->work; in queue_delayed_work_on()
1746 struct work_struct *work = &rwork->work; in queue_rcu_work()
2014 static void send_mayday(struct work_struct *work) in send_mayday()
2040 struct work_struct *work; in pool_mayday_timeout()
2165 static void process_one_work(struct worker *worker, struct work_struct *work) in process_one_work()
2332 struct work_struct *work = list_first_entry(&worker->scheduled, in process_scheduled_works()
2333 struct work_struct, entry); in process_scheduled_works()
2410 struct work_struct *work = in worker_thread()
2412 struct work_struct, entry); in worker_thread()
2498 struct work_struct *work, *n; in rescuer_thread()
2597 struct work_struct *target_work) in check_flush_dependency()
2618 struct work_struct work;
2623 static void wq_barrier_func(struct work_struct *work) in wq_barrier_func()
2655 struct work_struct *target, struct worker *worker) in insert_wq_barrier()
2977 static bool start_flush_work(struct work_struct *work, struct wq_barrier *barr, in start_flush_work()
3033 static bool __flush_work(struct work_struct *work, bool from_cancel) in __flush_work()
3068 bool flush_work(struct work_struct *work) in flush_work()
3076 struct work_struct *work;
3088 static bool __cancel_work_timer(struct work_struct *work, bool is_dwork) in __cancel_work_timer()
3170 bool cancel_work_sync(struct work_struct *work) in cancel_work_sync()
3218 static bool __cancel_work(struct work_struct *work, bool is_dwork) in __cancel_work()
3286 struct work_struct __percpu *works; in schedule_on_each_cpu()
3288 works = alloc_percpu(struct work_struct); in schedule_on_each_cpu()
3295 struct work_struct *work = per_cpu_ptr(works, cpu); in schedule_on_each_cpu()
3669 static void pwq_unbound_release_workfn(struct work_struct *work) in pwq_unbound_release_workfn()
4487 struct work_struct *current_work(void) in current_work()
4563 unsigned int work_busy(struct work_struct *work) in work_busy()
4666 static void pr_cont_work(bool comma, struct work_struct *work) in pr_cont_work()
4683 struct work_struct *work; in show_pwq()
5095 struct work_struct work;
5101 static void work_for_cpu_fn(struct work_struct *work) in work_for_cpu_fn()