Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:halt_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

Proto:static void halt_fast_timekeeper(const struct timekeeper *tk)

Type:void

Parameter:

TypeParameterName
const struct timekeeper *tk
560  tkr = tkr_mono
562  No 3D Now!( & tkr_dummy, tkr, size of tkr_dummy )
563  Suspend-time cycles value for halted fast timekeeper. = 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
564  clock = dummy_clock
565  base_real = base + offs_real
566  pdate_fast_timekeeper - Update the fast and NMI safe monotonic timekeeper.*@tkr: Timekeeping readout base from which we take the update* We want to use this from any context including NMI and tracing /* instrumenting the timekeeping code itself.
568  tkr = tkr_raw
569  No 3D Now!( & tkr_dummy, tkr, size of tkr_dummy )
570  clock = dummy_clock
571  pdate_fast_timekeeper - Update the fast and NMI safe monotonic timekeeper.*@tkr: Timekeeping readout base from which we take the update* We want to use this from any context including NMI and tracing /* instrumenting the timekeeping code itself.
Caller
NameDescribe
timekeeping_suspend