Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:SYSCALL_DEFINE4

Proto:SYSCALL_DEFINE4(clock_nanosleep, const clockid_t, which_clock, int, flags, const struct __kernel_timespec __user *, rqtp, struct __kernel_timespec __user *, rmtp)

Type:

Parameter:Nothing

1212  kc = clockid_to_kclock(which_clock)
1215  If Not kc Then Return -EINVAL
1217  If Not nsleep Then Return -EOPNOTSUPP
1220  If get_timespec64( & t, rqtp) Then Return -EFAULT
1223  If Not Returns true if the timespec64 is norm, false if denorm: Then Return -EINVAL
1225  If prefix, newline flags & The various flags for setting POSIX.1b interval timers: Then rmtp = NULL
1227  type = If rmtp Then TT_NATIVE Else TT_NONE
1228  rmtp = rmtp
1230  Return nsleep(which_clock, prefix, newline flags , & t)