Lines Matching defs:tk

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() local
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() local
548 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_tai_fast_ns() local
632 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_fast_timestamps() local
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() local
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()
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() local
840 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get() local
860 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_resolution_ns() local
883 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_with_offset() local
904 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_with_offset() local
947 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw() local
973 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_ts64() local
1005 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_seconds() local
1024 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_real_seconds() local
1048 struct timekeeper *tk = &tk_core.timekeeper; in __ktime_get_real_seconds() local
1059 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_snapshot() local
1128 struct timekeeper *tk = &tk_core.timekeeper; in adjust_historical_crosststamp() local
1280 struct timekeeper *tk = &tk_core.timekeeper; in ktime_real_to_base_clock() local
1320 struct timekeeper *tk = &tk_core.timekeeper; in get_device_system_crosststamp() local
1443 struct timekeeper *tk = &tk_core.timekeeper; in do_settimeofday64() local
1493 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_offset() local
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() local
1631 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_notify() local
1648 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_raw_ts64() local
1670 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_valid_for_hres() local
1689 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_max_deferment() local
1764 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_init() local
1817 static void __timekeeping_inject_sleeptime(struct timekeeper *tk, in __timekeeping_inject_sleeptime()
1881 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_inject_sleeptime64() local
1908 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_resume() local
1970 struct timekeeper *tk = &tk_core.timekeeper; in timekeeping_suspend() local
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()
2282 struct timekeeper *tk = &shadow_timekeeper; in timekeeping_advance() local
2377 struct timekeeper *tk = &tk_core.timekeeper; in getboottime64() local
2386 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_real_ts64() local
2399 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_coarse_ts64() local
2440 struct timekeeper *tk = &tk_core.timekeeper; in ktime_get_update_offsets_now() local
2554 struct timekeeper *tk = &tk_core.timekeeper; in do_adjtimex() local