Home
last modified time | relevance | path

Searched refs:hrestime (Results 1 – 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodopl.c156 hrestime.tv_sec = obp_time; in _init()
161 if (TIMESPEC_OVERFLOW(&hrestime)) { in _init()
168 hrestime.tv_sec = (time_t)0; in _init()
214 return (hrestime); in todopl_get()
231 if (abs(ts.tv_sec - hrestime.tv_sec) > TODOPL_SET_THRESHOLD) { in todopl_set()
236 prom_opl_set_diff(ts.tv_sec - hrestime.tv_sec); in todopl_set()
H A Dtodsg.c118 hrestime.tv_sec = ssc_time; in _init()
127 if (TIMESPEC_OVERFLOW(&hrestime)) { in _init()
139 hrestime.tv_sec = (time_t)0; in _init()
323 skew_adjust = hrestime.tv_sec - (seconds + domain_skew); in todsg_get()
367 return (hrestime); in todsg_get()
H A Dtodm5819.c162 return (hrestime); in todm5819_get()
H A Dtodm5819p_rmc.c180 return (hrestime); in todm5819p_rmc_get()
H A Dtodds1337.c406 return (hrestime); in todds1337_get()
/illumos-gate/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.S274 retl ! %o0 current hrestime seconds
292 ldn [%o1 + %lo(hrestime)], %g1 ! Seconds.
293 add %o1, %lo(hrestime), %o4
366 sethi %hi(hrestime), %l4
426 or %l4, %lo(hrestime), %l2
427 ldn [%l2], %i2 ! %i2:%i3 = hrestime sec:nsec
429 add %i3, %l5, %i3 ! hrestime.nsec += adj
430 add %i3, %i1, %i3 ! hrestime.nsec += nslt
434 bl,pt %xcc, 5f ! if hrestime.tv_nsec < NANOSEC
436 add %i2, 0x1, %i2 ! hrestime.tv_sec++
[all …]
/illumos-gate/usr/src/uts/i86pc/ml/
H A Dcomm_page.S35 volatile timestruc_t hrestime;
80 DGDEF2(hrestime, _MUL(2, 8))
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dcommon_asm.S435 retl ! %o0 current hrestime seconds
453 ldn [%o1 + %lo(hrestime)], %g1 ! Seconds.
454 add %o1, %lo(hrestime), %o4
527 sethi %hi(hrestime), %l4
587 or %l4, %lo(hrestime), %l2
588 ldn [%l2], %i2 ! %i2:%i3 = hrestime sec:nsec
590 add %i3, %l5, %i3 ! hrestime.nsec += adj
591 add %i3, %i1, %i3 ! hrestime.nsec += nslt
595 bl,pt %xcc, 5f ! if hrestime.tv_nsec < NANOSEC
597 add %i2, 0x1, %i2 ! hrestime.tv_sec++
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dclock.c681 if (hrestime.tv_sec % 86400 == 0) { in clock()
683 hrestime.tv_sec--; in clock()
690 if ((hrestime.tv_sec + 1) % 86400 == 0) { in clock()
692 hrestime.tv_sec++; in clock()
790 drift = tod.tv_sec - hrestime.tv_sec; in clock()
797 hrestime = tod; in clock()
1214 time_reftime = hrestime.tv_sec; in clock_update()
1216 mtemp = hrestime.tv_sec - time_reftime; in clock_update()
1217 time_reftime = hrestime.tv_sec; in clock_update()
1924 hrestime = *ts; in set_hrestime()
[all …]
H A Ddtrace_subr.c110 tmp.dthr_hrestime = hrestime; in dtrace_hres_tick()
H A Dpanic.c289 panic_hrestime = hrestime; in panicsys()
H A Dtimers.c725 if (TVTSCMP(valp, &hrestime, >)) in timeval_advance()
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dmachclock.h121 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\
122 add scr, %lo(hrestime), hrestnsec; \
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dcomm_page.h88 extern volatile timestruc_t hrestime;
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dmachclock.h234 ldn [scr + %lo(hrestime)], hrestsec; /* load hrestime.sec */\
235 add scr, %lo(hrestime), hrestnsec; \
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dxpv_timestamp.c78 volatile timestruc_t hrestime; variable
/illumos-gate/usr/src/uts/sun4v/io/
H A Dhardclk.c184 ts.tv_sec = tod_validate(hrestime.tv_sec); in tod_get()
/illumos-gate/usr/src/uts/intel/os/
H A Darchdep.c1125 hrestime.tv_nsec += adj; in __adj_hrestime()
1127 while (hrestime.tv_nsec >= NANOSEC) { in __adj_hrestime()
1129 hrestime.tv_sec++; in __adj_hrestime()
1130 hrestime.tv_nsec -= NANOSEC; in __adj_hrestime()
/illumos-gate/usr/src/uts/sun4/cpu/
H A Dcpu_module.c36 volatile timestruc_t hrestime; variable
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmachdep.c741 now = hrestime; in pc_gethrestime()
797 *tp = hrestime; in gethrestime_lasttick()
/illumos-gate/usr/src/uts/i86pc/io/
H A Dtodpc_subr.c185 return (hrestime); in todpc_get()
/illumos-gate/usr/src/uts/intel/io/vmm/
H A Dvmm.c4849 vmm_time_snapshot(uint64_t *tsc, hrtime_t *hrtime, timespec_t *hrestime) in vmm_time_snapshot() argument
4862 gethrestime(hrestime); in vmm_time_snapshot()
4896 timespec_t hrestime; in vmm_data_read_vmm_time() local
4897 vmm_time_snapshot(&tsc, &hrtime, &hrestime); in vmm_data_read_vmm_time()
4913 out->vt_hres_sec = hrestime.tv_sec; in vmm_data_read_vmm_time()
4914 out->vt_hres_ns = hrestime.tv_nsec; in vmm_data_read_vmm_time()
5003 timespec_t hrestime; in vmm_data_write_vmm_time() local
5004 vmm_time_snapshot(&tsc, &hrtime, &hrestime); in vmm_data_write_vmm_time()
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h349 extern volatile timestruc_t hrestime;
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kp.c869 red_deep_hires = hrestime.tv_nsec; in segkp_map_red()
/illumos-gate/usr/src/uts/intel/ml/
H A Di86_subr.S1452 addq %r8, hrestime+8(%rip) /* add interval to hrestime.tv_nsec */

12