Lines Matching refs:timekeeper

52 	struct timekeeper	timekeeper;  member
56 static struct timekeeper shadow_timekeeper;
97 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime()
109 static inline struct timespec64 tk_xtime(const struct timekeeper *tk) in tk_xtime()
118 static void tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) in tk_set_xtime()
124 static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) in tk_xtime_add()
131 static void tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) in tk_set_wall_to_mono()
148 static inline void tk_update_sleep_time(struct timekeeper *tk, ktime_t delta) in tk_update_sleep_time()
176 static void timekeeping_check_update(struct timekeeper *tk, u64 offset) in timekeeping_check_update()
217 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_get_delta()
256 static inline void timekeeping_check_update(struct timekeeper *tk, u64 offset) in timekeeping_check_update()
284 static void tk_setup_internals(struct timekeeper *tk, struct clocksource *clock) in tk_setup_internals()
504 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_boot_fast_ns()
554 static void halt_fast_timekeeper(const struct timekeeper *tk) in halt_fast_timekeeper()
573 static void update_pvclock_gtod(struct timekeeper *tk, bool was_set) in update_pvclock_gtod()
583 struct timekeeper *tk = &tk_core.timekeeper; in pvclock_gtod_register_notifier()
616 static inline void tk_update_leap_state(struct timekeeper *tk) in tk_update_leap_state()
627 static inline void tk_update_ktime_data(struct timekeeper *tk) in tk_update_ktime_data()
658 static void timekeeping_update(struct timekeeper *tk, unsigned int action) in timekeeping_update()
683 memcpy(&shadow_timekeeper, &tk_core.timekeeper, in timekeeping_update()
684 sizeof(tk_core.timekeeper)); in timekeeping_update()
694 static void timekeeping_forward_now(struct timekeeper *tk) in timekeeping_forward_now()
725 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_real_ts64()
746 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get()
766 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_resolution_ns()
782 [TK_OFFS_REAL] = &tk_core.timekeeper.offs_real,
783 [TK_OFFS_BOOT] = &tk_core.timekeeper.offs_boot,
784 [TK_OFFS_TAI] = &tk_core.timekeeper.offs_tai,
789 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_with_offset()
810 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_with_offset()
852 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw()
878 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_ts64()
910 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_seconds()
930 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_real_seconds()
954 struct timekeeper *tk = &tk_core.timekeeper; in __ktime_get_real_seconds()
965 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_snapshot()
981 tk_core.timekeeper.offs_real); in ktime_get_snapshot()
1034 struct timekeeper *tk = &tk_core.timekeeper; in adjust_historical_crosststamp()
1122 struct timekeeper *tk = &tk_core.timekeeper; in get_device_system_crosststamp()
1167 tk_core.timekeeper.offs_real); in get_device_system_crosststamp()
1238 struct timekeeper *tk = &tk_core.timekeeper; in do_settimeofday64()
1284 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_offset()
1358 static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) in __timekeeping_set_tai_offset()
1371 struct timekeeper *tk = &tk_core.timekeeper; in change_clocksource()
1413 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_notify()
1430 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw_ts64()
1452 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_valid_for_hres()
1471 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_max_deferment()
1552 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_init()
1604 static void __timekeeping_inject_sleeptime(struct timekeeper *tk, in __timekeeping_inject_sleeptime()
1668 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_sleeptime64()
1695 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_resume()
1755 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_suspend()
1838 static __always_inline void timekeeping_apply_adjustment(struct timekeeper *tk, in timekeeping_apply_adjustment()
1916 static void timekeeping_adjust(struct timekeeper *tk, s64 offset) in timekeeping_adjust()
1978 static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk) in accumulate_nsecs_to_secs()
2027 static u64 logarithmic_accumulation(struct timekeeper *tk, u64 offset, in logarithmic_accumulation()
2067 struct timekeeper *real_tk = &tk_core.timekeeper; in timekeeping_advance()
2068 struct timekeeper *tk = &shadow_timekeeper; in timekeeping_advance()
2170 struct timekeeper *tk = &tk_core.timekeeper; in getboottime64()
2179 struct timekeeper *tk = &tk_core.timekeeper; in get_seconds()
2187 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_real_ts64()
2200 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_ts64()
2241 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_update_offsets_now()
2340 struct timekeeper *tk = &tk_core.timekeeper; in do_adjtimex()