• Home
  • Raw
  • Download

Lines Matching refs:up

1096 				     struct io_uring_rsrc_update2 *up,
6616 struct io_uring_rsrc_update2 up; in io_files_update() local
6619 up.offset = req->rsrc_update.offset; in io_files_update()
6620 up.data = req->rsrc_update.arg; in io_files_update()
6621 up.nr = 0; in io_files_update()
6622 up.tags = 0; in io_files_update()
6623 up.resv = 0; in io_files_update()
6624 up.resv2 = 0; in io_files_update()
6628 &up, req->rsrc_update.nr_args); in io_files_update()
8739 struct io_uring_rsrc_update2 *up, in __io_sqe_files_update() argument
8742 u64 __user *tags = u64_to_user_ptr(up->tags); in __io_sqe_files_update()
8743 __s32 __user *fds = u64_to_user_ptr(up->data); in __io_sqe_files_update()
8753 if (up->offset + nr_args > ctx->nr_user_files) in __io_sqe_files_update()
8771 i = array_index_nospec(up->offset + done, ctx->nr_user_files); in __io_sqe_files_update()
9409 struct io_uring_rsrc_update2 *up, in __io_sqe_buffers_update() argument
9412 u64 __user *tags = u64_to_user_ptr(up->tags); in __io_sqe_buffers_update()
9413 struct iovec iov, __user *iovs = u64_to_user_ptr(up->data); in __io_sqe_buffers_update()
9421 if (up->offset + nr_args > ctx->nr_user_bufs) in __io_sqe_buffers_update()
9426 int offset = up->offset + done; in __io_sqe_buffers_update()
10838 struct io_uring_rsrc_update2 *up, in __io_register_rsrc_update() argument
10844 if (check_add_overflow(up->offset, nr_args, &tmp)) in __io_register_rsrc_update()
10852 return __io_sqe_files_update(ctx, up, nr_args); in __io_register_rsrc_update()
10854 return __io_sqe_buffers_update(ctx, up, nr_args); in __io_register_rsrc_update()
10862 struct io_uring_rsrc_update2 up; in io_register_files_update() local
10866 memset(&up, 0, sizeof(up)); in io_register_files_update()
10867 if (copy_from_user(&up, arg, sizeof(struct io_uring_rsrc_update))) in io_register_files_update()
10869 if (up.resv || up.resv2) in io_register_files_update()
10871 return __io_register_rsrc_update(ctx, IORING_RSRC_FILE, &up, nr_args); in io_register_files_update()
10877 struct io_uring_rsrc_update2 up; in io_register_rsrc_update() local
10879 if (size != sizeof(up)) in io_register_rsrc_update()
10881 if (copy_from_user(&up, arg, sizeof(up))) in io_register_rsrc_update()
10883 if (!up.nr || up.resv || up.resv2) in io_register_rsrc_update()
10885 return __io_register_rsrc_update(ctx, type, &up, up.nr); in io_register_rsrc_update()