Lines Matching refs:idle
68 static sbintime_t getnextcpuevent(int idle);
105 static u_int idletick; /* Run periodic events when idle. */
107 0, "Run periodic events when idle");
126 int idle; /* This CPU is in idle mode. */
219 state->idle = 0;
232 getnextcpuevent(int idle)
239 /* Handle hardclock() events, skipping some if CPU is idle. */
241 if (idle) {
255 if (!idle) { /* If CPU is active - handle other types of events. */
758 * Switch to idle mode (all ticks handled).
778 CTR3(KTR_SPARE2, "idle at %d: now %d.%08x",
782 state->idle = 1;
801 if (state->idle == 0 || busy)
965 "CPU %2d: action %d handle %d ipi %d idle %d\n"
970 c, st->action, st->handle, st->ipi, st->idle,