函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__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.

函数原型:static void __timekeeping_inject_sleeptime(struct timekeeper *tk, const struct timespec64 *delta)

返回类型:void

参数:

类型参数名称
struct timekeeper *tk
const struct timespec64 *delta
1590  如果非timespec64_valid_strict(delta)则
1591  printk_deferred(warning conditions "__timekeeping_inject_sleeptime: Invalid sleep delta value!\n")
1594  返回
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: )
调用者
名称描述
timekeeping_resumemekeeping_resume - Resumes the generic timekeeping subsystem.