Home
last modified time | relevance | path

Searched refs:ntv (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/common/syscall/
H A Dntptime.c75 struct ntptimeval ntv; in ntp_gettime() local
81 ntv.time.tv_sec = tod.tv_sec; in ntp_gettime()
82 ntv.time.tv_usec = tod.tv_nsec / (NANOSEC / MICROSEC); in ntp_gettime()
83 ntv.maxerror = time_maxerror; in ntp_gettime()
84 ntv.esterror = time_esterror; in ntp_gettime()
87 if (copyout(&ntv, tp, sizeof (ntv))) in ntp_gettime()
92 if (TIMEVAL_OVERFLOW(&ntv.time)) in ntp_gettime()
95 TIMEVAL_TO_TIMEVAL32(&ntv32.time, &ntv.time); in ntp_gettime()
97 ntv32.maxerror = ntv.maxerror; in ntp_gettime()
98 ntv32.esterror = ntv.esterror; in ntp_gettime()
[all …]
/titanic_41/usr/src/cmd/truss/
H A Dexpound.c4175 struct ntptimeval ntv; in show_ntp_gettime() local
4182 if (Pread(Proc, &ntv, sizeof (ntv), offset) in show_ntp_gettime()
4183 != sizeof (ntv)) in show_ntp_gettime()
4192 TIMEVAL32_TO_TIMEVAL(&ntv.time, &ntv32.time); in show_ntp_gettime()
4193 ntv.maxerror = ntv32.maxerror; in show_ntp_gettime()
4194 ntv.esterror = ntv32.esterror; in show_ntp_gettime()
4198 ntv.time.tv_sec, ntv.time.tv_usec); in show_ntp_gettime()
4199 (void) printf("\tmaxerror: %11d usec\n", ntv.maxerror); in show_ntp_gettime()
4200 (void) printf("\testerror: %11d usec\n", ntv.esterror); in show_ntp_gettime()