Lines Matching refs:idle
245 static unsigned long idle;
258 if (now > next || ss->idle < idle)
266 idle = ss->idle;
447 strcpy(cmd + strlen(cmd), ".idle");
461 ss.idle = 4 * 60 * 60;
486 * find the min user idle time
492 * check idle command
509 ss.idle = strtol(buf, NiL, 10);
511 ss.idle = 0;
513 ss.idle = ~0;
514 else if (streq(buf, "idle"))
517 if ((ss.idle + n) < ss.idle) ss.idle = ~0;
518 else ss.idle += n;
525 ss.idle = ~0;
537 if (idlecmd <= 0 && v < ss.idle)
538 ss.idle = v;
544 * check devices for min idle time
556 if (idlecmd <= 0 && v < ss.idle)
557 ss.idle = v;