函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sync_cmos_clock

函数原型:static bool sync_cmos_clock(void)

返回类型:bool

参数:

570  rc等于负EPROTO
571  target_nsec等于NSEC_PER_SEC除2
573  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GENERIC_CMOS_UPDATE)则返回:false
576  如果no_cmos则返回:false
587  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).
588  如果Determine if we can call to driver to set the time
589  如果Indicates if there is an offset between the system clock and the hardware* clock/persistent clock/rtc. seconds 减等于 minutes west of Greenwich 乘60
591  rc等于update_persistent_clock64(adjust)
596  如果rc恒等于负ENODEV
597  no_cmos = true
598  返回:false
602  sched_sync_hw_clock(now, target_nsec, rc)
603  返回:true
调用者
名称描述
sync_hw_clock