函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__timekeeping_set_tai_offset - Sets the TAI offset from UTC and monotonic

函数原型:static void __timekeeping_set_tai_offset(struct timekeeper *tk, s32 tai_offset)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
s32tai_offset
1351  tai_offset等于tai_offset
1352  offs_tai等于计算下一次触发时间(offs_real, 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.)
调用者
名称描述
accumulate_nsecs_to_secsaccumulate_nsecs_to_secs - Accumulates nsecs into secs* Helper function that accumulates the nsecs greater than a second* from the xtime_nsec field to the xtime_secs field.* It also calls into the NTP code to handle leapsecond processing.
do_adjtimexdo_adjtimex() - Accessor function to NTP __do_adjtimex function