Lines Matching refs:worker_pool
144 struct worker_pool { struct
199 struct worker_pool *pool; /* I: the associated pool */ argument
308 static DEFINE_PER_CPU_SHARED_ALIGNED(struct worker_pool [NR_STD_WORKER_POOLS],
545 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id()
719 static struct worker_pool *get_work_pool(struct work_struct *work) in get_work_pool()
776 static bool __need_more_worker(struct worker_pool *pool) in __need_more_worker()
789 static bool need_more_worker(struct worker_pool *pool) in need_more_worker()
795 static bool may_start_working(struct worker_pool *pool) in may_start_working()
801 static bool keep_working(struct worker_pool *pool) in keep_working()
808 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker()
814 static bool too_many_workers(struct worker_pool *pool) in too_many_workers()
828 static struct worker *first_idle_worker(struct worker_pool *pool) in first_idle_worker()
845 static void wake_up_worker(struct worker_pool *pool) in wake_up_worker()
892 struct worker_pool *pool; in wq_worker_sleeping()
937 struct worker_pool *pool = worker->pool; in worker_set_flags()
962 struct worker_pool *pool = worker->pool; in worker_clr_flags()
1012 static struct worker *find_worker_executing_work(struct worker_pool *pool, in find_worker_executing_work()
1220 struct worker_pool *pool; in try_to_grab_pending()
1307 struct worker_pool *pool = pwq->pool; in insert_work()
1345 struct worker_pool *last_pool; in __queue_work()
1595 struct worker_pool *pool = worker->pool; in worker_enter_idle()
1635 struct worker_pool *pool = worker->pool; in worker_leave_idle()
1669 struct worker_pool *pool) in worker_attach_to_pool()
1702 struct worker_pool *pool) in worker_detach_from_pool()
1731 static struct worker *create_worker(struct worker_pool *pool) in create_worker()
1796 struct worker_pool *pool = worker->pool; in destroy_worker()
1816 struct worker_pool *pool = (void *)__pool; in idle_worker_timeout()
1864 struct worker_pool *pool = (void *)__pool; in pool_mayday_timeout()
1905 static void maybe_create_worker(struct worker_pool *pool) in maybe_create_worker()
1960 struct worker_pool *pool = worker->pool; in manage_workers()
2002 struct worker_pool *pool = worker->pool; in process_one_work()
2155 struct worker_pool *pool = worker->pool; in worker_thread()
2287 struct worker_pool *pool = pwq->pool; in rescuer_thread()
2482 struct worker_pool *pool = pwq->pool; in flush_workqueue_prep_pwqs()
2721 struct worker_pool *pool; in start_flush_work()
3141 static int init_worker_pool(struct worker_pool *pool) in init_worker_pool()
3190 struct worker_pool *pool = container_of(rcu, struct worker_pool, rcu); in rcu_free_pool()
3208 static void put_unbound_pool(struct worker_pool *pool) in put_unbound_pool()
3273 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs) in get_unbound_pool()
3276 struct worker_pool *pool; in get_unbound_pool()
3346 struct worker_pool *pool = pwq->pool; in pwq_unbound_release_workfn()
3419 struct worker_pool *pool) in init_pwq()
3460 struct worker_pool *pool; in alloc_unbound_pwq()
3812 struct worker_pool *cpu_pools = in alloc_and_link_pwqs()
4129 struct worker_pool *pool; in work_busy()
4227 static void pr_cont_pool_info(struct worker_pool *pool) in pr_cont_pool_info()
4251 struct worker_pool *pool = pwq->pool; in show_pwq()
4329 struct worker_pool *pool; in show_workqueue_state()
4405 struct worker_pool *pool; in wq_unbind_fn()
4462 static void rebind_workers(struct worker_pool *pool) in rebind_workers()
4541 static void restore_unbound_workers_cpumask(struct worker_pool *pool, int cpu) in restore_unbound_workers_cpumask()
4572 struct worker_pool *pool; in workqueue_cpu_up_callback()
5170 struct worker_pool *pool; in init_workqueues()
5189 struct worker_pool *pool; in init_workqueues()