Lines Matching refs:idle
79 WORKER_IDLE = 1 << 2, /* is idle */
93 MAX_IDLE_WORKERS_RATIO = 4, /* 1/4 of busy can be idle */
94 IDLE_WORKER_TIMEOUT = 300 * HZ, /* keep idle ones for 5 mins */
160 int nr_idle; /* L: currently idle workers */
162 struct list_head idle_list; /* X: list of idle workers */
163 struct timer_list idle_timer; /* L: worker idle timeout */
808 int nr_idle = pool->nr_idle + managing; /* manager is considered idle */
818 /* Return the first idle worker. Safe with preemption disabled */
828 * wake_up_worker - wake up an idle worker
831 * Wake up the first idle worker of @pool.
1225 * stable state - idle, on timer or on worklist.
1231 * 0 if @work was idle and we claimed PENDING
1676 * @delay is zero and @dwork is idle, it will be scheduled for immediate
1706 * If @dwork is idle, equivalent to queue_delayed_work_on(); otherwise,
1711 * Return: %false if @dwork was idle and queued, %true if @dwork was
1772 * worker_enter_idle - enter idle state
1773 * @worker: worker which is entering idle state
1775 * @worker is entering idle state. Update stats and idle timer if
1813 * worker_leave_idle - leave idle state
1814 * @worker: worker which is leaving idle state
1816 * @worker is leaving idle state. Update stats.
1841 /* on creation a worker is in !idle && prep state */
1974 * be idle.
2077 * have at least one idle worker on return from this function. If
2411 * Finish PREP stage. We're guaranteed to have at least one idle
3069 * Wait until @work has finished execution. @work is guaranteed to be idle
3074 * %false if it was already idle.
3194 * %false if it was already idle.
3212 * %false if it was already idle.
4801 bool idle = true;
4805 idle = false;
4809 if (idle)
4848 pr_cont(" %s%d", first ? "idle: " : "",
4988 * Restore CPU affinity of all workers. As all idle workers should
5006 * A bound idle worker should actually be on the runqueue
5008 * work. Kick all idle workers so that they migrate to the