Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\select.c Create Date:2022-07-28 20:07:05
Last Modify:2020-03-18 10:25:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:SYSCALL_DEFINE5

Proto:SYSCALL_DEFINE5(ppoll, struct pollfd __user *, ufds, unsigned int, nfds, struct __kernel_timespec __user *, tsp, const sigset_t __user *, sigmask, size_t, sigsetsize)

Type:

Parameter:Nothing

1085  struct timespec64 ts, end_time, * to = NULL
1088  If tsp Then
1089  If get_timespec64( & ts, tsp) Then Return -EFAULT
1092  to = end_time
1093  If poll_select_set_timeout - helper function to setup the timeout value*@to: pointer to timespec64 variable for the final timeout*@sec: seconds (from user space)*@nsec: nanoseconds (from user space)* Note, we do not use a timespec for the user space value Then Return -EINVAL
1097  ret = The api helps set app-provided sigmasks
1098  If ret Then Return ret
1101  ret = do_sys_poll(ufds, nfds, to)
1102  Return poll_select_finish( & end_time, tsp, PT_TIMESPEC, ret)