Lines Matching refs:worker_pool

147 struct worker_pool {  struct
200 struct worker_pool *pool; /* I: the associated pool */ argument
329 static DEFINE_PER_CPU_SHARED_ALIGNED(struct worker_pool [NR_STD_WORKER_POOLS], cpu_worker_pools);
532 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id()
706 static struct worker_pool *get_work_pool(struct work_struct *work) in get_work_pool()
763 static bool __need_more_worker(struct worker_pool *pool) in __need_more_worker()
776 static bool need_more_worker(struct worker_pool *pool) in need_more_worker()
782 static bool may_start_working(struct worker_pool *pool) in may_start_working()
788 static bool keep_working(struct worker_pool *pool) in keep_working()
795 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker()
801 static bool too_many_workers(struct worker_pool *pool) in too_many_workers()
815 static struct worker *first_idle_worker(struct worker_pool *pool) in first_idle_worker()
832 static void wake_up_worker(struct worker_pool *pool) in wake_up_worker()
868 struct worker_pool *pool; in wq_worker_sleeping()
950 struct worker_pool *pool = worker->pool; in worker_set_flags()
975 struct worker_pool *pool = worker->pool; in worker_clr_flags()
1025 static struct worker *find_worker_executing_work(struct worker_pool *pool, in find_worker_executing_work()
1238 struct worker_pool *pool; in try_to_grab_pending()
1328 struct worker_pool *pool = pwq->pool; in insert_work()
1399 struct worker_pool *last_pool; in __queue_work()
1770 struct worker_pool *pool = worker->pool; in worker_enter_idle()
1810 struct worker_pool *pool = worker->pool; in worker_leave_idle()
1844 struct worker_pool *pool) in worker_attach_to_pool()
1878 struct worker_pool *pool = worker->pool; in worker_detach_from_pool()
1909 static struct worker *create_worker(struct worker_pool *pool) in create_worker()
1971 struct worker_pool *pool = worker->pool; in destroy_worker()
1991 struct worker_pool *pool = from_timer(pool, t, idle_timer); in idle_worker_timeout()
2039 struct worker_pool *pool = from_timer(pool, t, mayday_timer); in pool_mayday_timeout()
2080 static void maybe_create_worker(struct worker_pool *pool) in maybe_create_worker()
2135 struct worker_pool *pool = worker->pool; in manage_workers()
2170 struct worker_pool *pool = worker->pool; in process_one_work()
2363 struct worker_pool *pool = worker->pool; in worker_thread()
2497 struct worker_pool *pool = pwq->pool; in rescuer_thread()
2736 struct worker_pool *pool = pwq->pool; in flush_workqueue_prep_pwqs()
2981 struct worker_pool *pool; in start_flush_work()
3419 static int init_worker_pool(struct worker_pool *pool) in init_worker_pool()
3503 struct worker_pool *pool = container_of(rcu, struct worker_pool, rcu); in rcu_free_pool()
3511 static bool wq_manager_inactive(struct worker_pool *pool) in wq_manager_inactive()
3533 static void put_unbound_pool(struct worker_pool *pool) in put_unbound_pool()
3599 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs) in get_unbound_pool()
3602 struct worker_pool *pool; in get_unbound_pool()
3674 struct worker_pool *pool = pwq->pool; in pwq_unbound_release_workfn()
3751 struct worker_pool *pool) in init_pwq()
3792 struct worker_pool *pool; in alloc_unbound_pwq()
4170 struct worker_pool *cpu_pools = in alloc_and_link_pwqs()
4565 struct worker_pool *pool; in work_busy()
4658 static void pr_cont_pool_info(struct worker_pool *pool) in pr_cont_pool_info()
4682 struct worker_pool *pool = pwq->pool; in show_pwq()
4761 struct worker_pool *pool; in show_workqueue_state()
4848 struct worker_pool *pool = worker->pool; in wq_worker_comm()
4891 struct worker_pool *pool; in unbind_workers()
4948 static void rebind_workers(struct worker_pool *pool) in rebind_workers()
5017 static void restore_unbound_workers_cpumask(struct worker_pool *pool, int cpu) in restore_unbound_workers_cpumask()
5037 struct worker_pool *pool; in workqueue_prepare_cpu()
5050 struct worker_pool *pool; in workqueue_online_cpu()
5757 struct worker_pool *pool; in wq_watchdog_timer_fn()
5932 struct worker_pool *pool; in workqueue_init_early()
5998 struct worker_pool *pool; in workqueue_init()