函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\ntp.c Create Date:2022-07-27 11:43:31
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:process_adjtimex_modes

函数原型:static inline void process_adjtimex_modes(const struct __kernel_timex *txc, s32 *time_tai)

返回类型:void

参数:

类型参数名称
const struct __kernel_timex *txc
s32 *time_tai
664  如果 mode selector 按位与clock status Propagate a new txc->status value into the NTP state:
667  如果 mode selector 按位与select nanosecond resolution clock status bits: 或等于solution (0 = us, 1 = ns) (ro)
670  如果 mode selector 按位与select microsecond resolution clock status bits: 与等于solution (0 = us, 1 = ns) (ro) 的反
673  如果 mode selector 按位与quency offset
674  quency offset (scaled nsecs/secs): 等于 frequency offset (scaled ppm) PPM_SCALE
675  quency offset (scaled nsecs/secs): 等于两数取小(quency offset (scaled nsecs/secs): , MAXFREQ_SCALED)
676  quency offset (scaled nsecs/secs): 等于两数取大(quency offset (scaled nsecs/secs): , - MAXFREQ_SCALED)
678  pps_set_freq(quency offset (scaled nsecs/secs): )
681  如果 mode selector 按位与maximum time error maximum error (usecs): 等于 maximum error (usec)
684  如果 mode selector 按位与stimated time error stimated error (usecs): 等于 estimated error (usec)
687  如果 mode selector 按位与pll time constant
688  pll time constant: 等于 pll time constant
689  如果非clock status bits: 按位与solution (0 = us, 1 = ns) (ro) 的值则pll time constant: 加等于4
691  pll time constant: 等于两数取小(pll time constant: , (long)maximum time constant (shift) )
692  pll time constant: 等于两数取大(pll time constant: , 0l)
695  如果 mode selector 按位与set TAI offset pll time constant 大于等于0且 pll time constant 小于等于MAX_TAI_OFFSETtime_tai等于 pll time constant
699  如果 mode selector 按位与ime offset ntp_update_offset( time offset (usec) )
702  如果 mode selector 按位与ick value USER_HZ period (usecs): 等于 (modified) usecs between clock ticks
705  如果 mode selector 按位与ick value 按位或quency offset 按位或ime offset 的值则Update (tick_length, tick_length_base, tick_nsec), based* on (tick_usec, ntp_tick_adj, time_freq):
调用者
名称描述
__do_adjtimexadjtimex mainly allows reading (and writing, if superuser) of* kernel time-keeping variables. used by xntpd.