Lines Matching defs:pool
199 struct worker_pool *pool; /* I: the associated pool */ member
356 #define for_each_cpu_worker_pool(pool, cpu) \ argument
373 #define for_each_pool(pool, pi) \ argument
388 #define for_each_pool_worker(worker, pool) \ argument
540 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id()
771 static bool __need_more_worker(struct worker_pool *pool) in __need_more_worker()
784 static bool need_more_worker(struct worker_pool *pool) in need_more_worker()
790 static bool may_start_working(struct worker_pool *pool) in may_start_working()
796 static bool keep_working(struct worker_pool *pool) in keep_working()
803 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker()
809 static bool too_many_workers(struct worker_pool *pool) in too_many_workers()
823 static struct worker *first_idle_worker(struct worker_pool *pool) in first_idle_worker()
840 static void wake_up_worker(struct worker_pool *pool) in wake_up_worker()
887 struct worker_pool *pool; in wq_worker_sleeping() local
932 struct worker_pool *pool = worker->pool; in worker_set_flags() local
957 struct worker_pool *pool = worker->pool; in worker_clr_flags() local
1007 static struct worker *find_worker_executing_work(struct worker_pool *pool, in find_worker_executing_work()
1215 struct worker_pool *pool; in try_to_grab_pending() local
1302 struct worker_pool *pool = pwq->pool; in insert_work() local
1590 struct worker_pool *pool = worker->pool; in worker_enter_idle() local
1630 struct worker_pool *pool = worker->pool; in worker_leave_idle() local
1664 struct worker_pool *pool) in worker_attach_to_pool()
1697 struct worker_pool *pool) in worker_detach_from_pool()
1726 static struct worker *create_worker(struct worker_pool *pool) in create_worker()
1789 struct worker_pool *pool = worker->pool; in destroy_worker() local
1809 struct worker_pool *pool = (void *)__pool; in idle_worker_timeout() local
1857 struct worker_pool *pool = (void *)__pool; in pool_mayday_timeout() local
1898 static void maybe_create_worker(struct worker_pool *pool) in maybe_create_worker()
1953 struct worker_pool *pool = worker->pool; in manage_workers() local
1995 struct worker_pool *pool = worker->pool; in process_one_work() local
2148 struct worker_pool *pool = worker->pool; in worker_thread() local
2280 struct worker_pool *pool = pwq->pool; in rescuer_thread() local
2475 struct worker_pool *pool = pwq->pool; in flush_workqueue_prep_pwqs() local
2714 struct worker_pool *pool; in start_flush_work() local
3104 static int init_worker_pool(struct worker_pool *pool) in init_worker_pool()
3153 struct worker_pool *pool = container_of(rcu, struct worker_pool, rcu); in rcu_free_pool() local
3171 static void put_unbound_pool(struct worker_pool *pool) in put_unbound_pool()
3239 struct worker_pool *pool; in get_unbound_pool() local
3311 struct worker_pool *pool = pwq->pool; in pwq_unbound_release_workfn() local
3384 struct worker_pool *pool) in init_pwq()
3425 struct worker_pool *pool; in alloc_unbound_pwq() local
4109 struct worker_pool *pool; in work_busy() local
4207 static void pr_cont_pool_info(struct worker_pool *pool) in pr_cont_pool_info()
4231 struct worker_pool *pool = pwq->pool; in show_pwq() local
4309 struct worker_pool *pool; in show_workqueue_state() local
4385 struct worker_pool *pool; in wq_unbind_fn() local
4442 static void rebind_workers(struct worker_pool *pool) in rebind_workers()
4521 static void restore_unbound_workers_cpumask(struct worker_pool *pool, int cpu) in restore_unbound_workers_cpumask()
4552 struct worker_pool *pool; in workqueue_cpu_up_callback() local
5281 struct worker_pool *pool; in init_workqueues() local
5300 struct worker_pool *pool; in init_workqueues() local