move_pages: just use calloc
[trinity.git] / syscalls / preadv.c
blobff48dde19ab7aa7a87b1d0541921da14c76d1648
1 /*
2 * SYSCALL_DEFINE5(preadv, unsigned long, fd, const struct iovec __user *, vec,
3 unsigned long, vlen, unsigned long, pos_l, unsigned long, pos_h)
4 */
5 #include "sanitise.h"
7 struct syscallentry syscall_preadv = {
8 .name = "preadv",
9 .num_args = 5,
10 .arg1name = "fd",
11 .arg1type = ARG_FD,
12 .arg2name = "vec",
13 .arg2type = ARG_IOVEC,
14 .arg3name = "vlen",
15 .arg3type = ARG_IOVECLEN,
16 .arg4name = "pos_l",
17 .arg5name = "pos_h",
18 .flags = NEED_ALARM,