Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:SYSCALL_DEFINE2

Proto:SYSCALL_DEFINE2(clock_getres, const clockid_t, which_clock, struct __kernel_timespec __user *, tp)

Type:

Parameter:Nothing

1110  kc = clockid_to_kclock(which_clock)
1114  If Not kc Then Return -EINVAL
1117  error = clock_getres(which_clock, & rtn_tp)
1119  If Not error && tp && put_timespec64( & rtn_tp, tp) Then error = -EFAULT
1122  Return error