Home
last modified time | relevance | path

Searched refs:now (Results 1 – 25 of 719) sorted by last modified time

12345678910>>...29

/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm.c2201 const hrtime_t now = gethrtime(); in vm_suspend() local
2202 if (atomic_cmpset_long((ulong_t *)&vm->suspend_when, 0, now) == 0) { in vm_suspend()
3634 const hrtime_t now = gethrtime(); in vcpu_ustate_change() local
3643 const hrtime_t delta = now - vcpu->ustate_when; in vcpu_ustate_change()
3648 vcpu->ustate_when = now; in vcpu_ustate_change()
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_cots.c802 clock_t ticks, now; in clnt_cots_kcallit() local
1281 now = ddi_get_lbolt(); in clnt_cots_kcallit()
1288 RPCLOG(1, "signal interrupted at %ld", now); in clnt_cots_kcallit()
1294 now); in clnt_cots_kcallit()
/illumos-gate/usr/src/uts/common/io/igc/core/
H A DREADME.illumos11 from the upstream files right now is the removal of the '<sys/cdefs.h>'
/illumos-gate/usr/src/uts/common/io/ena/
H A Dena_aenq.c228 uint64_t now = (uint64_t)gethrtime(); in ena_aenq_keep_alive_hdlr() local
230 (void) atomic_swap_64(&ena->ena_watchdog_last_keepalive, now); in ena_aenq_keep_alive_hdlr()
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsocktpi.c6577 time_t now; in sotpi_info_init() local
6586 now = gethrestime_sec(); in sotpi_info_init()
6587 sti->sti_atime = now; in sotpi_info_init()
6588 sti->sti_mtime = now; in sotpi_info_init()
6589 sti->sti_ctime = now; in sotpi_info_init()
H A Dsocksubr.c188 time_t now = gethrestime_sec(); in so_update_attrs() local
196 SOTOTPI(so)->sti_atime = now; in so_update_attrs()
198 SOTOTPI(so)->sti_mtime = now; in so_update_attrs()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsynch.c71 hrtime_t now = gethrtime(); in record_hold_time() local
74 msp->mutex_hold_time += now - msp->mutex_begin_hold; in record_hold_time()
76 return (now); in record_hold_time()
/illumos-gate/usr/src/data/terminfo/
H A Dterminfo.src180 # All primary names of terminals now have alphanumeric prefixes.
1317 # applications can now use the F1-F8 keys.
5653 # change clear was \E[H\E[J now \E[2J (faster?)
19159 # Then Emacs cannot use it. "Oh, no, but now inserting into a
19453 # but they're long gone now (1995).
19987 # labeled HP700s now.
20254 # wheel terminals. These are now largely obsolete.
21426 # does this now, too.
21459 # * We can handle the HP meml/memu capability now.
21544 # * Cleaned up if and rf file names (all in /usr/share now).
[all …]
H A Dtermcap.src180 # All primary names of terminals now have alphanumeric prefixes.
1195 # applications can now use the F1-F8 keys.
4973 # change clear was \E[H\E[J now \E[2J (faster?)
17072 # Then Emacs cannot use it. "Oh, no, but now inserting into a
17339 # but they're long gone now (1995).
17829 # labeled HP700s now.
18070 # wheel terminals. These are now largely obsolete.
19208 # does this now, too.
19241 # * We can handle the HP meml/memu capability now.
19326 # * Cleaned up if and rf file names (all in /usr/share now).
[all …]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c4514 time_t now; in stat_thread() local
4563 now = time(NULL); in stat_thread()
4564 if (now < 0) { in stat_thread()
4578 if (now >= next_memory) { in stat_thread()
4580 next_memory = now + g_interval; in stat_thread()
4589 g_now = now; in stat_thread()
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_main.c6114 time_t now = time(NULL); in get_one_dataset() local
6115 if (last_spin_time + SPINNER_TIME < now) { in get_one_dataset()
6117 last_spin_time = now; in get_one_dataset()
6411 time_t now = time(NULL); in report_mount_progress() local
6417 } else if (current != total && last_progress_time + MOUNT_TIME >= now) { in report_mount_progress()
6422 last_progress_time = now; in report_mount_progress()
/illumos-gate/usr/src/cmd/syseventd/daemons/syseventd/
H A Dsyseventd.c673 hrtime_t now; in client_deliver_event_thr() local
743 now = gethrtime(); in client_deliver_event_thr()
749 if (now - d_pkg->start_time > in client_deliver_event_thr()
/illumos-gate/usr/src/cmd/svc/svcs/
H A Dsvcs.c136 static time_t now; variable
1662 if (now - then < 24 * 60 * 60) { in sprint_stime()
1665 } else if (now - then < 12 * 30 * 24 * 60 * 60) { in sprint_stime()
2963 if (now - psi.pr_start.tv_sec < DAY) { in add_processes()
2966 } else if (now - psi.pr_start.tv_sec < YEAR) { in add_processes()
3515 now = time(NULL); in main()
3516 assert(now != -1); in main()
/illumos-gate/usr/src/cmd/ps/
H A Dps.c155 static struct timeval now; variable
406 (void) gettimeofday(&now, NULL); in stdmain()
2256 if ((now.tv_sec - starttime) >= 24*60*60) { in prtime()
2457 time_t seconds = now.tv_sec - start->tv_sec; in delta_secs()
2458 long nanosecs = now.tv_usec * 1000 - start->tv_nsec; in delta_secs()
/illumos-gate/usr/src/cmd/nscd/
H A Dnscd_frontend.c209 time_t now = time(NULL); in _nscd_restart_if_cfgfile_changed() local
224 if (now - last_nsswitch_check.tv_sec < _NSC_FILE_CHECK_TIME) in _nscd_restart_if_cfgfile_changed()
229 if (now - last_nsswitch_check.tv_sec >= _NSC_FILE_CHECK_TIME) { in _nscd_restart_if_cfgfile_changed()
233 last_nsswitch_check.tv_sec = now; in _nscd_restart_if_cfgfile_changed()
/illumos-gate/usr/src/cmd/intrstat/
H A Dintrstat.c368 hrtime_t last, now; in main() local
600 now = gethrtime(); in main()
601 g_interval = now - last; in main()
602 last = now; in main()
/illumos-gate/usr/src/cmd/init/
H A Dinit.c1341 time_t now; in spawn() local
1366 (void) time(&now); in spawn()
1374 process->p_time = now; in spawn()
1378 if ((now - process->p_time) < SPAWN_INTERVAL) { in spawn()
1389 process->p_time = now; in spawn()
1398 if (now - process->p_time < SPAWN_INTERVAL + INHIBIT) in spawn()
1400 process->p_time = now; in spawn()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dmain.c1128 uint_t now; in timer_schedule() local
1131 now = getcurrenttime(); in timer_schedule()
1149 timer_next = now + delay; in timer_schedule()
1174 uint_t now; in conditional_run_timeouts() local
1177 now = getcurrenttime(); in conditional_run_timeouts()
1201 uint_t now; in run_timeouts() local
1225 now = getcurrenttime(); in run_timeouts()
1227 timer_previous = now; in run_timeouts()
1360 now - timer_next); in in_signal()
2113 time_t now; in fprintdate() local
[all …]
/illumos-gate/usr/src/boot/efi/loader/
H A Dmain.c465 time_t now, then, last; in interactive_interrupt() local
468 now = then = getsecs(); in interactive_interrupt()
475 if (last != now) { in interactive_interrupt()
478 fail_timeout - (int)(now - then)); in interactive_interrupt()
479 last = now; in interactive_interrupt()
485 now = getsecs(); in interactive_interrupt()
486 } while (now - then < fail_timeout); in interactive_interrupt()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/lmrc/
H A Dlmrc.c662 clock_t now; in lmrc_poll_mfi() local
674 now = ddi_get_lbolt(); in lmrc_poll_mfi()
675 } while (!lmrc->l_fw_fault && now <= timeout); in lmrc_poll_mfi()
680 if (now > timeout) { in lmrc_poll_mfi()
1120 hrtime_t now; in lmrc_tgt_timeout_cmds() local
1129 now = gethrtime(); in lmrc_tgt_timeout_cmds()
1131 if (now > mpt->mpt_timeout) { in lmrc_tgt_timeout_cmds()
1136 mpt->mpt_timeout = now + LMRC_IO_TIMEOUT * NANOSEC; in lmrc_tgt_timeout_cmds()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dmetaslab.c5742 metaslab_free(spa_t *spa, const blkptr_t *bp, uint64_t txg, boolean_t now) in metaslab_free() argument
5748 ASSERT(!now || bp->blk_birth >= spa_syncing_txg(spa)); in metaslab_free()
5772 ASSERT(!now); in metaslab_free()
5780 if (now) { in metaslab_free()
H A Darc.c5095 clock_t now; in arc_access() local
5113 now = ddi_get_lbolt(); in arc_access()
5138 hdr->b_l1hdr.b_arc_access = now; in arc_access()
5147 if (now > hdr->b_l1hdr.b_arc_access + ARC_MINTIME) { in arc_access()
5153 hdr->b_l1hdr.b_arc_access = now; in arc_access()
7567 clock_t interval, next, now; in l2arc_write_interval() local
7580 now = ddi_get_lbolt(); in l2arc_write_interval()
7581 next = MAX(now, MIN(now + interval, began + interval)); in l2arc_write_interval()
H A Ddmu_zfetch.c188 hrtime_t now = gethrtime(); in dmu_zfetch_stream_create() local
203 if (((now - zs->zs_atime) / NANOSEC) > in dmu_zfetch_stream_create()
228 zs->zs_atime = now; in dmu_zfetch_stream_create()
242 hrtime_t now = gethrtime(); in dmu_zfetch_stream_done() local
243 hrtime_t delta = NSEC2USEC(now - zs->zs_start_time); in dmu_zfetch_stream_done()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_server.c2793 clock_t now; in smb_server_create_session() local
2849 now = ddi_get_lbolt(); in smb_server_create_session()
2850 if (now > ld->ld_quiet) { in smb_server_create_session()
2851 ld->ld_quiet = now + SEC_TO_TICK(60); in smb_server_create_session()
H A Dsmb2_durable.c1570 hrtime_t now; in smb2_durable_timers() local
1574 now = gethrtime(); in smb2_durable_timers()
1600 of->dh_expire_time <= now) { in smb2_durable_timers()

12345678910>>...29