Home
last modified time | relevance | path

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

/freebsd/sys/kern/
H A Dkern_ntptime.c289 struct ntptimeval ntv; in sys_ntp_gettime() local
291 memset(&ntv, 0, sizeof(ntv)); in sys_ntp_gettime()
294 ntp_gettime1(&ntv); in sys_ntp_gettime()
298 return (copyout(&ntv, uap->ntvp, sizeof(ntv))); in sys_ntp_gettime()
306 memset(&ntv, 0, sizeof(ntv)); in ntp_sysctl()
309 ntp_gettime1(&ntv); in ntp_sysctl()
312 return (sysctl_handle_opaque(oidp, &ntv, sizeof(ntv), req)); in ntp_sysctl()
360 modes = ntv->modes; in kern_ntp_adjtime()
483 struct timex ntv; in sys_ntp_adjtime() local
486 error = copyin(uap->tp, &ntv, sizeof(ntv)); in sys_ntp_adjtime()
[all …]
/freebsd/contrib/ntp/ntpd/
H A Dntp_loopfilter.c761 ZERO(ntv); in local_clock()
774 ntv.constant = 0; in local_clock()
790 ntv.status); in local_clock()
796 ntv.status); in local_clock()
818 clock_offset = dbl_from_var_long(ntv.offset, ntv.status); in local_clock()
826 ntv.jitter, ntv.status); in local_clock()
1099 ZERO(ntv); in set_freq()
1123 ZERO(ntv); in start_kern_loop()
1305 memset((char *)&ntv, 0, sizeof(ntv)); in loop_config()
1308 ntp_adjtime(&ntv); in loop_config()
[all …]
H A Drefclock_local.c149 struct timex ntv; in local_poll() local
184 memset(&ntv, 0, sizeof ntv); in local_poll()
185 switch (ntp_adjtime(&ntv)) { in local_poll()
/freebsd/contrib/ntp/util/
H A Dntptime.c93 struct timex ntv; in main() local
95 struct ntptimeval ntv; in main() local
250 status = ntp_gettime(&ntv); in main()
255 times[c] = ntv.time.tv_frac_sec; in main()
269 status = ntp_gettime(&ntv); in main()
291 status = ntp_gettime(&ntv); in main()
297 time_frac = ntv.time.tv_frac_sec; in main()
300 ntv.time.tv_frac_sec /= 1000; in main()
306 tv.tv_sec = ntv.time.tv_sec; in main()
307 tv.tv_usec = ntv.time.tv_frac_sec; in main()
[all …]
/freebsd/contrib/ntp/include/
H A Dntp_syscall.h33 struct ntptimeval *ntv in ntp_gettime() argument
41 ntv->time = tntx.time; in ntp_gettime()
42 ntv->maxerror = tntx.maxerror; in ntp_gettime()
43 ntv->esterror = tntx.esterror; in ntp_gettime()
46 ntv->tai = tntx.tai; in ntp_gettime()
/freebsd/sys/compat/linux/
H A Dlinux_vdso_gtod.inc88 struct timeval *ntv)
92 if (ntv->tv_sec > INT_MAX || ntv->tv_sec < INT_MIN)
95 ltv->tv_sec = ntv->tv_sec;
96 ltv->tv_usec = ntv->tv_usec;
/freebsd/sys/sys/
H A Dsyscallsubr.h259 int kern_ntp_adjtime(struct thread *td, struct timex *ntv, int *retvalp);
/freebsd/contrib/ntp/
H A DCommitLog-4.1.01610 initializing ntv.modes. Initialize ntv.{maxerror,esterror,status}
6028 * ntpd/ntp_loopfilter.c (local_clock): Limit ntv.constant to
H A DChangeLog1395 * [Bug 2640] STA_NANO can result in invalid ntv.constant.
H A DCommitLog52205 [Bug 2640] STA_NANO can result in invalid ntv.constant
52208 [Bug 2640] STA_NANO can result in invalid ntv.constant
52211 [Bug 2640] STA_NANO can result in invalid ntv.constant