Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__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.

Proto:static void __timekeeping_inject_sleeptime(struct timekeeper *tk, const struct timespec64 *delta)

Type:void

Parameter:

TypeParameterName
struct timekeeper *tk
const struct timespec64 *delta
1590  If Not timespec64_valid_strict(delta) Then
1591  printk_deferred(warning conditions "__timekeeping_inject_sleeptime: Invalid sleep delta value!\n")
1594  Return
1596  tk_xtime_add(tk, delta)
1597  tk_set_wall_to_mono(tk, sub = lhs - rhs, in normalized form)
1598  tk_update_sleep_time(tk, vert a timespec64 to ktime_t format: )
Caller
NameDescribe
timekeeping_resumemekeeping_resume - Resumes the generic timekeeping subsystem.