Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 12 of 12) sorted by relevance

/io_uring/
Drsrc.h71 int io_sqe_buffers_register(struct io_ring_ctx *ctx, void __user *arg,
75 int io_sqe_files_register(struct io_ring_ctx *ctx, void __user *arg,
78 int io_register_files_update(struct io_ring_ctx *ctx, void __user *arg,
80 int io_register_rsrc_update(struct io_ring_ctx *ctx, void __user *arg,
82 int io_register_rsrc(struct io_ring_ctx *ctx, void __user *arg,
During_cmd.c173 int ret, arg = 0; in io_uring_cmd_sock() local
180 ret = prot->ioctl(sk, SIOCINQ, &arg); in io_uring_cmd_sock()
183 return arg; in io_uring_cmd_sock()
185 ret = prot->ioctl(sk, SIOCOUTQ, &arg); in io_uring_cmd_sock()
188 return arg; in io_uring_cmd_sock()
Drsrc.c21 u64 arg; member
87 void __user *arg, unsigned index) in io_copy_iov() argument
96 ciovs = (struct compat_iovec __user *) arg; in io_copy_iov()
105 src = (struct iovec __user *) arg; in io_copy_iov()
494 int io_register_files_update(struct io_ring_ctx *ctx, void __user *arg, in io_register_files_update() argument
502 if (copy_from_user(&up, arg, sizeof(struct io_uring_rsrc_update))) in io_register_files_update()
509 int io_register_rsrc_update(struct io_ring_ctx *ctx, void __user *arg, in io_register_rsrc_update() argument
516 if (copy_from_user(&up, arg, sizeof(up))) in io_register_rsrc_update()
523 __cold int io_register_rsrc(struct io_ring_ctx *ctx, void __user *arg, in io_register_rsrc() argument
533 if (copy_from_user(&rr, arg, size)) in io_register_rsrc()
[all …]
Dio_uring.c2856 static int io_eventfd_register(struct io_ring_ctx *ctx, void __user *arg, in io_eventfd_register() argument
2860 __s32 __user *fds = arg; in io_eventfd_register()
3588 struct io_uring_getevents_arg arg; in io_validate_ext_arg() local
3590 if (argsz != sizeof(arg)) in io_validate_ext_arg()
3592 if (copy_from_user(&arg, argp, sizeof(arg))) in io_validate_ext_arg()
3602 struct io_uring_getevents_arg arg; in io_get_ext_arg() local
3618 if (*argsz != sizeof(arg)) in io_get_ext_arg()
3620 if (copy_from_user(&arg, argp, sizeof(arg))) in io_get_ext_arg()
3622 if (arg.pad) in io_get_ext_arg()
3624 *sig = u64_to_user_ptr(arg.sigmask); in io_get_ext_arg()
[all …]
Dtctx.c256 struct io_uring_rsrc_update __user *arg = __arg; in io_ringfd_register() local
274 if (copy_from_user(&reg, &arg[i], sizeof(reg))) { in io_ringfd_register()
301 if (copy_to_user(&arg[i], &reg, sizeof(reg))) { in io_ringfd_register()
315 struct io_uring_rsrc_update __user *arg = __arg; in io_ringfd_unregister() local
326 if (copy_from_user(&reg, &arg[i], sizeof(reg))) { in io_ringfd_unregister()
Dkbuf.h54 int io_register_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg);
55 int io_unregister_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg);
Dcancel.h23 int io_sync_cancel(struct io_ring_ctx *ctx, void __user *arg);
Dfiletable.c161 struct io_uring_file_index_range __user *arg) in io_register_file_alloc_range() argument
166 if (copy_from_user(&range, arg, sizeof(range))) in io_register_file_alloc_range()
Dkbuf.c608 int io_register_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg) in io_register_pbuf_ring() argument
616 if (copy_from_user(&reg, arg, sizeof(reg))) in io_register_pbuf_ring()
668 int io_unregister_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg) in io_unregister_pbuf_ring() argument
675 if (copy_from_user(&reg, arg, sizeof(reg))) in io_unregister_pbuf_ring()
Dfiletable.h18 struct io_uring_file_index_range __user *arg);
Dcancel.c257 int io_sync_cancel(struct io_ring_ctx *ctx, void __user *arg) in io_sync_cancel() argument
270 if (copy_from_user(&sc, arg, sizeof(sc))) in io_sync_cancel()
Drw.c589 int sync, void *arg) in io_async_buf_func() argument
594 struct wait_page_key *key = arg; in io_async_buf_func()