Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tk_set_wall_to_mono

Proto:static void tk_set_wall_to_mono(struct timekeeper *tk, struct timespec64 wtm)

Type:void

Parameter:

TypeParameterName
struct timekeeper *tk
struct timespec64wtm
137  set_normalized_timespec - set timespec sec and nsec parts and normalize*@ts: pointer to timespec variable to be set*@sec: seconds to set*@nsec: nanoseconds to set* Set seconds and nanoseconds field of a timespec variable and* normalize to the timespec
139  WARN_ON_ONCE(offs_real != vert a timespec64 to ktime_t format: )
140  wall_to_monotonic = wtm
141  set_normalized_timespec - set timespec sec and nsec parts and normalize*@ts: pointer to timespec variable to be set*@sec: seconds to set*@nsec: nanoseconds to set* Set seconds and nanoseconds field of a timespec variable and* normalize to the timespec
142  offs_real = vert a timespec64 to ktime_t format:
143  offs_tai = Add two ktime_t variables. res = lhs + rhs: (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.)
Caller
NameDescribe
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_inject_offsetmekeeping_inject_offset - Adds or subtracts from the current time.*@tv: pointer to the timespec variable containing the offset* Adds or subtracts an offset value from the current time.
timekeeping_initmekeeping_init - Initializes the clocksource and common timekeeping values
__timekeeping_inject_sleeptime__timekeeping_inject_sleeptime - Internal function to add sleep interval*@delta: pointer to a timespec delta value* Takes a timespec offset measuring a suspend interval and properly* adds the sleep offset to the timekeeping variables.
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.