Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:SYSCALL_DEFINE6

Proto:SYSCALL_DEFINE6(io_pgetevents, aio_context_t, ctx_id, long, min_nr, long, nr, struct io_event __user *, events, struct __kernel_timespec __user *, timeout, const struct __aio_sigset __user *, usig)

Type:

Parameter:Nothing

2110  struct __aio_sigset ksig = {NULL, }
2115  If timeout && Value for the false possibility is greater at compile time(get_timespec64( & ts, timeout)) Then Return -EFAULT
2118  If usig && copy_from_user( & ksig, usig, size of ksig ) Then Return -EFAULT
2121  ret = The api helps set app-provided sigmasks
2122  If ret Then Return ret
2125  ret = do_io_getevents(ctx_id, min_nr, nr, events, timeout ? & ts : NULL)
2127  interrupted = signal_pending(current process)
2128  restore_saved_sigmask_unless(interrupted)
2129  If interrupted && Not ret Then ret = -start if no handler..
2132  Return ret