Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:must hold timekeeper_lock

Proto:static void timekeeping_update(struct timekeeper *tk, unsigned int action)

Type:void

Parameter:

TypeParameterName
struct timekeeper *tk
unsigned intaction
663  If action & TK_CLEAR_NTP Then
664  Difference between accumulated time and NTP time in ntp* shifted nano seconds. = 0
665  ntp_clear()
668  k_update_leap_state - helper to update the next_leap_ktime
669  Update the ktime_t based scalar nsec members of the timekeeper
671  update_vsyscall(tk)
672  update_pvclock_gtod(tk, action & TK_CLOCK_WAS_SET)
674  base_real = base + offs_real
675  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.
676  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.
678  If action & TK_CLOCK_WAS_SET Then clock_was_set_seq++
685  If action & TK_MIRROR Then No 3D Now!( & shadow_timekeeper, & timekeeper, size of timekeeper )
Caller
NameDescribe
do_settimeofday64do_settimeofday64 - Sets the time of day.*@ts: pointer to the timespec64 variable containing the new time* Sets the time of day to the new time and update NTP and notify hrtimers
timekeeping_inject_offsetmekeeping_inject_offset - Adds or subtracts from the current time.*@tv: pointer to the timespec variable containing the offset* Adds or subtracts an offset value from the current time.
change_clocksourcehange_clocksource - Swaps clocksources if a new one is available* Accumulates current time interval and initializes new clocksource
timekeeping_initmekeeping_init - Initializes the clocksource and common timekeeping values
timekeeping_resumemekeeping_resume - Resumes the generic timekeeping subsystem.
timekeeping_suspend
timekeeping_advancemekeeping_advance - Updates the timekeeper to the current time and* current NTP tick length
do_adjtimexdo_adjtimex() - Accessor function to NTP __do_adjtimex function