Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tk_update_sleep_time

Proto:static inline void tk_update_sleep_time(struct timekeeper *tk, ktime_t delta)

Type:void

Parameter:

TypeParameterName
struct timekeeper *tk
ktime_tdelta
148  offs_boot = Add two ktime_t variables. res = lhs + rhs: (offs_boot, delta)
153  monotonic_to_boot = Map the ktime_t to timespec conversion to ns_to_timespec function (offs_boot)
Caller
NameDescribe
__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.