Home
last modified time | relevance | path

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

/linux/kernel/time/
H A Dtimekeeping.c703 static void tk_update_leap_state_all(struct tk_data *tkd) in tk_update_leap_state_all() argument
705 write_seqcount_begin(&tkd->seq); in tk_update_leap_state_all()
706 tk_update_leap_state(&tkd->shadow_timekeeper); in tk_update_leap_state_all()
707 tkd->timekeeper.next_leap_ktime = tkd->shadow_timekeeper.next_leap_ktime; in tk_update_leap_state_all()
708 write_seqcount_end(&tkd->seq); in tk_update_leap_state_all()
777 static void timekeeping_restore_shadow(struct tk_data *tkd) in timekeeping_restore_shadow() argument
779 lockdep_assert_held(&tkd->lock); in timekeeping_restore_shadow()
780 memcpy(&tkd->shadow_timekeeper, &tkd->timekeeper, sizeof(tkd->timekeeper)); in timekeeping_restore_shadow()
783 static void timekeeping_update_from_shadow(struct tk_data *tkd, unsigned int action) in timekeeping_update_from_shadow() argument
785 struct timekeeper *tk = &tkd->shadow_timekeeper; in timekeeping_update_from_shadow()
[all …]