Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timekeeping.c Create Date:2022-07-28 10:41:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:k_clock_read - atomic clocksource read() helper* This helper is necessary to use in the read paths because, while the* seqlock ensures we don't return a bad value while structures are updated,* it doesn't protect from potential crashes

Proto:static inline u64 tk_clock_read(const struct tk_read_base *tkr)

Type:u64

Parameter:

TypeParameterName
const struct tk_read_base *tkr
171  clock = READ_ONCE(clock)
173  Return read(clock)
Caller
NameDescribe
timekeeping_get_delta
tk_setup_internalsk_setup_internals - Set up internals to use clocksource clock
__ktime_get_fast_nsktime_get_mono_fast_ns - Fast NMI safe access to clock monotonic* This timestamp is not guaranteed to be monotonic across an update
__ktime_get_real_fast_nsSee comment for __ktime_get_fast_ns() vs. timestamp ordering
halt_fast_timekeeperhalt_fast_timekeeper - Prevent fast timekeeper from accessing clocksource.*@tk: Timekeeper to snapshot.* It generally is unsafe to access the clocksource after timekeeping has been* suspended, so take a snapshot of the readout base of @tk and use it as the
timekeeping_forward_nowmekeeping_forward_now - update clock to the current time* Forward the current clock to update its state since the last call to* update_wall_time(). This is useful before significant clock changes,
ktime_get_snapshotktime_get_snapshot - snapshots the realtime/monotonic raw clocks with counter*@systime_snapshot: pointer to struct receiving the system time snapshot
get_device_system_crosststampget_device_system_crosststamp - Synchronously capture system/device timestamp*@get_time_fn: Callback to get simultaneous device time and* system counter from the device driver*@ctx: Context passed to get_time_fn()*@history_begin: Historical reference
timekeeping_resumemekeeping_resume - Resumes the generic timekeeping subsystem.
timekeeping_advancemekeeping_advance - Updates the timekeeper to the current time and* current NTP tick length