Home
last modified time | relevance | path

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

/linux/kernel/time/
H A Dtimekeeping.c658 static void tk_update_leap_state_all(struct tk_data *tkd) in tk_update_leap_state_all() argument
660 write_seqcount_begin(&tkd->seq); in tk_update_leap_state_all()
661 tk_update_leap_state(&tkd->shadow_timekeeper); in tk_update_leap_state_all()
662 tkd->timekeeper.next_leap_ktime = tkd->shadow_timekeeper.next_leap_ktime; in tk_update_leap_state_all()
663 write_seqcount_end(&tkd->seq); in tk_update_leap_state_all()
702 static void timekeeping_restore_shadow(struct tk_data *tkd) in timekeeping_restore_shadow() argument
704 lockdep_assert_held(&tkd->lock); in timekeeping_restore_shadow()
705 memcpy(&tkd->shadow_timekeeper, &tkd->timekeeper, sizeof(tkd->timekeeper)); in timekeeping_restore_shadow()
708 static void timekeeping_update_from_shadow(struct tk_data *tkd, unsigned int action) in timekeeping_update_from_shadow() argument
710 struct timekeeper *tk = &tkd->shadow_timekeeper; in timekeeping_update_from_shadow()
[all …]