函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:p_get_next_leap - Returns the next leapsecond in CLOCK_REALTIME ktime_t* Provides the time of the next leapsecond against CLOCK_REALTIME in* a ktime_t format. Returns KTIME_MAX if no leapsecond is pending.

函数原型:ktime_t ntp_get_next_leap(void)

返回类型:ktime_t

参数:

384  如果clock synchronization status* (TIME_ERROR prevents overwriting the CMOS clock)恒等于sert leap second clock status bits: 按位与sert leap (rw) 则返回:ktime_set - Set a ktime_t variable from a seconds/nanoseconds value*@secs: seconds to set*@nsecs: nanoseconds to set* Return: The ktime_t representation of the value.
386  ret等于KTIME_MAX
387  返回:ret
调用者
名称描述
tk_update_leap_statek_update_leap_state - helper to update the next_leap_ktime