Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Add two timespec64 values and do a safety check for overflow.* It's assumed that both values are valid (>= 0).* And, each timespec64 is in normalized form.

Proto:struct timespec64 timespec64_add_safe(const struct timespec64 lhs, const struct timespec64 rhs)

Type:struct timespec64

Parameter:

TypeParameterName
const struct timespec64lhs
const struct timespec64rhs
861  set_normalized_timespec - set timespec sec and nsec parts and normalize*@ts: pointer to timespec variable to be set*@sec: seconds to set*@nsec: nanoseconds to set* Set seconds and nanoseconds field of a timespec variable and* normalize to the timespec
864  If Value for the false possibility is greater at compile time( seconds < seconds || seconds < seconds ) Then
865  seconds = Located here for timespec[64]_valid_strict
866  nanoseconds = 0
869  Return res
Caller
NameDescribe
ep_set_mstimeout