/linux-master/io_uring/ |
H A D | sync.h | 3 int io_sfr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 6 int io_fsync_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 10 int io_fallocate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | epoll.h | 4 int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | nop.h | 3 int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | xattr.h | 5 int io_fsetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 8 int io_setxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 11 int io_fgetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 14 int io_getxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | truncate.h | 3 int io_ftruncate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | advise.h | 3 int io_madvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 6 int io_fadvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | splice.h | 3 int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 6 int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | rw.h | 15 int io_prep_read_fixed(struct io_kiocb *req, const struct io_uring_sqe *sqe); 16 int io_prep_write_fixed(struct io_kiocb *req, const struct io_uring_sqe *sqe); 17 int io_prep_readv(struct io_kiocb *req, const struct io_uring_sqe *sqe); 18 int io_prep_writev(struct io_kiocb *req, const struct io_uring_sqe *sqe); 19 int io_prep_read(struct io_kiocb *req, const struct io_uring_sqe *sqe); 20 int io_prep_write(struct io_kiocb *req, const struct io_uring_sqe *sqe); 26 int io_read_mshot_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | fs.h | 3 int io_renameat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 7 int io_unlinkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 11 int io_mkdirat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 15 int io_symlinkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 18 int io_linkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | sync.c | 25 int io_sfr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 29 if (unlikely(sqe->addr || sqe->buf_index || sqe->splice_fd_in)) 32 sync->off = READ_ONCE(sqe->off); 33 sync->len = READ_ONCE(sqe->len); 34 sync->flags = READ_ONCE(sqe->sync_range_flags); 53 int io_fsync_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 57 if (unlikely(sqe->addr || sqe 85 io_fallocate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument [all...] |
H A D | statx.h | 3 int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | msg_ring.h | 3 int io_msg_ring_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | openclose.h | 6 int io_openat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 10 int io_openat2_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 13 int io_close_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 16 int io_install_fixed_fd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | truncate.c | 23 int io_ftruncate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 27 if (sqe->rw_flags || sqe->addr || sqe->len || sqe->buf_index || 28 sqe->splice_fd_in || sqe->addr3) 31 ft->len = READ_ONCE(sqe->off);
|
H A D | advise.c | 31 int io_madvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 36 if (sqe->buf_index || sqe->off || sqe->splice_fd_in) 39 ma->addr = READ_ONCE(sqe->addr); 40 ma->len = READ_ONCE(sqe->len); 41 ma->advice = READ_ONCE(sqe->fadvise_advice); 77 int io_fadvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 81 if (sqe->buf_index || sqe [all...] |
H A D | fs.c | 50 int io_renameat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 55 if (sqe->buf_index || sqe->splice_fd_in) 60 ren->old_dfd = READ_ONCE(sqe->fd); 61 oldf = u64_to_user_ptr(READ_ONCE(sqe->addr)); 62 newf = u64_to_user_ptr(READ_ONCE(sqe->addr2)); 63 ren->new_dfd = READ_ONCE(sqe->len); 64 ren->flags = READ_ONCE(sqe->rename_flags); 104 int io_unlinkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 109 if (sqe 154 io_mkdirat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 198 io_symlinkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 241 io_linkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument [all...] |
H A D | epoll.c | 24 int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 28 if (sqe->buf_index || sqe->splice_fd_in) 31 epoll->epfd = READ_ONCE(sqe->fd); 32 epoll->op = READ_ONCE(sqe->len); 33 epoll->fd = READ_ONCE(sqe->off); 38 ev = u64_to_user_ptr(READ_ONCE(sqe->addr));
|
H A D | net.h | 23 int io_shutdown_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 27 int io_sendmsg_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 32 int io_recvmsg_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 38 int io_accept_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 41 int io_socket_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 44 int io_connect_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 49 int io_send_zc_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | uring_cmd.h | 8 int io_uring_cmd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | statx.c | 23 int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 28 if (sqe->buf_index || sqe->splice_fd_in) 33 sx->dfd = READ_ONCE(sqe->fd); 34 sx->mask = READ_ONCE(sqe->len); 35 path = u64_to_user_ptr(READ_ONCE(sqe->addr)); 36 sx->buffer = u64_to_user_ptr(READ_ONCE(sqe->addr2)); 37 sx->flags = READ_ONCE(sqe->statx_flags);
|
H A D | openclose.c | 50 static int __io_openat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 56 if (unlikely(sqe->buf_index)) 65 open->dfd = READ_ONCE(sqe->fd); 66 fname = u64_to_user_ptr(READ_ONCE(sqe->addr)); 74 open->file_slot = READ_ONCE(sqe->file_index); 85 int io_openat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 88 u64 mode = READ_ONCE(sqe->len); 89 u64 flags = READ_ONCE(sqe->open_flags); 92 return __io_openat_prep(req, sqe); 95 int io_openat2_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 207 io_close_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 263 io_install_fixed_fd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument [all...] |
H A D | xattr.c | 45 const struct io_uring_sqe *sqe) 56 name = u64_to_user_ptr(READ_ONCE(sqe->addr)); 57 ix->ctx.cvalue = u64_to_user_ptr(READ_ONCE(sqe->addr2)); 58 ix->ctx.size = READ_ONCE(sqe->len); 59 ix->ctx.flags = READ_ONCE(sqe->xattr_flags); 82 int io_fgetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 84 return __io_getxattr_prep(req, sqe); 87 int io_getxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 93 ret = __io_getxattr_prep(req, sqe); 97 path = u64_to_user_ptr(READ_ONCE(sqe 44 __io_getxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 148 __io_setxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 180 io_setxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 201 io_fsetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument [all...] |
H A D | timeout.h | 32 int io_timeout_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 33 int io_link_timeout_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 35 int io_timeout_remove_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
H A D | splice.c | 27 const struct io_uring_sqe *sqe) 32 sp->len = READ_ONCE(sqe->len); 33 sp->flags = READ_ONCE(sqe->splice_flags); 36 sp->splice_fd_in = READ_ONCE(sqe->splice_fd_in); 41 int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 43 if (READ_ONCE(sqe->splice_off_in) || READ_ONCE(sqe->off)) 45 return __io_splice_prep(req, sqe); 79 int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 83 sp->off_in = READ_ONCE(sqe 26 __io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument [all...] |
H A D | nop.c | 19 int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) argument 24 flags = READ_ONCE(sqe->nop_flags); 29 nop->result = READ_ONCE(sqe->len);
|