Lines Matching refs:worker_pool
148 struct worker_pool { struct
201 struct worker_pool *pool; /* I: the associated pool */ argument
347 static DEFINE_PER_CPU_SHARED_ALIGNED(struct worker_pool [NR_STD_WORKER_POOLS], cpu_worker_pools);
378 static void show_one_worker_pool(struct worker_pool *pool);
551 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id()
725 static struct worker_pool *get_work_pool(struct work_struct *work) in get_work_pool()
782 static bool __need_more_worker(struct worker_pool *pool) in __need_more_worker()
795 static bool need_more_worker(struct worker_pool *pool) in need_more_worker()
801 static bool may_start_working(struct worker_pool *pool) in may_start_working()
807 static bool keep_working(struct worker_pool *pool) in keep_working()
814 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker()
820 static bool too_many_workers(struct worker_pool *pool) in too_many_workers()
834 static struct worker *first_idle_worker(struct worker_pool *pool) in first_idle_worker()
851 static void wake_up_worker(struct worker_pool *pool) in wake_up_worker()
887 struct worker_pool *pool; in wq_worker_sleeping()
969 struct worker_pool *pool = worker->pool; in worker_set_flags()
994 struct worker_pool *pool = worker->pool; in worker_clr_flags()
1044 static struct worker *find_worker_executing_work(struct worker_pool *pool, in find_worker_executing_work()
1257 struct worker_pool *pool; in try_to_grab_pending()
1351 struct worker_pool *pool = pwq->pool; in insert_work()
1425 struct worker_pool *last_pool; in __queue_work()
1796 struct worker_pool *pool = worker->pool; in worker_enter_idle()
1836 struct worker_pool *pool = worker->pool; in worker_leave_idle()
1870 struct worker_pool *pool) in worker_attach_to_pool()
1903 struct worker_pool *pool = worker->pool; in worker_detach_from_pool()
1935 static struct worker *create_worker(struct worker_pool *pool) in create_worker()
1996 struct worker_pool *pool = worker->pool; in destroy_worker()
2016 struct worker_pool *pool = from_timer(pool, t, idle_timer); in idle_worker_timeout()
2064 struct worker_pool *pool = from_timer(pool, t, mayday_timer); in pool_mayday_timeout()
2105 static void maybe_create_worker(struct worker_pool *pool) in maybe_create_worker()
2160 struct worker_pool *pool = worker->pool; in manage_workers()
2195 struct worker_pool *pool = worker->pool; in process_one_work()
2390 struct worker_pool *pool = worker->pool; in worker_thread()
2524 struct worker_pool *pool = pwq->pool; in rescuer_thread()
2771 struct worker_pool *pool = pwq->pool; in flush_workqueue_prep_pwqs()
3016 struct worker_pool *pool; in start_flush_work()
3454 static int init_worker_pool(struct worker_pool *pool) in init_worker_pool()
3538 struct worker_pool *pool = container_of(rcu, struct worker_pool, rcu); in rcu_free_pool()
3546 static bool wq_manager_inactive(struct worker_pool *pool) in wq_manager_inactive()
3568 static void put_unbound_pool(struct worker_pool *pool) in put_unbound_pool()
3634 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs) in get_unbound_pool()
3637 struct worker_pool *pool; in get_unbound_pool()
3709 struct worker_pool *pool = pwq->pool; in pwq_unbound_release_workfn()
3799 struct worker_pool *pool) in init_pwq()
3840 struct worker_pool *pool; in alloc_unbound_pwq()
4218 struct worker_pool *cpu_pools = in alloc_and_link_pwqs()
4613 struct worker_pool *pool; in work_busy()
4706 static void pr_cont_pool_info(struct worker_pool *pool) in pr_cont_pool_info()
4730 struct worker_pool *pool = pwq->pool; in show_pwq()
4848 static void show_one_worker_pool(struct worker_pool *pool) in show_one_worker_pool()
4898 struct worker_pool *pool; in show_all_workqueues()
4929 struct worker_pool *pool = worker->pool; in wq_worker_comm()
4972 struct worker_pool *pool; in unbind_workers()
5035 static void rebind_workers(struct worker_pool *pool) in rebind_workers()
5106 static void restore_unbound_workers_cpumask(struct worker_pool *pool, int cpu) in restore_unbound_workers_cpumask()
5126 struct worker_pool *pool; in workqueue_prepare_cpu()
5139 struct worker_pool *pool; in workqueue_online_cpu()
5854 struct worker_pool *pool; in wq_watchdog_timer_fn()
6032 struct worker_pool *pool; in workqueue_init_early()
6098 struct worker_pool *pool; in workqueue_init()