Searched refs:sqe (Results 1 - 25 of 96) sorted by relevance

1234

/linux-master/io_uring/
H A Dsync.h3 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 Depoll.h4 int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
H A Dnop.h3 int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
H A Dxattr.h5 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 Dtruncate.h3 int io_ftruncate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
H A Dadvise.h3 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 Dsplice.h3 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 Dfs.h3 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 Dsync.c25 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 Dstatx.h3 int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
H A Dmsg_ring.h3 int io_msg_ring_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
H A During_cmd.h4 int io_uring_cmd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
H A Dopenclose.h6 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 Dtruncate.c23 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 Dadvise.c31 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 Dfs.c50 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 Depoll.c24 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 Drw.h18 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 Dstatx.c23 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 Dopenclose.c50 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 Dnet.h34 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 Dxattr.c45 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 Dtimeout.h32 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 Dsplice.c27 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 Dzip_crypto.c71 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...]

Completed in 377 milliseconds

1234