函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tk_set_xtime

函数原型:static void tk_set_xtime(struct timekeeper *tk, const struct timespec64 *ts)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
const struct timespec64 *ts
118  xtime_sec等于 seconds
119  xtime_nsec等于 nanoseconds 左移shift
调用者
名称描述
do_settimeofday64do_settimeofday64 - Sets the time of day.*@ts: pointer to the timespec64 variable containing the new time* Sets the time of day to the new time and update NTP and notify hrtimers
timekeeping_init初始化系统时钟计时