Searched refs:time_offset (Results 1 – 11 of 11) sorted by relevance
/freebsd/contrib/ntp/util/ |
H A D | kern.c | 48 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/contrib/ntp/parseutil/ |
H A D | dcfd.c | 964 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() 1516 struct timeval time_offset; in main() local 1789 time_offset.tv_sec = lasterror / 1000000; in main() 1790 time_offset.tv_usec = lasterror % 1000000; in main() 1791 adjust_clock(&time_offset, drift_file, utc_time); in main() 1796 time_offset.tv_sec = utc_time + i; in main() 1797 time_offset.tv_usec = 0; in main() [all …]
|
/freebsd/sys/kern/ |
H A D | kern_ntptime.c | 163 static l_fp time_offset; /* time offset (ns) */ variable 441 ntv->offset = L_GINT(time_offset); in kern_ntp_adjtime() 443 ntv->offset = L_GINT(time_offset) / 1000; /* XXX rounding ? */ in kern_ntp_adjtime() 591 ftemp = time_offset; in ntp_update_second() 603 L_SUB(time_offset, ftemp); in ntp_update_second() 683 L_LINT(time_offset, time_monitor); in hardupdate() 836 L_LINT(time_offset, time_monitor); in hardpps()
|
/freebsd/libexec/bootpd/ |
H A D | bootpd.h | 115 time_offset :1, member 183 int32 time_offset; member
|
H A D | dovend.c | 63 if (hp->flags.time_offset) { in dovend_rfc1497() 67 insert_u_long(htonl(hp->time_offset), &vp); /* -4 bytes */ in dovend_rfc1497()
|
H A D | dumptab.c | 245 if (hp->flags.time_offset) { in dump_host() 246 fprintf(fp, "\\\n\t:to=%ld:", (long)hp->time_offset); in dump_host()
|
H A D | readfile.c | 955 hp->flags.time_offset = FALSE; in eval_symbol() 960 hp->time_offset = secondswest; in eval_symbol() 964 hp->time_offset = timeoff; in eval_symbol() 966 hp->flags.time_offset = TRUE; in eval_symbol() 1434 DUP_COPY(time_offset); in fill_defaults()
|
/freebsd/contrib/ntp/html/hints/ |
H A D | solaris.xtra.4095849 | 10 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/contrib/wpa/src/ap/ |
H A D | wpa_auth_i.h | 277 struct os_reltime time_offset; /* local time - offset = remote time */ member
|
H A D | wpa_auth_ft.c | 1088 os_reltime_sub(&now, &rkh_seq->rx.time_offset, &now_remote); in wpa_ft_rrb_seq_chk() 4722 os_reltime_sub(&now, &now_remote, &rkh_seq->rx.time_offset); in wpa_ft_rrb_rx_seq_resp()
|
/freebsd/sys/dev/ena/ |
H A D | ena.c | 3188 sbintime_t time_offset; in check_missing_comp_in_tx_queue() local 3203 time_offset = bttosbt(time); in check_missing_comp_in_tx_queue() 3206 time_offset > 2 * adapter->missing_tx_timeout)) { in check_missing_comp_in_tx_queue() 3221 if (unlikely(time_offset > adapter->missing_tx_timeout)) { in check_missing_comp_in_tx_queue()
|