| /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/uts/intel/io/dktp/controller/ata/ |
| H A D | fsm.txt | 49 State | idle cdb datain dataout status 51 idle | cmd cmd cmd cmd cmd 63 State | idle cdb datain dataout status 65 idle | command command command command command 67 cdb | * * datain dataout (idle) 68 datain | * * datain * (idle) 69 dataout | * * * dataout (idle)
|
| /illumos-gate/usr/src/cmd/dtrace/test/tst/i86xpv/xdt/ |
| H A D | tst.schedenable.ksh | 57 xdt:sched::idle-off-cpu, 58 xdt:sched::idle-on-cpu,
|
| /illumos-gate/usr/src/cmd/pgstat/ |
| H A D | pgstat.pl | 101 my @sort_keys = qw(pg hwload swload user sys idle depth breadth); 509 my ($user, $sys, $idle, $swload) = 512 # Adjust idle and swload based on rounding 513 ($swload, $idle) = get_swload($user, $sys); 520 $pgs{$pg}->{idle} = $idle; 531 $history->{$pg}->{idle} += $idle if $idle; 582 my $idle [all...] |
| /illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/ |
| H A D | Pg.pm | 556 my $idle = 0; 567 $idle += $ld2->{cpu_idle} - $ld1->{cpu_idle}; 572 $total = $idle + $user + $sys; 578 $idle = $idle * 100 / $total; 582 return (wantarray() ? ($user, $sys, $idle, $swload) : $swload); 598 my $idle = 0; 674 $idle = $ld2->{cpu_idle} - $ld1->{cpu_idle}; 678 $swtotal = $idle + $user + $sys; 684 $idle [all...] |
| /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/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/sun4u/starcat/ml/ |
| H A D | drmach_asm.s | 202 ! Macro to check if a Panther MC is idle. The EMU Activity 205 ! to verify the MCU is indeed idle. A single non-idle status 206 ! will fail the idle check. This could be made more lenient 211 ! 0 is returned in this register if MCU is idle and 413 ! [%o1] = 1 if failed to idle memory controller, otherwise unmodified. 439 ! does not go idle. See the parameter description above. 445 ! ASI_IO to drain/idle the MCs on other Panther procs. The 447 ! an error code if a MC fails to go idle. This section will 486 mov 1, %o1 ! not idle, bailou [all...] |
| /illumos-gate/usr/src/uts/sun4/os/ |
| H A D | mp_startup.c | 289 extern void idle(); 373 * Now, initialize per-CPU idle thread for this CPU. 375 tp = thread_create(NULL, 0, idle, NULL, 0, &p0, TS_ONPROC, -1); 389 * blocking idle thread while registering itself. It also 391 * restarts its idle thread. 393 CALLB_CPR_INIT_SAFE(tp, "idle"); 474 * special per-cpu threads: it's idle thread, it's pause thread, 548 extern void idle(); 561 * idle thread t_lock is held when the idle threa [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/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/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/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/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/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/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/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/sun4/ml/ |
| H A D | swtch.s | 162 ! Temporarily switch to idle thread's stack 164 ldn [%i1 + CPU_IDLE_THREAD], %o0 ! idle thread pointer 165 ldn [%o0 + T_SP], %o1 ! get onto idle thread stack 170 ! Set the idle thread as the current thread 173 mov %o0, THREAD_REG ! set %g7 to idle 174 stn %o0, [%i1 + CPU_THREAD] ! set CPU's thread to idle 189 ! Here we are in the idle thread, have dropped the old thread. 480 ! Temporarily switch to the idle thread's stack so that 483 ldn [%i1 + CPU_IDLE_THREAD], %o2 ! idle thread pointer 484 ldn [%o2 + T_SP], %o1 ! get onto idle threa [all...] |
| /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/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/uts/common/inet/ip/ |
| H A D | sadb.c | 816 sadb_lifetime_t *idle) 841 if (idle != NULL) { 843 idle->sadb_lifetime_addtime != 0 && 844 hard->sadb_lifetime_addtime < idle->sadb_lifetime_addtime) 848 idle->sadb_lifetime_addtime != 0 && 849 soft->sadb_lifetime_addtime < idle->sadb_lifetime_addtime) 853 idle->sadb_lifetime_usetime != 0 && 854 hard->sadb_lifetime_usetime < idle->sadb_lifetime_usetime) 858 idle->sadb_lifetime_usetime != 0 && 859 soft->sadb_lifetime_usetime < idle 815 sadb_hardsoftchk(sadb_lifetime_t *hard, sadb_lifetime_t *soft, sadb_lifetime_t *idle) argument 1101 boolean_t idle; local 2928 sadb_lifetime_t *idle = local 4267 sadb_update_lifetimes(ipsa_t *assoc, sadb_lifetime_t *hard, sadb_lifetime_t *soft, sadb_lifetime_t *idle, boolean_t outbound) argument 4493 sadb_lifetime_t *idle = local [all...] |
| /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/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/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...] |