Lines Matching defs:manager
224 /* a workers is either on busy_hash or idle_list, or the manager */
228 struct worker *manager; /* L: purely informational */
461 /* wait for manager to go away */
967 /* Do we need a new worker? Called from manager. */
977 int nr_idle = pool->nr_idle + managing; /* manager is considered idle */
3088 * manager.
3150 * Assume the manager role and manage the worker pool @worker belongs
3151 * to. At any given time, there can be only zero or one manager per
3176 pool->manager = worker;
3180 pool->manager = NULL;
3453 * worker or that someone else has already assumed the manager
5061 * Become the manager and destroy all workers. This prevents
5063 * manager and @pool gets freed with the flag set.
5065 * Having a concurrent manager is quite unlikely to happen as we can
5069 * become the manager. However a worker could have taken the role of
5070 * manager before the refcnts dropped to 0, since maybe_create_worker()
6551 if (pool->manager)
6552 pr_cont(" manager: %d",
6553 task_pid_nr(pool->manager->task));