Lines Matching refs:timekeeper

50 	struct timekeeper	timekeeper;  member
55 static struct timekeeper shadow_timekeeper;
115 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime()
127 static inline struct timespec64 tk_xtime(const struct timekeeper *tk) in tk_xtime()
136 static void tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) in tk_set_xtime()
142 static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) in tk_xtime_add()
149 static void tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) in tk_set_wall_to_mono()
166 static inline void tk_update_sleep_time(struct timekeeper *tk, ktime_t delta) in tk_update_sleep_time()
199 static void timekeeping_check_update(struct timekeeper *tk, u64 offset) in timekeeping_check_update()
240 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_get_delta()
279 static inline void timekeeping_check_update(struct timekeeper *tk, u64 offset) in timekeeping_check_update()
307 static void tk_setup_internals(struct timekeeper *tk, struct clocksource *clock) in tk_setup_internals()
527 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_boot_fast_ns()
615 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_fast_timestamps()
631 static void halt_fast_timekeeper(const struct timekeeper *tk) in halt_fast_timekeeper()
650 static void update_pvclock_gtod(struct timekeeper *tk, bool was_set) in update_pvclock_gtod()
660 struct timekeeper *tk = &tk_core.timekeeper; in pvclock_gtod_register_notifier()
693 static inline void tk_update_leap_state(struct timekeeper *tk) in tk_update_leap_state()
704 static inline void tk_update_ktime_data(struct timekeeper *tk) in tk_update_ktime_data()
735 static void timekeeping_update(struct timekeeper *tk, unsigned int action) in timekeeping_update()
760 memcpy(&shadow_timekeeper, &tk_core.timekeeper, in timekeeping_update()
761 sizeof(tk_core.timekeeper)); in timekeeping_update()
771 static void timekeeping_forward_now(struct timekeeper *tk) in timekeeping_forward_now()
802 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_real_ts64()
823 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get()
843 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_resolution_ns()
859 [TK_OFFS_REAL] = &tk_core.timekeeper.offs_real,
860 [TK_OFFS_BOOT] = &tk_core.timekeeper.offs_boot,
861 [TK_OFFS_TAI] = &tk_core.timekeeper.offs_tai,
866 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_with_offset()
887 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_with_offset()
930 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw()
956 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_ts64()
988 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_seconds()
1008 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_real_seconds()
1032 struct timekeeper *tk = &tk_core.timekeeper; in __ktime_get_real_seconds()
1043 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_snapshot()
1059 tk_core.timekeeper.offs_real); in ktime_get_snapshot()
1111 struct timekeeper *tk = &tk_core.timekeeper; in adjust_historical_crosststamp()
1199 struct timekeeper *tk = &tk_core.timekeeper; in get_device_system_crosststamp()
1244 tk_core.timekeeper.offs_real); in get_device_system_crosststamp()
1299 struct timekeeper *tk = &tk_core.timekeeper; in do_settimeofday64()
1348 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_offset()
1422 static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) in __timekeeping_set_tai_offset()
1435 struct timekeeper *tk = &tk_core.timekeeper; in change_clocksource()
1477 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_notify()
1494 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw_ts64()
1516 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_valid_for_hres()
1535 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_max_deferment()
1608 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_init()
1660 static void __timekeeping_inject_sleeptime(struct timekeeper *tk, in __timekeeping_inject_sleeptime()
1724 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_sleeptime64()
1751 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_resume()
1811 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_suspend()
1894 static __always_inline void timekeeping_apply_adjustment(struct timekeeper *tk, in timekeeping_apply_adjustment()
1972 static void timekeeping_adjust(struct timekeeper *tk, s64 offset) in timekeeping_adjust()
2034 static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk) in accumulate_nsecs_to_secs()
2083 static u64 logarithmic_accumulation(struct timekeeper *tk, u64 offset, in logarithmic_accumulation()
2123 struct timekeeper *real_tk = &tk_core.timekeeper; in timekeeping_advance()
2124 struct timekeeper *tk = &shadow_timekeeper; in timekeeping_advance()
2226 struct timekeeper *tk = &tk_core.timekeeper; in getboottime64()
2235 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_real_ts64()
2248 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_ts64()
2289 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_update_offsets_now()
2388 struct timekeeper *tk = &tk_core.timekeeper; in do_adjtimex()