/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 | 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 | uring_cmd.h | 4 int io_uring_cmd_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 | rw.h | 18 int io_prep_rw(struct io_kiocb *req, const struct io_uring_sqe *sqe); 19 int io_prep_rwv(struct io_kiocb *req, const struct io_uring_sqe *sqe); 20 int io_prep_rw_fixed(struct io_kiocb *req, const struct io_uring_sqe *sqe); 28 int io_read_mshot_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 | net.h | 34 int io_shutdown_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 39 int io_sendmsg_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 46 int io_recvmsg_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 52 int io_accept_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 55 int io_socket_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 59 int io_connect_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe); 64 int io_send_zc_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
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...] |
/linux-master/drivers/crypto/hisilicon/zip/ |
H A D | zip_crypto.c | 71 void (*fill_addr)(struct hisi_zip_sqe *sqe, struct hisi_zip_req *req); 72 void (*fill_buf_size)(struct hisi_zip_sqe *sqe, struct hisi_zip_req *req); 73 void (*fill_buf_type)(struct hisi_zip_sqe *sqe, u8 buf_type); 74 void (*fill_req_type)(struct hisi_zip_sqe *sqe, u8 req_type); 75 void (*fill_tag)(struct hisi_zip_sqe *sqe, struct hisi_zip_req *req); 76 void (*fill_sqe_type)(struct hisi_zip_sqe *sqe, u8 sqe_type); 77 u32 (*get_tag)(struct hisi_zip_sqe *sqe); 78 u32 (*get_status)(struct hisi_zip_sqe *sqe); 79 u32 (*get_dstlen)(struct hisi_zip_sqe *sqe); 148 static void hisi_zip_fill_addr(struct hisi_zip_sqe *sqe, struc argument 156 hisi_zip_fill_buf_size(struct hisi_zip_sqe *sqe, struct hisi_zip_req *req) argument 164 hisi_zip_fill_buf_type(struct hisi_zip_sqe *sqe, u8 buf_type) argument 173 hisi_zip_fill_req_type(struct hisi_zip_sqe *sqe, u8 req_type) argument 182 hisi_zip_fill_tag(struct hisi_zip_sqe *sqe, struct hisi_zip_req *req) argument 187 hisi_zip_fill_sqe_type(struct hisi_zip_sqe *sqe, u8 sqe_type) argument 196 hisi_zip_fill_sqe(struct hisi_zip_ctx *ctx, struct hisi_zip_sqe *sqe, u8 req_type, struct hisi_zip_req *req) argument 264 hisi_zip_get_tag(struct hisi_zip_sqe *sqe) argument 269 hisi_zip_get_status(struct hisi_zip_sqe *sqe) argument 274 hisi_zip_get_dstlen(struct hisi_zip_sqe *sqe) argument 286 struct hisi_zip_sqe *sqe = data; local [all...] |