Searched refs:time_status (Results 1 - 4 of 4) sorted by relevance

/freebsd-11.0-release/sys/kern/
H A Dkern_ntptime.c151 int time_status = STA_UNSYNC; /* clock status bits */ variable
284 if (ntp_is_time_error(time_status))
391 if (time_status & STA_PLL && !(ntv.status & STA_PLL)) {
393 time_status = STA_UNSYNC;
398 time_status &= STA_RONLY;
399 time_status |= ntv.status & ~STA_RONLY;
424 time_status |= STA_NANO;
426 time_status &= ~STA_NANO;
428 time_status |= STA_CLK;
430 time_status
[all...]
H A Dkern_tc.c1021 extern int time_status;
1070 clock_snap->fb_info.status = time_status;
/freebsd-11.0-release/contrib/ntp/util/
H A Dkern.c47 int time_status = TIME_BAD; /* clock synchronization status */ variable
145 if (time_status == TIME_BAD)
146 time_status = TIME_OK;
208 switch (time_status) {
212 time_status = TIME_OOP;
217 time_status = TIME_OK;
221 time_status = TIME_OK;
/freebsd-11.0-release/contrib/ntp/ntpd/
H A Dntp_loopfilter.c326 if ((time_status & (STA_UNSYNC | STA_CLOCKERR))
332 || (time_status & (STA_PPSFREQ | STA_PPSTIME)
333 && !(time_status & STA_PPSSIGNAL))
338 || (time_status & STA_PPSTIME &&
339 time_status & STA_PPSJITTER)
345 || (time_status & STA_PPSFREQ &&
346 time_status & (STA_PPSWANDER | STA_PPSERROR)))
351 if ( (time_status & (STA_UNSYNC | STA_CLOCKERR))
352 || (time_status & (STA_PPSFREQ | STA_PPSTIME)
353 && !(time_status
[all...]

Completed in 66 milliseconds