Searched refs:time_offset (Results 1 - 7 of 7) sorted by relevance

/freebsd-11.0-release/contrib/ntp/util/
H A Dkern.c48 long time_offset = 0; /* time adjustment (us) */ variable
107 time_offset, time_freq, time_adj);
127 time_offset = offset << SHIFT_UPDATE;
187 if (time_offset < 0) {
188 ltemp = -time_offset >>
190 time_offset += ltemp;
194 ltemp = time_offset >>
196 time_offset -= ltemp;
/freebsd-11.0-release/libexec/bootpd/
H A Dbootpd.h117 time_offset :1, member in struct:flag
186 int32 time_offset;
185 int32 time_offset; member in struct:host
H A Ddovend.c73 * explain why the time_offset and swap_server are first?
77 if (hp->flags.time_offset) {
81 insert_u_long(htonl(hp->time_offset), &vp); /* -4 bytes */
H A Ddumptab.c259 if (hp->flags.time_offset) {
260 fprintf(fp, "\\\n\t:to=%ld:", (long)hp->time_offset);
H A Dreadfile.c980 hp->flags.time_offset = FALSE;
985 hp->time_offset = secondswest;
989 hp->time_offset = timeoff;
991 hp->flags.time_offset = TRUE;
1477 DUP_COPY(time_offset);
/freebsd-11.0-release/contrib/ntp/parseutil/
H A Ddcfd.c964 struct timeval time_offset; local
969 time_offset.tv_sec = offset / 1000000;
970 time_offset.tv_usec = offset % 1000000;
973 if (adjtime(&time_offset, 0L) == -1)
1512 struct timeval time_offset; local
1785 time_offset.tv_sec = lasterror / 1000000;
1786 time_offset.tv_usec = lasterror % 1000000;
1787 adjust_clock(&time_offset, drift_file, utc_time);
1792 time_offset.tv_sec = utc_time + i;
1793 time_offset
[all...]
/freebsd-11.0-release/sys/kern/
H A Dkern_ntptime.c159 static l_fp time_offset; /* time offset (ns) */ variable
460 ntv.offset = L_GINT(time_offset);
462 ntv.offset = L_GINT(time_offset) / 1000; /* XXX rounding ? */
587 ftemp = time_offset;
599 L_SUB(time_offset, ftemp);
652 L_CLR(time_offset);
711 L_LINT(time_offset, time_monitor);
871 L_LINT(time_offset, time_monitor);

Completed in 104 milliseconds