函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\time64.h Create Date:2022-07-27 06:38:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:lhs < rhs: return <0* lhs == rhs: return 0* lhs > rhs: return >0

函数原型:static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs)

返回类型:int

参数:

类型参数名称
const struct timespec64 *lhs
const struct timespec64 *rhs
62  如果 seconds 小于 seconds 则返回:负1
64  如果 seconds 大于 seconds 则返回:1
66  返回: nanoseconds nanoseconds
调用者
名称描述
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_init初始化系统时钟计时
timekeeping_resumemekeeping_resume - Resumes the generic timekeeping subsystem.
relatime_need_updateWith relative atime, only update atime if the previous atime is* earlier than either the ctime or mtime or if at least a day has* passed since the last atime update.