Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timekeeping.c Create Date:2022-07-28 10:42:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ad_persistent_wall_and_boot_offset - Read persistent clock, and also offset* from the boot.* Weak dummy function for arches that do not yet support it.* The default function calculates offset based on the current value of* local_clock()

Proto:void __weak __init read_persistent_wall_and_boot_offset(struct timespec64 *wall_time, struct timespec64 *boot_offset)

Type:void

Parameter:

TypeParameterName
struct timespec64 *wall_time current time as returned by persistent clock
struct timespec64 *boot_offset offset that is defined as wall_time - boot_time
1507  ad_persistent_clock64 - Return time from the persistent clock.* Weak dummy function for arches that do not yet support it.* Reads the time from the battery backed persistent clock.* Returns a timespec with tv_sec=0 and tv_nsec=0 if unsupported.
1508  offset that is defined as wall_time - boot_time = s_to_timespec64 - Convert nanoseconds to timespec64*@nsec: the nanoseconds value to be converted* Returns the timespec64 representation of the nsec parameter.
Caller
NameDescribe
timekeeping_initmekeeping_init - Initializes the clocksource and common timekeeping values