Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/ntp/util/
H A Dkern.c48 long time_offset = 0; /* time adjustment (us) */ variable
107 time_offset, time_freq, time_adj); in main()
127 time_offset = offset << SHIFT_UPDATE; in hardupdate()
187 if (time_offset < 0) { in second_overflow()
188 ltemp = -time_offset >> in second_overflow()
190 time_offset += ltemp; in second_overflow()
194 ltemp = time_offset >> in second_overflow()
196 time_offset -= ltemp; in second_overflow()
/freebsd-12.1/contrib/ntp/parseutil/
H A Ddcfd.c964 struct timeval time_offset; in adj_time() local
969 time_offset.tv_sec = offset / 1000000; in adj_time()
970 time_offset.tv_usec = offset % 1000000; in adj_time()
973 if (adjtime(&time_offset, 0L) == -1) in adj_time()
1512 struct timeval time_offset; in main() local
1785 time_offset.tv_sec = lasterror / 1000000; in main()
1786 time_offset.tv_usec = lasterror % 1000000; in main()
1792 time_offset.tv_sec = utc_time + i; in main()
1793 time_offset.tv_usec = 0; in main()
1795 timeradd(&time_offset, &phase); in main()
[all …]
/freebsd-12.1/sys/kern/
H A Dkern_ntptime.c159 static l_fp time_offset; /* time offset (ns) */ variable
447 ntv.offset = L_GINT(time_offset); in sys_ntp_adjtime()
449 ntv.offset = L_GINT(time_offset) / 1000; /* XXX rounding ? */ in sys_ntp_adjtime()
576 ftemp = time_offset; in ntp_update_second()
588 L_SUB(time_offset, ftemp); in ntp_update_second()
643 L_CLR(time_offset); in ntp_init()
702 L_LINT(time_offset, time_monitor);
863 L_LINT(time_offset, time_monitor); in hardpps()
/freebsd-12.1/libexec/bootpd/
H A Dbootpd.h117 time_offset :1, member
185 int32 time_offset; member
H A Ddovend.c77 if (hp->flags.time_offset) {
81 insert_u_long(htonl(hp->time_offset), &vp); /* -4 bytes */
H A Ddumptab.c258 if (hp->flags.time_offset) {
259 fprintf(fp, "\\\n\t:to=%ld:", (long)hp->time_offset);
H A Dreadfile.c974 hp->flags.time_offset = FALSE;
979 hp->time_offset = secondswest;
983 hp->time_offset = timeoff;
985 hp->flags.time_offset = TRUE;
1465 DUP_COPY(time_offset);
/freebsd-12.1/contrib/ntp/html/hints/
H A Dsolaris.xtra.409584910 the clock routine as soon as the time_offset becomes non-zero.
70 the clock routine as soon as the time_offset becomes non-zero.
/freebsd-12.1/contrib/wpa/src/ap/
H A Dwpa_auth_i.h243 struct os_reltime time_offset; /* local time - offset = remote time */ member
H A Dwpa_auth_ft.c1052 os_reltime_sub(&now, &rkh_seq->rx.time_offset, &now_remote); in wpa_ft_rrb_seq_chk()
4305 os_reltime_sub(&now, &now_remote, &rkh_seq->rx.time_offset); in wpa_ft_rrb_rx_seq_resp()