/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | minconn.c | 19 "Set minimum connect time before idle timeout applies" }, 23 static int my_get_idle(struct ppp_idle *idle) argument 27 if (idle == NULL) 29 t = idle->xmit_idle; 30 if (idle->recv_idle < t) 31 t = idle->recv_idle;
|
/illumos-gate/usr/src/cmd/who/ |
H A D | who.c | 481 time_t idle; local 570 * Stat device for idle time 582 idle = timnow - stbufp->st_mtime; 583 hr = idle/3600; 584 min = (unsigned)(idle/60)%60;
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zio_inject.c | 484 * idle the soonest, so we compare the soonest this 493 * lane that will become idle the soonest). This saves a 498 * lane is idle, we want to "submit" the request now so 503 * zi_timer milliseconds after the lane becomes idle. 505 * each lane will become idle, we use that value to 508 hrtime_t idle = handler->zi_record.zi_timer + gethrtime(); local 511 hrtime_t target = MAX(idle, busy); 540 * the lane that will become idle the soonest.
|
/illumos-gate/usr/src/lib/libresolv2/common/isc/ |
H A D | ev_timers.c | 478 struct timespec idle; local 483 idle = evSubTime(ctx->lastEventTime, this->lastTouched); 484 if (evCmpTime(idle, this->max_idle) >= 0) { 495 this->timer->inter = evSubTime(this->max_idle, idle);
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rusers.c | 63 int idle; /* set to INT_MAX if not present */ member in struct:entry 72 static int iflag; /* idle: sort by idle time */ 354 entry[curentry].idle = minidle; 478 entry[curentry].idle = minidle; 530 return (a->idle - b->idle);
|
/illumos-gate/usr/src/cmd/w/ |
H A D | w.c | 142 static time_t idle; /* number of minutes user is idle */ variable 311 "login@ idle JCPU PCPU what\n", 315 "User tty idle what\n", 507 /* print idle time */ 508 idle = findidle(ut->ut_line); 509 prttime(idle, 8); 705 * find & return number of minutes current tty has been idle
|
/illumos-gate/usr/src/cmd/isns/isnsd/ |
H A D | esi.c | 438 /* wake up the idle */ 536 /* interrupt idle */ 616 * wake up the idle so the stopwatch gets updated. 630 /* not re-schedule, wake up idle */ 862 * Check the wakeup flag of an ESI event. The idle might need to 1052 * idle: 1055 * t - the idle time. 1056 * return - the time that idle left. 1061 idle( function 1081 /* hold the mutex for idle conditio [all...] |
/illumos-gate/usr/src/lib/libsasl/include/ |
H A D | saslplug.h | 409 * or idle period. conn_context may be NULL 412 int (*idle)(void *glob_context, member in struct:sasl_client_plug 688 * or idle period. conn_context may be NULL (optional) 691 int (*idle)(void *glob_context, member in struct:sasl_server_plug
|
/illumos-gate/usr/src/cmd/whodo/ |
H A D | whodo.c | 146 static time_t idle; /* number of minutes user is idle */ variable 285 "login@ idle JCPU PCPU what\n", 484 /* print idle time */ 485 idle = findidle(ut->ut_line); 486 prttime(idle, 8); 796 * find & return number of minutes current tty has been idle
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | disp.c | 80 /* platform-specific routine to call when processor is idle */ 84 /* routines invoked when a CPU enters/exits the idle loop */ 497 * See if there's anything to do other than remain idle. 528 * If we encounter another idle CPU that will 541 * - The CPU isn't running the idle loop. 554 * Called when CPU enters the idle loop 567 * Called when CPU exits the idle loop 582 idle() function 590 * Uniprocessor version of idle loop. 605 * Multiprocessor idle loo [all...] |
/illumos-gate/usr/src/uts/common/sys/scsi/generic/ |
H A D | mode.h | 397 idle :1, /* idle bit */ member in struct:mode_info_power_cond 401 idle :1, /* idle bit */ member in struct:mode_info_power_cond
|
/illumos-gate/usr/src/uts/sun/sys/ |
H A D | socalreg.h | 125 uint_t idle:1; /* SOC+ idle indicator. */ member in struct:socal_csr_register::csr
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 127 static int *readmissp; /* number of times writer was idle */ 128 static int *idle; /* number of times slaves were idle */ variable 297 idle = readmissp + 1; 343 (*idle) = 0; 1942 (*idle)++;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | finger.c | 48 * idle time and location. 63 * finger -i {quick list of users with idle times} 68 * finger -i {forces "idle" output format} 122 time_t idletime; /* how long idle (if logged in) */ 138 int idle = 0; /* -i option default */ variable 217 idle = 1; 242 if (unquick || idle) 471 if (idle) 553 * and idle time if idle i [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 140 /* Hook to enable a plugin to control the idle time limit */ 886 * check_idle - check whether the link has been idle for long 894 struct ppp_idle idle; local 898 if (!get_idle_time(0, &idle)) 901 tlim = (*idle_time_hook)(&idle); 903 itime = MIN(idle.xmit_idle, idle.recv_idle); 907 /* link is idle: shut it down. */
|
/illumos-gate/usr/src/uts/i86pc/io/fipe/ |
H A D | fipe_pm.c | 81 /* Number of IOAT commands posted when entering idle. */ 168 * Solaris idle thread has no reentrance issue, so it's enough to count CPUs 169 * in idle state. Otherwise cpuset_t bitmap should be used to track idle CPUs. 449 * To enable FBDIMM idle power enhancement mechanism, IOAT will be used to 1086 /* Register idle state notification callback. */ 1387 * and then enters into idle state within a short period. 1465 hrtime_t idle, busy, diff; local 1472 /* Calculate idle percent. */ 1473 idle [all...] |
/illumos-gate/usr/src/cmd/stat/iostat/ |
H A D | iostat.c | 948 "\t\t\tin user/system/dtrace/idle mode\n" 1569 uint64_t idle; local 1584 idle = kstat_delta(oldks, &newss->s_sys.ss_agg_sys, "cpu_ticks_idle"); 1593 idle * percent);
|
/illumos-gate/usr/src/lib/libzonestat/common/ |
H A D | libzonestat.c | 1027 timestruc_t tot, time, idle; local 1032 TIMESTRUC_DELTA(idle, time, tot); 1033 *ts = idle; 1062 timestruc_t tot, idle; local 1066 TIMESTRUC_DELTA(idle, pset->zsp_total_time, tot); 1068 return (zs_ts_used_pct(&pset->zsp_total_time, &idle, B_TRUE)); 1099 timestruc_t tot, idle; local 1103 TIMESTRUC_DELTA(idle, pset->zsp_total_time, tot); 1252 timestruc_t tot, time, idle; local 1259 TIMESTRUC_DELTA(idle, tim 1279 timestruc_t tot, idle; local 1344 timestruc_t tot, idle; local [all...] |
/illumos-gate/usr/src/lib/libipsecutil/common/ |
H A D | ipsec_util.c | 1876 struct sadb_lifetime *idle, boolean_t vflag) 1907 if (idle != NULL && 1908 idle->sadb_lifetime_len != SADB_8TO64(sizeof (*idle))) { 1911 SADB_64TO8(idle->sadb_lifetime_len)); 2101 if (idle != NULL) { 2106 idle_prefix, idle->sadb_lifetime_addtime, 2107 secs2out(idle->sadb_lifetime_addtime, secs_str, 2111 idle_prefix, idle->sadb_lifetime_usetime, 2112 secs2out(idle 1874 print_lifetimes(FILE *file, time_t wallclock, struct sadb_lifetime *current, struct sadb_lifetime *hard, struct sadb_lifetime *soft, struct sadb_lifetime *idle, boolean_t vflag) argument [all...] |
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | ns83820.c | 396 long idle; member in struct:ns83820_private 506 ns->idle = 1;
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ipseckey.c | 1654 struct sadb_lifetime *idle = NULL; local 2563 if (idle == NULL) { 2564 idle = calloc(1, sizeof (*idle)); 2565 if (idle == NULL) { 2566 Bail("malloc idle lifetime"); 2568 idle->sadb_lifetime_exttype = 2570 idle->sadb_lifetime_len = 2571 SADB_8TO64(sizeof (*idle)); 2572 totallen += sizeof (*idle); [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ipsecah.c | 1050 sadb_lifetime_t *idle = local 1101 if ((*diagnostic = sadb_hardsoftchk(hard, soft, idle)) != 0)
|
H A D | ipsecesp.c | 3584 sadb_lifetime_t *idle = local 3650 if ((*diagnostic = sadb_hardsoftchk(hard, soft, idle)) != 0) {
|
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 312 static int idle(long); 444 * event to be executed is being run at the wrong time, or when idle() 562 * from idle() 564 if (idle(ne_time) || reset_needed) { 2047 * To make sure a usr structure is idle we must check that 2573 * Main idle loop. 2578 idle(long t) function 2616 * This used to be in the idle(), but moved to the separate function. 2835 * immediately after cron read the message from pipe, or idle time
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 1547 uint64_t idle, intr, kern, user; local 1568 idle = knp->value.ui64; 1587 cpu->zsc_nsec_idle = idle; 1609 idle = intr = kern = user = 0; 1611 idle = cpu->zsc_nsec_idle - cpu->zsc_nsec_idle_prev; 1623 TIMESTRUC_ADD_NANOSEC(cpu->zsc_idle, idle); 1636 TIMESTRUC_ADD_NANOSEC(pset->zsp_idle, idle); 1645 TIMESTRUC_ADD_NANOSEC(pset_prev->zsp_idle, idle / 2); 1651 (idle / 2) + (idle [all...] |