Lines Matching refs:worker_pool
146 struct worker_pool { struct
199 struct worker_pool *pool; /* I: the associated pool */ argument
325 static DEFINE_PER_CPU_SHARED_ALIGNED(struct worker_pool [NR_STD_WORKER_POOLS], cpu_worker_pools);
533 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id()
707 static struct worker_pool *get_work_pool(struct work_struct *work) in get_work_pool()
764 static bool __need_more_worker(struct worker_pool *pool) in __need_more_worker()
777 static bool need_more_worker(struct worker_pool *pool) in need_more_worker()
783 static bool may_start_working(struct worker_pool *pool) in may_start_working()
789 static bool keep_working(struct worker_pool *pool) in keep_working()
796 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker()
802 static bool too_many_workers(struct worker_pool *pool) in too_many_workers()
816 static struct worker *first_idle_worker(struct worker_pool *pool) in first_idle_worker()
833 static void wake_up_worker(struct worker_pool *pool) in wake_up_worker()
879 struct worker_pool *pool; in wq_worker_sleeping()
924 struct worker_pool *pool = worker->pool; in worker_set_flags()
949 struct worker_pool *pool = worker->pool; in worker_clr_flags()
999 static struct worker *find_worker_executing_work(struct worker_pool *pool, in find_worker_executing_work()
1209 struct worker_pool *pool; in try_to_grab_pending()
1296 struct worker_pool *pool = pwq->pool; in insert_work()
1367 struct worker_pool *last_pool; in __queue_work()
1651 struct worker_pool *pool = worker->pool; in worker_enter_idle()
1691 struct worker_pool *pool = worker->pool; in worker_leave_idle()
1725 struct worker_pool *pool) in worker_attach_to_pool()
1759 struct worker_pool *pool = worker->pool; in worker_detach_from_pool()
1790 static struct worker *create_worker(struct worker_pool *pool) in create_worker()
1852 struct worker_pool *pool = worker->pool; in destroy_worker()
1872 struct worker_pool *pool = from_timer(pool, t, idle_timer); in idle_worker_timeout()
1920 struct worker_pool *pool = from_timer(pool, t, mayday_timer); in pool_mayday_timeout()
1961 static void maybe_create_worker(struct worker_pool *pool) in maybe_create_worker()
2016 struct worker_pool *pool = worker->pool; in manage_workers()
2051 struct worker_pool *pool = worker->pool; in process_one_work()
2241 struct worker_pool *pool = worker->pool; in worker_thread()
2375 struct worker_pool *pool = pwq->pool; in rescuer_thread()
2608 struct worker_pool *pool = pwq->pool; in flush_workqueue_prep_pwqs()
2853 struct worker_pool *pool; in start_flush_work()
3288 static int init_worker_pool(struct worker_pool *pool) in init_worker_pool()
3333 struct worker_pool *pool = container_of(rcu, struct worker_pool, rcu); in rcu_free_pool()
3351 static void put_unbound_pool(struct worker_pool *pool) in put_unbound_pool()
3416 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs) in get_unbound_pool()
3419 struct worker_pool *pool; in get_unbound_pool()
3491 struct worker_pool *pool = pwq->pool; in pwq_unbound_release_workfn()
3566 struct worker_pool *pool) in init_pwq()
3607 struct worker_pool *pool; in alloc_unbound_pwq()
3982 struct worker_pool *cpu_pools = in alloc_and_link_pwqs()
4338 struct worker_pool *pool; in work_busy()
4431 static void pr_cont_pool_info(struct worker_pool *pool) in pr_cont_pool_info()
4455 struct worker_pool *pool = pwq->pool; in show_pwq()
4533 struct worker_pool *pool; in show_workqueue_state()
4620 struct worker_pool *pool = worker->pool; in wq_worker_comm()
4663 struct worker_pool *pool; in unbind_workers()
4720 static void rebind_workers(struct worker_pool *pool) in rebind_workers()
4789 static void restore_unbound_workers_cpumask(struct worker_pool *pool, int cpu) in restore_unbound_workers_cpumask()
4809 struct worker_pool *pool; in workqueue_prepare_cpu()
4822 struct worker_pool *pool; in workqueue_online_cpu()
5527 struct worker_pool *pool; in wq_watchdog_timer_fn()
5702 struct worker_pool *pool; in workqueue_init_early()
5770 struct worker_pool *pool; in workqueue_init()