函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:k_update_leap_state - helper to update the next_leap_ktime

函数原型:static inline void tk_update_leap_state(struct timekeeper *tk)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
621  next_leap_ktime等于ntp_get_next_leap()
622  如果next_leap_ktime不等于KTIME_MAXnext_leap_ktime等于Subtract two ktime_t variables. rem = lhs -rhs: (next_leap_ktime, offs_real)
调用者
名称描述
timekeeping_updatemust hold timekeeper_lock
do_adjtimexdo_adjtimex() - Accessor function to NTP __do_adjtimex function