/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_msfees.c | 929 L_SUB(&diff, &ees->arrvtime); in ees_receive() 937 L_SUB(&diff, &acceptable_slop); in ees_receive() 947 L_SUB(&diff, &ees->arrvtime); in ees_receive() 949 L_SUB(&diff, &acceptable_slop); in ees_receive() 985 L_SUB(&delta, &ees->last_l); in ees_receive() 1169 { L_SUB(&pps_arrvstamp, &inc); in ees_receive() 1170 L_SUB(&ees->arrvtime, &inc); in ees_receive() 1194 L_SUB(&ees->arrvtime, &offset_fudge[ees->unit]); in ees_receive() 1195 L_SUB(&pps_arrvstamp, &offset_fudge[ees->unit]); in ees_receive() 1209 L_SUB(&ees->codeoffsets[n_sample], &ees->arrvtime); in ees_receive() [all …]
|
H A D | refclock_leitch.c | 500 L_SUB(&off,&leitch->codetime1); in leitch_process() 502 L_SUB(&tmp_fp,&leitch->codetime2); in leitch_process() 506 L_SUB(&tmp_fp,&leitch->codetime3); in leitch_process()
|
H A D | ntp_monitor.c | 353 L_SUB(&interval_fp, &mon->last); in ntp_monitor() 450 L_SUB(&interval_fp, &oldest->last); in ntp_monitor()
|
H A D | ntp_proto.c | 1883 L_SUB(&tdiff, &peer->bxmt); in receive() 2697 L_SUB(&ci, &peer->dst); in process_packet() 2701 L_SUB(&ci, &peer->borg); in process_packet() 2703 L_SUB(&ci, &peer->aorg); in process_packet() 2724 L_SUB(&ci, &peer->aorg); in process_packet() 2727 L_SUB(&ci, &peer->borg); in process_packet() 2749 L_SUB(&ci, &peer->dst); in process_packet() 2788 L_SUB(&ci, &peer->dst); in process_packet() 2791 L_SUB(&ci, &p_org); in process_packet() 4235 L_SUB(&xmt_ty, &xmt_tx); in peer_xmit() [all …]
|
H A D | ntp_refclock.c | 510 L_SUB(&lftemp, &lastrec); in refclock_process_offset() 1674 L_SUB(rcvtime, delta); in refclock_ppsaugment() 1698 L_SUB(stamp, delta); in refclock_ppsaugment() 1704 L_SUB(delta, rcvtime); in refclock_ppsaugment() 1738 L_SUB(rcvtime, delta); in refclock_ppsaugment()
|
H A D | refclock_gpsdjson.c | 1605 L_SUB(&up->sti_recvt, &up->sti_fudge); in process_tpv() 1680 L_SUB(&up->pps_recvt , &up->pps_fudge ); in process_pps() 1681 L_SUB(&up->pps_recvt2, &up->pps_fudge2); in process_pps() 1736 L_SUB(&up->sti_recvt, &up->sti_fudge); in process_toff() 1812 L_SUB(&diff, &up->pps_local); in gpsd_parse()
|
H A D | refclock_irig.c | 431 L_SUB(&rbufp->recv_time, <emp); in irig_receive() 790 L_SUB(&up->chrstamp, <emp); in irig_baud()
|
H A D | refclock_chu.c | 673 L_SUB(&rbufp->recv_time, <emp); in chu_audio_receive() 1009 L_SUB(&tstmp, &up->laststamp); in chu_decode() 1269 L_SUB(&up->tstamp[up->ntstamp], &offset); in chu_a()
|
H A D | refclock_datum.c | 711 L_SUB(&tstmp, &datum_pts->lastrec); /* tstmp is now the correction */ in datum_pts_receive()
|
H A D | ntpd.c | 1536 L_SUB(&dts, &rbuf->recv_time); 1553 L_SUB(&tsb, &tsa);
|
H A D | refclock_true.c | 570 L_SUB(&off, &pp->lastrec); in true_receive()
|
H A D | refclock_parse.c | 2312 L_SUB(&ts.fp, &tstmp); in local_input() 3572 L_SUB(&off, &parse->timedata.parse_ptime.fp); /* true offset */ in parse_control() 4010 L_SUB(&off, &rectime); /* prepare for PPS adjustments logic */ in parse_process() 4080 L_SUB(&off, &offset); /* true offset */ in parse_process() 4131 L_SUB(&rectime, &off); /* just to keep the ntp interface happy */ in parse_process()
|
H A D | refclock_arc.c | 1012 L_SUB(&diff, ×tamp); in arc_receive()
|
H A D | refclock_jupiter.c | 324 L_SUB(&delta, &up->rcv_next); /* recv time pulse message */ in jupiter_checkpps()
|
H A D | refclock_nmea.c | 1733 L_SUB(&t1, &t2); in tabsdiffd()
|
H A D | ntp_io.c | 3490 L_SUB(&dts, &nts); 3940 L_SUB(&ts_e, &ts);
|
/freebsd/sys/kern/ |
H A D | kern_ntptime.c | 61 #define L_SUB(v, u) ((v) -= (u)) macro 603 L_SUB(time_offset, ftemp); in ntp_update_second() 877 L_SUB(ftemp, pps_freq); in hardpps()
|
/freebsd/contrib/ntp/libparse/ |
H A D | clk_trimtsip.c | 277 L_SUB(&secs, &utcoffset); /* adjust GPS time to UTC time */ in cvt_trimtsip()
|
H A D | clk_rawdcf.c | 621 L_SUB(&delt, &base->fp); in calc_usecdiff()
|
H A D | parse.c | 134 L_SUB(&delt, &parseio->parse_lastchar.fp); in parse_timedout()
|
/freebsd/contrib/ntp/ntpdate/ |
H A D | ntpdate.c | 880 L_SUB(&t10, &rbufp->recv_time); /* recv_time == t0*/ in receive() 883 L_SUB(&t23, &org); /* pkt->org == t3 */ in receive() 900 L_SUB(&t23, &t10); in receive()
|
/freebsd/contrib/ntp/libntp/ |
H A D | systime.c | 260 L_SUB(&lfpdelta, &lfp_prev); in get_systime()
|
/freebsd/contrib/ntp/sntp/ |
H A D | main.c | 1344 L_SUB(&tmp, &p_org); in offset_calculation() 1349 L_SUB(&tmp, &dst); in offset_calculation()
|
/freebsd/contrib/ntp/include/ |
H A D | ntp_fp.h | 229 #define L_SUB(r, a) M_SUB((r)->l_ui, (r)->l_uf, (a)->l_ui, (a)->l_uf) macro
|
/freebsd/contrib/ntp/ntpq/ |
H A D | ntpq-subs.c | 3121 L_SUB(&interval, &pm1->first); in qcmp_mru_avgint() 3126 L_SUB(&interval, &pm2->first); in qcmp_mru_avgint() 3309 L_SUB(&interval, &recent->last); in mrulist() 3313 L_SUB(&interval, &recent->first); in mrulist()
|