Lines Matching refs:time_state
62 int time_state; member
91 .time_state = TIME_OK,
374 if ((ntpdata->time_state == TIME_INS) && (ntpdata->time_status & STA_INS)) in ntp_get_next_leap()
402 switch (ntpdata->time_state) { in second_overflow()
405 ntpdata->time_state = TIME_INS; in second_overflow()
409 ntpdata->time_state = TIME_DEL; in second_overflow()
417 ntpdata->time_state = TIME_OK; in second_overflow()
420 ntpdata->time_state = TIME_OOP; in second_overflow()
427 ntpdata->time_state = TIME_OK; in second_overflow()
431 ntpdata->time_state = TIME_WAIT; in second_overflow()
437 ntpdata->time_state = TIME_WAIT; in second_overflow()
441 ntpdata->time_state = TIME_OK; in second_overflow()
693 ntpdata->time_state = TIME_OK; in process_adj_status()
803 result = ntpdata->time_state; in __do_adjtimex()
828 if ((ntpdata->time_state == TIME_INS) && (ntpdata->time_status & STA_INS)) { in __do_adjtimex()
833 if ((ntpdata->time_state == TIME_DEL) && (ntpdata->time_status & STA_DEL)) { in __do_adjtimex()
838 if ((ntpdata->time_state == TIME_OOP) && (ts->tv_sec == ntpdata->ntp_next_leap_sec)) in __do_adjtimex()