Home
last modified time | relevance | path

Searched refs:time_state (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/kern/
H A Dkern_ntptime.c154 static int time_state = TIME_OK; /* clock state */ variable
268 ntvp->time_state = time_state; in ntp_gettime1()
271 ntvp->time_state = TIME_ERROR; in ntp_gettime1()
297 td->td_retval[0] = ntv.time_state; in sys_ntp_gettime()
373 time_state = TIME_OK; in kern_ntp_adjtime()
467 retval = ntp_is_time_error(time_status) ? TIME_ERROR : time_state; in kern_ntp_adjtime()
531 switch (time_state) { in ntp_update_second()
537 time_state = TIME_INS; in ntp_update_second()
539 time_state = TIME_DEL; in ntp_update_second()
548 time_state = TIME_OK; in ntp_update_second()
[all …]
/freebsd/sys/sys/
H A Dtimex.h117 int time_state; /* time status */ member