Lines Matching refs:worker_pool

153 struct worker_pool {  struct
228 struct worker_pool *pool; /* I: the associated pool */
403 static DEFINE_PER_CPU_SHARED_ALIGNED(struct worker_pool [NR_STD_WORKER_POOLS], cpu_worker_pools);
441 static void show_one_worker_pool(struct worker_pool *pool);
614 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id()
764 static struct worker_pool *get_work_pool(struct work_struct *work) in get_work_pool()
827 static bool need_more_worker(struct worker_pool *pool) in need_more_worker()
833 static bool may_start_working(struct worker_pool *pool) in may_start_working()
839 static bool keep_working(struct worker_pool *pool) in keep_working()
845 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker()
851 static bool too_many_workers(struct worker_pool *pool) in too_many_workers()
869 struct worker_pool *pool = worker->pool; in worker_set_flags()
891 struct worker_pool *pool = worker->pool; in worker_clr_flags()
909 static struct worker *first_idle_worker(struct worker_pool *pool) in first_idle_worker()
929 struct worker_pool *pool = worker->pool; in worker_enter_idle()
962 struct worker_pool *pool = worker->pool; in worker_leave_idle()
1004 static struct worker *find_worker_executing_work(struct worker_pool *pool, in find_worker_executing_work()
1075 struct worker_pool *pool = worker->pool; in assign_work()
1105 static bool kick_pool(struct worker_pool *pool) in kick_pool()
1281 struct worker_pool *pool; in wq_worker_sleeping()
1328 struct worker_pool *pool = worker->pool; in wq_worker_tick()
1550 struct worker_pool *pool; in try_to_grab_pending()
1703 struct worker_pool *last_pool, *pool; in __queue_work()
2079 static cpumask_t *pool_allowed_cpus(struct worker_pool *pool) in pool_allowed_cpus()
2097 struct worker_pool *pool) in worker_attach_to_pool()
2130 struct worker_pool *pool = worker->pool; in worker_detach_from_pool()
2162 static struct worker *create_worker(struct worker_pool *pool) in create_worker()
2278 struct worker_pool *pool = worker->pool; in set_worker_dying()
2310 struct worker_pool *pool = from_timer(pool, t, idle_timer); in idle_worker_timeout()
2349 struct worker_pool *pool = container_of(work, struct worker_pool, idle_cull_work); in idle_cull_fn()
2407 struct worker_pool *pool = from_timer(pool, t, mayday_timer); in pool_mayday_timeout()
2448 static void maybe_create_worker(struct worker_pool *pool) in maybe_create_worker()
2503 struct worker_pool *pool = worker->pool; in manage_workers()
2538 struct worker_pool *pool = worker->pool; in process_one_work()
2729 struct worker_pool *pool = worker->pool; in worker_thread()
2853 struct worker_pool *pool = pwq->pool; in rescuer_thread()
3093 struct worker_pool *pool = pwq->pool; in flush_workqueue_prep_pwqs()
3338 struct worker_pool *pool; in start_flush_work()
3852 static int init_worker_pool(struct worker_pool *pool) in init_worker_pool()
3937 struct worker_pool *pool = container_of(rcu, struct worker_pool, rcu); in rcu_free_pool()
3955 static void put_unbound_pool(struct worker_pool *pool) in put_unbound_pool()
4041 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs) in get_unbound_pool()
4045 struct worker_pool *pool; in get_unbound_pool()
4107 struct worker_pool *pool = pwq->pool; in pwq_release_workfn()
4185 struct worker_pool *pool) in init_pwq()
4226 struct worker_pool *pool; in alloc_unbound_pwq()
4571 struct worker_pool *pool = in alloc_and_link_pwqs()
4981 struct worker_pool *pool; in work_busy()
5074 static void pr_cont_pool_info(struct worker_pool *pool) in pr_cont_pool_info()
5129 struct worker_pool *pool = pwq->pool; in show_pwq()
5250 static void show_one_worker_pool(struct worker_pool *pool) in show_one_worker_pool()
5303 struct worker_pool *pool; in show_all_workqueues()
5357 struct worker_pool *pool = worker->pool; in wq_worker_comm()
5400 struct worker_pool *pool; in unbind_workers()
5452 static void rebind_workers(struct worker_pool *pool) in rebind_workers()
5512 static void restore_unbound_workers_cpumask(struct worker_pool *pool, int cpu) in restore_unbound_workers_cpumask()
5532 struct worker_pool *pool; in workqueue_prepare_cpu()
5545 struct worker_pool *pool; in workqueue_online_cpu()
6332 static void show_cpu_pool_hog(struct worker_pool *pool) in show_cpu_pool_hog()
6361 struct worker_pool *pool; in show_cpu_pools_hogs()
6392 struct worker_pool *pool; in wq_watchdog_timer_fn()
6567 struct worker_pool *pool; in workqueue_init_early()
6673 struct worker_pool *pool; in workqueue_init()