Lines Matching refs:time_adjust
80 static long time_adjust; variable
353 time_adjust = 0; /* stop active adjtime() */ in ntp_clear()
474 if (!time_adjust) in second_overflow()
477 if (time_adjust > MAX_TICKADJ) { in second_overflow()
478 time_adjust -= MAX_TICKADJ; in second_overflow()
483 if (time_adjust < -MAX_TICKADJ) { in second_overflow()
484 time_adjust += MAX_TICKADJ; in second_overflow()
489 tick_length += (s64)(time_adjust * NSEC_PER_USEC / NTP_INTERVAL_FREQ) in second_overflow()
491 time_adjust = 0; in second_overflow()
768 long save_adjust = time_adjust; in __do_adjtimex()
772 time_adjust = txc->offset; in __do_adjtimex()
776 audit_ntp_set_new(ad, AUDIT_NTP_ADJUST, time_adjust); in __do_adjtimex()
1012 time_adjust = 0; in hardpps_update_phase()