Lines Matching refs:worker_pool
147 struct worker_pool { struct
200 struct worker_pool *pool; /* I: the associated pool */ argument
328 static DEFINE_PER_CPU_SHARED_ALIGNED(struct worker_pool [NR_STD_WORKER_POOLS], cpu_worker_pools);
536 static int worker_pool_assign_id(struct worker_pool *pool) in worker_pool_assign_id()
710 static struct worker_pool *get_work_pool(struct work_struct *work) in get_work_pool()
767 static bool __need_more_worker(struct worker_pool *pool) in __need_more_worker()
780 static bool need_more_worker(struct worker_pool *pool) in need_more_worker()
786 static bool may_start_working(struct worker_pool *pool) in may_start_working()
792 static bool keep_working(struct worker_pool *pool) in keep_working()
799 static bool need_to_create_worker(struct worker_pool *pool) in need_to_create_worker()
805 static bool too_many_workers(struct worker_pool *pool) in too_many_workers()
819 static struct worker *first_idle_worker(struct worker_pool *pool) in first_idle_worker()
836 static void wake_up_worker(struct worker_pool *pool) in wake_up_worker()
871 struct worker_pool *pool; in wq_worker_sleeping()
952 struct worker_pool *pool = worker->pool; in worker_set_flags()
977 struct worker_pool *pool = worker->pool; in worker_clr_flags()
1027 static struct worker *find_worker_executing_work(struct worker_pool *pool, in find_worker_executing_work()
1237 struct worker_pool *pool; in try_to_grab_pending()
1327 struct worker_pool *pool = pwq->pool; in insert_work()
1398 struct worker_pool *last_pool; in __queue_work()
1767 struct worker_pool *pool = worker->pool; in worker_enter_idle()
1807 struct worker_pool *pool = worker->pool; in worker_leave_idle()
1841 struct worker_pool *pool) in worker_attach_to_pool()
1875 struct worker_pool *pool = worker->pool; in worker_detach_from_pool()
1906 static struct worker *create_worker(struct worker_pool *pool) in create_worker()
1968 struct worker_pool *pool = worker->pool; in destroy_worker()
1988 struct worker_pool *pool = from_timer(pool, t, idle_timer); in idle_worker_timeout()
2036 struct worker_pool *pool = from_timer(pool, t, mayday_timer); in pool_mayday_timeout()
2077 static void maybe_create_worker(struct worker_pool *pool) in maybe_create_worker()
2132 struct worker_pool *pool = worker->pool; in manage_workers()
2167 struct worker_pool *pool = worker->pool; in process_one_work()
2360 struct worker_pool *pool = worker->pool; in worker_thread()
2494 struct worker_pool *pool = pwq->pool; in rescuer_thread()
2727 struct worker_pool *pool = pwq->pool; in flush_workqueue_prep_pwqs()
2972 struct worker_pool *pool; in start_flush_work()
3410 static int init_worker_pool(struct worker_pool *pool) in init_worker_pool()
3495 struct worker_pool *pool = container_of(rcu, struct worker_pool, rcu); in rcu_free_pool()
3513 static void put_unbound_pool(struct worker_pool *pool) in put_unbound_pool()
3578 static struct worker_pool *get_unbound_pool(const struct workqueue_attrs *attrs) in get_unbound_pool()
3581 struct worker_pool *pool; in get_unbound_pool()
3653 struct worker_pool *pool = pwq->pool; in pwq_unbound_release_workfn()
3730 struct worker_pool *pool) in init_pwq()
3771 struct worker_pool *pool; in alloc_unbound_pwq()
4149 struct worker_pool *cpu_pools = in alloc_and_link_pwqs()
4515 struct worker_pool *pool; in work_busy()
4608 static void pr_cont_pool_info(struct worker_pool *pool) in pr_cont_pool_info()
4632 struct worker_pool *pool = pwq->pool; in show_pwq()
4710 struct worker_pool *pool; in show_workqueue_state()
4797 struct worker_pool *pool = worker->pool; in wq_worker_comm()
4840 struct worker_pool *pool; in unbind_workers()
4897 static void rebind_workers(struct worker_pool *pool) in rebind_workers()
4966 static void restore_unbound_workers_cpumask(struct worker_pool *pool, int cpu) in restore_unbound_workers_cpumask()
4986 struct worker_pool *pool; in workqueue_prepare_cpu()
4999 struct worker_pool *pool; in workqueue_online_cpu()
5706 struct worker_pool *pool; in wq_watchdog_timer_fn()
5881 struct worker_pool *pool; in workqueue_init_early()
5949 struct worker_pool *pool; in workqueue_init()