/io_uring/ |
D | rsrc.h | 71 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,
|
D | uring_cmd.c | 173 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()
|
D | rsrc.c | 21 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 …]
|
D | io_uring.c | 2856 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 …]
|
D | tctx.c | 256 struct io_uring_rsrc_update __user *arg = __arg; in io_ringfd_register() local 274 if (copy_from_user(®, &arg[i], sizeof(reg))) { in io_ringfd_register() 301 if (copy_to_user(&arg[i], ®, 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(®, &arg[i], sizeof(reg))) { in io_ringfd_unregister()
|
D | kbuf.h | 54 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);
|
D | cancel.h | 23 int io_sync_cancel(struct io_ring_ctx *ctx, void __user *arg);
|
D | filetable.c | 161 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()
|
D | kbuf.c | 608 int io_register_pbuf_ring(struct io_ring_ctx *ctx, void __user *arg) in io_register_pbuf_ring() argument 616 if (copy_from_user(®, 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(®, arg, sizeof(reg))) in io_unregister_pbuf_ring()
|
D | filetable.h | 18 struct io_uring_file_index_range __user *arg);
|
D | cancel.c | 257 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()
|
D | rw.c | 589 int sync, void *arg) in io_async_buf_func() argument 594 struct wait_page_key *key = arg; in io_async_buf_func()
|