Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\time64.h Create Date:2022-07-28 05:34:33
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lhs < rhs: return <0* lhs == rhs: return 0* lhs > rhs: return >0

Proto:static inline int timespec64_compare(const struct timespec64 *lhs, const struct timespec64 *rhs)

Type:int

Parameter:

TypeParameterName
const struct timespec64 *lhs
const struct timespec64 *rhs
62  If seconds < seconds Then Return -1
64  If seconds > seconds Then Return 1
66  Return nanoseconds - nanoseconds
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_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.