Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Propagate a new txc->status value into the NTP state:

Proto:static inline void process_adj_status(const struct __kernel_timex *txc)

Type:void

Parameter:

TypeParameterName
const struct __kernel_timex *txc
640  If clock status bits: & able PLL updates (rw) && Not ( clock command/status & able PLL updates (rw) ) Then
641  clock synchronization status* (TIME_ERROR prevents overwriting the CMOS clock) = clock synchronized, no leap second
642  clock status bits: = clock unsynchronized (rw)
643  second value of the next pending leapsecond, or TIME64_MAX if no leap = Located here for timespec[64]_valid_strict
645  pps_reset_freq_interval()
652  If Not (clock status bits: & able PLL updates (rw) ) && clock command/status & able PLL updates (rw) Then ime at last adjustment (secs): = __ktime_get_real_seconds - The same as ktime_get_real_seconds* but without the sequence counter protect. This internal function* is called just when timekeeping lock is already held.
656  clock status bits: &= ad-only bits
657  clock status bits: |= clock command/status & ~ad-only bits
Caller
NameDescribe
process_adjtimex_modes