Lines Matching refs:time_state
63 int time_state; member
93 .time_state = TIME_OK,
382 if ((ntpdata->time_state == TIME_INS) && (ntpdata->time_status & STA_INS)) in ntp_get_next_leap()
410 switch (ntpdata->time_state) { in second_overflow()
413 ntpdata->time_state = TIME_INS; in second_overflow()
417 ntpdata->time_state = TIME_DEL; in second_overflow()
425 ntpdata->time_state = TIME_OK; in second_overflow()
428 ntpdata->time_state = TIME_OOP; in second_overflow()
435 ntpdata->time_state = TIME_OK; in second_overflow()
439 ntpdata->time_state = TIME_WAIT; in second_overflow()
445 ntpdata->time_state = TIME_WAIT; in second_overflow()
449 ntpdata->time_state = TIME_OK; in second_overflow()
701 ntpdata->time_state = TIME_OK; in process_adj_status()
811 result = ntpdata->time_state; in ntp_adjtimex()
836 if ((ntpdata->time_state == TIME_INS) && (ntpdata->time_status & STA_INS)) { in ntp_adjtimex()
841 if ((ntpdata->time_state == TIME_DEL) && (ntpdata->time_status & STA_DEL)) { in ntp_adjtimex()
846 if ((ntpdata->time_state == TIME_OOP) && (ts->tv_sec == ntpdata->ntp_next_leap_sec)) in ntp_adjtimex()