Lines Matching refs:timekeeper

52 	struct timekeeper	timekeeper;  member
57 static struct timekeeper shadow_timekeeper;
117 static inline void tk_normalize_xtime(struct timekeeper *tk) in tk_normalize_xtime()
129 static inline struct timespec64 tk_xtime(const struct timekeeper *tk) in tk_xtime()
138 static void tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts) in tk_set_xtime()
144 static void tk_xtime_add(struct timekeeper *tk, const struct timespec64 *ts) in tk_xtime_add()
151 static void tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm) in tk_set_wall_to_mono()
168 static inline void tk_update_sleep_time(struct timekeeper *tk, ktime_t delta) in tk_update_sleep_time()
201 static void timekeeping_check_update(struct timekeeper *tk, u64 offset) in timekeeping_check_update()
244 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_debug_get_ns()
280 static inline void timekeeping_check_update(struct timekeeper *tk, u64 offset) in timekeeping_check_update()
300 static void tk_setup_internals(struct timekeeper *tk, struct clocksource *clock) in tk_setup_internals()
531 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_boot_fast_ns()
548 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_tai_fast_ns()
632 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_fast_timestamps()
648 static void halt_fast_timekeeper(const struct timekeeper *tk) in halt_fast_timekeeper()
667 static void update_pvclock_gtod(struct timekeeper *tk, bool was_set) in update_pvclock_gtod()
678 struct timekeeper *tk = &tk_core.timekeeper; in pvclock_gtod_register_notifier()
712 static inline void tk_update_leap_state(struct timekeeper *tk) in tk_update_leap_state()
723 static inline void tk_update_ktime_data(struct timekeeper *tk) in tk_update_ktime_data()
754 static void timekeeping_update(struct timekeeper *tk, unsigned int action) in timekeeping_update()
779 memcpy(&shadow_timekeeper, &tk_core.timekeeper, in timekeeping_update()
780 sizeof(tk_core.timekeeper)); in timekeeping_update()
791 static void timekeeping_forward_now(struct timekeeper *tk) in timekeeping_forward_now()
819 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_real_ts64()
840 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get()
860 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_resolution_ns()
876 [TK_OFFS_REAL] = &tk_core.timekeeper.offs_real,
877 [TK_OFFS_BOOT] = &tk_core.timekeeper.offs_boot,
878 [TK_OFFS_TAI] = &tk_core.timekeeper.offs_tai,
883 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_with_offset()
904 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_with_offset()
947 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw()
973 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_ts64()
1005 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_seconds()
1024 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_real_seconds()
1048 struct timekeeper *tk = &tk_core.timekeeper; in __ktime_get_real_seconds()
1059 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_snapshot()
1076 tk_core.timekeeper.offs_real); in ktime_get_snapshot()
1128 struct timekeeper *tk = &tk_core.timekeeper; in adjust_historical_crosststamp()
1212 struct clocksource *cs = tk_core.timekeeper.tkr_mono.clock; in convert_base_to_cs()
1240 struct clocksource *cs = tk_core.timekeeper.tkr_mono.clock; in convert_cs_to_base()
1259 struct tk_read_base *tkr = &tk_core.timekeeper.tkr_mono; in convert_ns_to_cs()
1280 struct timekeeper *tk = &tk_core.timekeeper; in ktime_real_to_base_clock()
1320 struct timekeeper *tk = &tk_core.timekeeper; in get_device_system_crosststamp()
1366 tk_core.timekeeper.offs_real); in get_device_system_crosststamp()
1429 struct clocksource_base *base = READ_ONCE(tk_core.timekeeper.tkr_mono.clock->base); in timekeeping_clocksource_has_base()
1443 struct timekeeper *tk = &tk_core.timekeeper; in do_settimeofday64()
1493 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_offset()
1566 static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset) in __timekeeping_set_tai_offset()
1579 struct timekeeper *tk = &tk_core.timekeeper; in change_clocksource()
1631 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_notify()
1648 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw_ts64()
1670 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_valid_for_hres()
1689 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_max_deferment()
1764 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_init()
1817 static void __timekeeping_inject_sleeptime(struct timekeeper *tk, in __timekeeping_inject_sleeptime()
1881 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_sleeptime64()
1908 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_resume()
1970 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_suspend()
2053 static __always_inline void timekeeping_apply_adjustment(struct timekeeper *tk, in timekeeping_apply_adjustment()
2131 static void timekeeping_adjust(struct timekeeper *tk, s64 offset) in timekeeping_adjust()
2192 static inline unsigned int accumulate_nsecs_to_secs(struct timekeeper *tk) in accumulate_nsecs_to_secs()
2241 static u64 logarithmic_accumulation(struct timekeeper *tk, u64 offset, in logarithmic_accumulation()
2281 struct timekeeper *real_tk = &tk_core.timekeeper; in timekeeping_advance()
2282 struct timekeeper *tk = &shadow_timekeeper; in timekeeping_advance()
2377 struct timekeeper *tk = &tk_core.timekeeper; in getboottime64()
2386 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_real_ts64()
2399 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_ts64()
2440 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_update_offsets_now()
2539 struct tk_read_base *tkr = &tk_core.timekeeper.tkr_mono; in random_get_entropy_fallback()
2554 struct timekeeper *tk = &tk_core.timekeeper; in do_adjtimex()