Lines Matching refs:time_state
49 static int time_state = TIME_OK; variable
363 switch (time_state) { in ntp_leap_second()
368 time_state = TIME_OOP; in ntp_leap_second()
377 time_state = TIME_WAIT; in ntp_leap_second()
383 time_state = TIME_WAIT; in ntp_leap_second()
387 time_state = TIME_OK; in ntp_leap_second()
512 time_state = TIME_INS; in ntp_start_leap_timer()
520 time_state = TIME_DEL; in ntp_start_leap_timer()
532 time_state = TIME_OK; in process_adj_status()
549 switch (time_state) { in process_adj_status()
555 time_state = TIME_OK; in process_adj_status()
559 time_state = TIME_OK; in process_adj_status()
647 if (txc->modes & ADJ_STATUS && time_state != TIME_OK) in do_adjtimex()
689 result = time_state; /* mostly `TIME_OK' */ in do_adjtimex()