var scope reduction
[trinity.git] / syscalls / io_getevents.c
blob3df56a839bb8a208808424b672385c39388a8f9c
1 /*
2 * SYSCALL_DEFINE5(io_getevents, aio_context_t, ctx_id,
3 long, min_nr,
4 long, nr,
5 struct io_event __user *, events,
6 struct timespec __user *, timeout)
7 */
8 #include "sanitise.h"
10 struct syscallentry syscall_io_getevents = {
11 .name = "io_getevents",
12 .num_args = 5,
13 .arg1name = "ctx_id",
14 .arg2name = "min_nr",
15 .arg2type = ARG_LEN,
16 .arg3name = "nr",
17 .arg3type = ARG_LEN,
18 .arg4name = "events",
19 .arg4type = ARG_ADDRESS,
20 .arg5name = "timeout",
21 .arg5type = ARG_ADDRESS,