函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sync_rtc_clock

函数原型:static void sync_rtc_clock(void)

返回类型:void

参数:

538  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_RTC_SYSTOHC)则返回
541  ktime_get_real_ts64 - Returns the time of day in a timespec64.*@ts: pointer to the timespec to be set* Returns the time of day in a timespec64 (WARN if suspended).
543  adjust等于now
544  如果Indicates if there is an offset between the system clock and the hardware* clock/persistent clock/rtc. seconds 减等于 minutes west of Greenwich 乘60
551  rc等于rtc_set_ntp_time(adjust, & target_nsec)
552  如果rc恒等于负ENODEV则返回
555  sched_sync_hw_clock(now, target_nsec, rc)
调用者
名称描述
sync_hw_clock