Lines Matching refs:timekeeper
41 struct timekeeper timekeeper; member
45 static struct timekeeper shadow_timekeeper;
67 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime()
75 static inline struct timespec64 tk_xtime(struct timekeeper *tk) in tk_xtime()
84 static void tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) in tk_set_xtime()
90 static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) in tk_xtime_add()
97 static void tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) in tk_set_wall_to_mono()
114 static inline void tk_update_sleep_time(struct timekeeper *tk, ktime_t delta) in tk_update_sleep_time()
122 static void timekeeping_check_update(struct timekeeper *tk, cycle_t offset) in timekeeping_check_update()
163 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_get_delta()
202 static inline void timekeeping_check_update(struct timekeeper *tk, cycle_t offset) in timekeeping_check_update()
230 static void tk_setup_internals(struct timekeeper *tk, struct clocksource *clock) in tk_setup_internals()
422 static void halt_fast_timekeeper(struct timekeeper *tk) in halt_fast_timekeeper()
440 static inline void update_vsyscall(struct timekeeper *tk) in update_vsyscall()
450 static inline void old_vsyscall_fixup(struct timekeeper *tk) in old_vsyscall_fixup()
476 static void update_pvclock_gtod(struct timekeeper *tk, bool was_set) in update_pvclock_gtod()
486 struct timekeeper *tk = &tk_core.timekeeper; in pvclock_gtod_register_notifier()
519 static inline void tk_update_leap_state(struct timekeeper *tk) in tk_update_leap_state()
530 static inline void tk_update_ktime_data(struct timekeeper *tk) in tk_update_ktime_data()
561 static void timekeeping_update(struct timekeeper *tk, unsigned int action) in timekeeping_update()
585 memcpy(&shadow_timekeeper, &tk_core.timekeeper, in timekeeping_update()
586 sizeof(tk_core.timekeeper)); in timekeeping_update()
596 static void timekeeping_forward_now(struct timekeeper *tk) in timekeeping_forward_now()
627 struct timekeeper *tk = &tk_core.timekeeper; in __getnstimeofday64()
666 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get()
686 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_resolution_ns()
702 [TK_OFFS_REAL] = &tk_core.timekeeper.offs_real,
703 [TK_OFFS_BOOT] = &tk_core.timekeeper.offs_boot,
704 [TK_OFFS_TAI] = &tk_core.timekeeper.offs_tai,
709 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_with_offset()
753 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw()
779 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_ts64()
811 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_seconds()
831 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_real_seconds()
861 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw_and_real_ts64()
910 struct timekeeper *tk = &tk_core.timekeeper; in do_settimeofday64()
956 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_offset()
1002 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_get_tai_offset()
1018 static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) in __timekeeping_set_tai_offset()
1030 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_set_tai_offset()
1049 struct timekeeper *tk = &tk_core.timekeeper; in change_clocksource()
1091 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_notify()
1108 struct timekeeper *tk = &tk_core.timekeeper; in getrawmonotonic64()
1131 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_valid_for_hres()
1150 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_max_deferment()
1213 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_init()
1269 static void __timekeeping_inject_sleeptime(struct timekeeper *tk, in __timekeeping_inject_sleeptime()
1333 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_sleeptime64()
1358 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_resume()
1437 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_suspend()
1507 static __always_inline void timekeeping_apply_adjustment(struct timekeeper *tk, in timekeeping_apply_adjustment()
1589 static __always_inline void timekeeping_freqadjust(struct timekeeper *tk, in timekeeping_freqadjust()
1628 static void timekeeping_adjust(struct timekeeper *tk, s64 offset) in timekeeping_adjust()
1681 static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk) in accumulate_nsecs_to_secs()
1721 static cycle_t logarithmic_accumulation(struct timekeeper *tk, cycle_t offset, in logarithmic_accumulation()
1764 struct timekeeper *real_tk = &tk_core.timekeeper; in update_wall_time()
1765 struct timekeeper *tk = &shadow_timekeeper; in update_wall_time()
1861 struct timekeeper *tk = &tk_core.timekeeper; in getboottime64()
1870 struct timekeeper *tk = &tk_core.timekeeper; in get_seconds()
1878 struct timekeeper *tk = &tk_core.timekeeper; in __current_kernel_time()
1885 struct timekeeper *tk = &tk_core.timekeeper; in current_kernel_time64()
1901 struct timekeeper *tk = &tk_core.timekeeper; in get_monotonic_coarse64()
1943 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_update_offsets_now()
1976 struct timekeeper *tk = &tk_core.timekeeper; in do_adjtimex()