tk_core
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
tk_core.timekeeper.offs_real);
tk_core.timekeeper.offs_boot);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
struct clocksource *cs = tk_core.timekeeper.tkr_mono.clock;
struct clocksource *cs = tk_core.timekeeper.tkr_mono.clock;
struct tk_read_base *tkr = &tk_core.timekeeper.tkr_mono;
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
tk_core.timekeeper.offs_real);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct clocksource_base *base = READ_ONCE(tk_core.timekeeper.tkr_mono.clock->base);
scoped_guard (raw_spinlock_irqsave, &tk_core.lock) {
struct timekeeper *tks = &tk_core.shadow_timekeeper;
timekeeping_restore_shadow(&tk_core);
timekeeping_update_from_shadow(&tk_core, TK_UPDATE_ALL);
scoped_guard (raw_spinlock_irqsave, &tk_core.lock)
ret = __timekeeping_inject_offset(&tk_core, ts);
scoped_guard (raw_spinlock_irqsave, &tk_core.lock) {
struct timekeeper *tks = &tk_core.shadow_timekeeper;
timekeeping_update_from_shadow(&tk_core, TK_UPDATE_ALL);
struct timekeeper *tk = &tk_core.timekeeper;
raw_spin_lock_irqsave(&tk_core.lock, flags);
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
raw_spin_unlock_irqrestore(&tk_core.lock, flags);
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tks = &tk_core.shadow_timekeeper;
tkd_basic_setup(&tk_core, TIMEKEEPER_CORE, true);
guard(raw_spinlock_irqsave)(&tk_core.lock);
timekeeping_update_from_shadow(&tk_core, TK_CLOCK_WAS_SET);
scoped_guard(raw_spinlock_irqsave, &tk_core.lock) {
struct timekeeper *tks = &tk_core.shadow_timekeeper;
timekeeping_update_from_shadow(&tk_core, TK_UPDATE_ALL);
struct timekeeper *tks = &tk_core.shadow_timekeeper;
raw_spin_lock_irqsave(&tk_core.lock, flags);
timekeeping_update_from_shadow(&tk_core, TK_CLOCK_WAS_SET);
raw_spin_unlock_irqrestore(&tk_core.lock, flags);
struct timekeeper *tks = &tk_core.shadow_timekeeper;
raw_spin_lock_irqsave(&tk_core.lock, flags);
timekeeping_update_from_shadow(&tk_core, 0);
raw_spin_unlock_irqrestore(&tk_core.lock, flags);
guard(raw_spinlock_irqsave)(&tk_core.lock);
return __timekeeping_advance(&tk_core, mode);
struct timekeeper *tk = &tk_core.timekeeper;
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
offset = tk_core.timekeeper.offs_real;
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
offset = tk_core.timekeeper.offs_real;
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct tk_read_base *tkr = &tk_core.timekeeper.tkr_mono;
ret = __do_adjtimex(&tk_core, txc, &result);
guard(raw_spinlock_irqsave)(&tk_core.lock);
tk_setup_internals(tks, tk_core.timekeeper.tkr_mono.clock);
struct tk_read_base *tkr_raw = &tk_core.timekeeper.tkr_raw;
guard(raw_spinlock_irq)(&tk_core.lock);
struct timekeeper *tk = &tk_core.timekeeper;
struct timekeeper *tk = &tk_core.timekeeper;
struct timekeeper *tk = &tk_core.timekeeper;
guard(raw_spinlock_irqsave)(&tk_core.lock);
guard(raw_spinlock_irqsave)(&tk_core.lock);
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
[TK_OFFS_REAL] = &tk_core.timekeeper.offs_real,
[TK_OFFS_BOOT] = &tk_core.timekeeper.offs_boot,
[TK_OFFS_TAI] = &tk_core.timekeeper.offs_tai,
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;
seq = read_seqcount_begin(&tk_core.seq);
} while (read_seqcount_retry(&tk_core.seq, seq));
struct timekeeper *tk = &tk_core.timekeeper;