/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | util_pm.c | 160 time_t cur_time = time(NULL); local 168 if ((cur_time == battery_info->last_time) || (chargeLevel == battery_info->last_level)) { 174 chargeRate = ((chargeLevel - battery_info->last_level) * 60 * 60) / (cur_time - battery_info->last_time); 183 battery_info->last_time = cur_time; 191 battery_info->last_time = cur_time;
|
/illumos-gate/usr/src/lib/pam_modules/unix_session/ |
H A D | unix_session.c | 99 time_t cur_time; local 153 (void) time(&cur_time); 157 newll.ll_time = (time32_t)cur_time; 159 newll.ll_time = cur_time; 176 (void) ctime_r((const time_t *)&cur_time, buf,
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_probe.c | 1599 uint_t cur_time; local 1604 cur_time = ns2ms(cur_hrtime); 1622 if (check_time > cur_time) 1623 return (check_time - cur_time); 1640 if (TIME_LT(cur_time, pii->pii_snxt_time)) 1641 return (pii->pii_snxt_time - cur_time); 1666 if (TIME_GT(cur_time, pii->pii_snxt_time)) { 1669 n = (cur_time - pii->pii_snxt_time) / user_probe_interval; 1672 logtrace("missed sending %d probes cur_time %u snxt_time %u" 1673 " snxt_basetime %u\n", n + 1, cur_time, pi 2530 uint_t cur_time; local [all...] |
H A D | mpd_main.c | 104 uint_t cur_time; /* In ms */ local 111 cur_time = (uint_t)(gethrtime() / 1000000LL); 112 return (cur_time);
|
/illumos-gate/usr/src/cmd/fs.d/nfs/nfslog/ |
H A D | dbtab.c | 620 time_t cur_time = time(0); local 622 if (difftime(cur_time, fhrecp->atime) >= mapping_update_interval) { 623 fhrecp->atime = cur_time; 638 time_t cur_time = time(0); local 640 if (difftime(cur_time, linkp->atime) >= mapping_update_interval) { 641 linkp->atime = cur_time; 1813 time_t cur_time = time(0); local 1847 (difftime(cur_time, ptr->fhlist_rec.atime) <= 1882 if (links_timedout(pdb, pfe, cur_time)) {
|
H A D | nfslog_trans.c | 470 time_t cur_time = time(0); local 477 if (difftime(cur_time, tf->last_trans_read) >
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | kstat_fr.c | 661 hrtime_t cur_time; local 664 ksp->ks_snaptime = cur_time = gethrtime(); 708 hrtime_t wfix = cur_time - kiop->wlastupdate; 709 kiop->wlastupdate = cur_time; 716 hrtime_t rfix = cur_time - kiop->rlastupdate; 717 kiop->rlastupdate = cur_time;
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | tg3.c | 926 unsigned long link_time, cur_time; member in struct:tg3_fiber_aneginfo 962 ap->cur_time = 0; 969 ap->cur_time++; 1013 ap->cur_time = 0; 1027 ap->link_time = ap->cur_time; 1039 delta = ap->cur_time - ap->link_time; 1119 ap->link_time = ap->cur_time; 1138 delta = ap->cur_time - ap->link_time; 1154 ap->link_time = ap->cur_time; 1168 delta = ap->cur_time [all...] |
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prioctl.c | 1504 hrtime_t hrutime, hrstime, cur_time; local 1642 cur_time = gethrtime_unscaled(); 1644 pct += cpu_update_pct(t, cur_time); 3343 hrtime_t hrutime, hrstime, cur_time; local 3481 cur_time = gethrtime_unscaled(); 3483 pct += cpu_update_pct(t, cur_time);
|
H A D | prsubr.c | 2325 hrtime_t cur_time = gethrtime_unscaled(); local 2329 pct += cpu_update_pct(t, cur_time); 2457 hrtime_t cur_time; local 2460 cur_time = gethrtime_unscaled(); 2462 pct += cpu_update_pct(t, cur_time);
|
/illumos-gate/usr/src/uts/common/io/sata/impl/ |
H A D | sata.c | 10431 clock_t start_time, cur_time; local 10521 cur_time = ddi_get_lbolt(); 10522 if ((cur_time - start_time) < 10564 clock_t start_time, cur_time; local 10633 cur_time = ddi_get_lbolt(); 10634 if ((cur_time - start_time) < drv_usectohz( 11438 clock_t cur_time = ddi_get_lbolt(); local 11443 if ((cur_time - start_time) < 11675 clock_t cur_time = ddi_get_lbolt(); local 11680 if ((cur_time 11866 clock_t cur_time = ddi_get_lbolt(); local 18715 clock_t cur_time = ddi_get_lbolt(); local 18973 clock_t cur_time = ddi_get_lbolt(); local 19219 clock_t cur_time = ddi_get_lbolt(); local 19433 clock_t cur_time = ddi_get_lbolt(); local 19905 clock_t cur_time = ddi_get_lbolt(); local 20208 clock_t cur_time = ddi_get_lbolt(); local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_sm.c | 1266 hrtime_t cur_time; local 1279 cur_time = gethrtime(); 1284 (cur_time <= statep->stale_clock)) { 1339 "cur_time 0x%llX stale_clock 0x%llX", cur_time,
|