Home
last modified time | relevance | path

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

/freebsd/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/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()
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()
1796 time_offset.tv_sec = utc_time + i; in main()
1797 time_offset.tv_usec = 0; in main()
1799 timeradd(&time_offset, &phase); in main()
[all …]
/freebsd/libexec/bootpd/
H A Dbootpd.h115 time_offset :1, member
183 int32 time_offset; member
H A Ddovend.c63 if (hp->flags.time_offset) { in dovend_rfc1497()
67 insert_u_long(htonl(hp->time_offset), &vp); /* -4 bytes */ in dovend_rfc1497()
H A Ddumptab.c245 if (hp->flags.time_offset) { in dump_host()
246 fprintf(fp, "\\\n\t:to=%ld:", (long)hp->time_offset); in dump_host()
H A Dreadfile.c955 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/sys/kern/
H A Dkern_ntptime.c163 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()
835 L_LINT(time_offset, time_monitor); in hardpps()
/freebsd/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/contrib/wpa/src/ap/
H A Dwpa_auth_i.h248 struct os_reltime time_offset; /* local time - offset = remote time */ member
H A Dwpa_auth_ft.c1054 os_reltime_sub(&now, &rkh_seq->rx.time_offset, &now_remote); in wpa_ft_rrb_seq_chk()
4537 os_reltime_sub(&now, &now_remote, &rkh_seq->rx.time_offset); in wpa_ft_rrb_rx_seq_resp()
/freebsd/sys/dev/ena/
H A Dena.c3072 sbintime_t time_offset; in check_missing_comp_in_tx_queue() local
3086 time_offset = bttosbt(time); in check_missing_comp_in_tx_queue()
3089 time_offset > 2 * adapter->missing_tx_timeout)) { in check_missing_comp_in_tx_queue()
3104 if (unlikely(time_offset > adapter->missing_tx_timeout)) { in check_missing_comp_in_tx_queue()