Home
last modified time | relevance | path

Searched refs:offs_real (Results 1 – 2 of 2) sorted by relevance

/linux/kernel/time/
H A Dtimekeeping.c255 WARN_ON_ONCE(tk->offs_real != timespec64_to_ktime(tmp)); in tk_set_wall_to_mono()
259 WRITE_ONCE(tk->offs_real, timespec64_to_ktime(tmp)); in tk_set_wall_to_mono()
260 WRITE_ONCE(tk->offs_tai, ktime_add(tk->offs_real, ktime_set(tk->tai_offset, 0))); in tk_set_wall_to_mono()
643 tkr_dummy.base_real = tkr->base + tk->offs_real; in halt_fast_timekeeper()
696 tk->next_leap_ktime = ktime_sub(tk->next_leap_ktime, tk->offs_real); in tk_update_leap_state()
805 tk->tkr_mono.base_real = tk->tkr_mono.base + tk->offs_real; in timekeeping_update_from_shadow()
993 [TK_OFFS_REAL] = &tk_core.timekeeper.offs_real,
1209 tk_core.timekeeper.offs_real); in ktime_get_snapshot()
1502 tk_core.timekeeper.offs_real); in get_device_system_crosststamp()
1718 tk->offs_tai = ktime_add(tk->offs_real, ktime_set(tai_offset, 0)); in __timekeeping_set_tai_offset()
[all …]
H A Dhrtimer.c679 ktime_t *offs_real = &base->clock_base[HRTIMER_BASE_REALTIME].offset; in hrtimer_update_base() local
683 ktime_t now = ktime_get_update_offsets_now(&base->clock_was_set_seq, offs_real, in hrtimer_update_base()
686 base->clock_base[HRTIMER_BASE_REALTIME_SOFT].offset = *offs_real; in hrtimer_update_base()