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

/freebsd-11-stable/sys/kern/
H A Dkern_ntptime.c151 int time_status = STA_UNSYNC; /* clock status bits */ variable
267 if (ntp_is_time_error(time_status))
378 if (time_status & STA_PLL && !(ntv.status & STA_PLL)) {
380 time_status = STA_UNSYNC;
385 time_status &= STA_RONLY;
386 time_status |= ntv.status & ~STA_RONLY;
411 time_status |= STA_NANO;
413 time_status &= ~STA_NANO;
415 time_status |= STA_CLK;
417 time_status
[all...]
H A Dkern_tc.c1061 extern int time_status;
1110 clock_snap->fb_info.status = time_status;
/freebsd-11-stable/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-stable/contrib/ntp/ntpd/
H A Dntp_loopfilter.c334 if ((time_status & (STA_UNSYNC | STA_CLOCKERR))
340 || (time_status & (STA_PPSFREQ | STA_PPSTIME)
341 && !(time_status & STA_PPSSIGNAL))
346 || (time_status & STA_PPSTIME &&
347 time_status & STA_PPSJITTER)
353 || (time_status & STA_PPSFREQ &&
354 time_status & (STA_PPSWANDER | STA_PPSERROR)))
359 if ( (time_status & (STA_UNSYNC | STA_CLOCKERR))
360 || (time_status & (STA_PPSFREQ | STA_PPSTIME)
361 && !(time_status
[all...]

Completed in 72 milliseconds