Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_itimerval

Proto:static int get_itimerval(struct itimerspec64 *o, const struct itimerval __user *i)

Type:int

Parameter:

TypeParameterName
struct itimerspec64 *o
const struct itimerval __user *i
321  If copy_from_user( & v, i, sizeof(structitimerval)) Then Return -EFAULT
325  If Not Returns true if the timeval is in canonical form( & current value ) || Not Returns true if the timeval is in canonical form( & timer interval ) Then Return -EINVAL
329  seconds = seconds
330  nanoseconds = microseconds * NSEC_PER_USEC
331  seconds = seconds
332  nanoseconds = microseconds * NSEC_PER_USEC
333  Return 0
Caller
NameDescribe
SYSCALL_DEFINE3