Home
last modified time | relevance | path

Searched refs:io_uring_sqe (Results 1 – 25 of 49) sorted by relevance

12

/linux-6.1.9/tools/io_uring/
Dliburing.h27 struct io_uring_sqe *sqes;
74 extern struct io_uring_sqe *io_uring_get_sqe(struct io_uring *ring);
98 static inline void io_uring_sqe_set_data(struct io_uring_sqe *sqe, void *data) in io_uring_sqe_set_data()
108 static inline void io_uring_prep_rw(int op, struct io_uring_sqe *sqe, int fd, in io_uring_prep_rw()
120 static inline void io_uring_prep_readv(struct io_uring_sqe *sqe, int fd, in io_uring_prep_readv()
127 static inline void io_uring_prep_read_fixed(struct io_uring_sqe *sqe, int fd, in io_uring_prep_read_fixed()
134 static inline void io_uring_prep_writev(struct io_uring_sqe *sqe, int fd, in io_uring_prep_writev()
141 static inline void io_uring_prep_write_fixed(struct io_uring_sqe *sqe, int fd, in io_uring_prep_write_fixed()
148 static inline void io_uring_prep_poll_add(struct io_uring_sqe *sqe, int fd, in io_uring_prep_poll_add()
160 static inline void io_uring_prep_poll_remove(struct io_uring_sqe *sqe, in io_uring_prep_poll_remove()
[all …]
Dsetup.c30 size = p->sq_entries * sizeof(struct io_uring_sqe); in io_uring_mmap()
46 munmap(sq->sqes, p->sq_entries * sizeof(struct io_uring_sqe)); in io_uring_mmap()
103 munmap(sq->sqes, *sq->kring_entries * sizeof(struct io_uring_sqe)); in io_uring_queue_exit()
Dqueue.c141 struct io_uring_sqe *io_uring_get_sqe(struct io_uring *ring) in io_uring_get_sqe()
145 struct io_uring_sqe *sqe; in io_uring_get_sqe()
/linux-6.1.9/io_uring/
Dnet.h31 int io_shutdown_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
36 int io_sendmsg_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
43 int io_recvmsg_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
49 int io_accept_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
52 int io_socket_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
56 int io_connect_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
61 int io_send_zc_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
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);
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);
During_cmd.h4 int io_uring_cmd_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
12 ((1 + !!(is_sqe128)) * sizeof(struct io_uring_sqe) - \
13 offsetof(struct io_uring_sqe, cmd))
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);
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);
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);
Dxattr.c45 const struct io_uring_sqe *sqe) in __io_getxattr_prep()
81 int io_fgetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_fgetxattr_prep()
86 int io_getxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_getxattr_prep()
152 const struct io_uring_sqe *sqe) in __io_setxattr_prep()
182 int io_setxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_setxattr_prep()
203 int io_fsetxattr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_fsetxattr_prep()
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);
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);
Dpoll.h26 int io_poll_add_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
29 int io_poll_remove_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
Dsync.c25 int io_sfr_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_sfr_prep()
52 int io_fsync_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_fsync_prep()
84 int io_fallocate_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_fallocate_prep()
Dsplice.c27 const struct io_uring_sqe *sqe) in __io_splice_prep()
40 int io_tee_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_tee_prep()
79 int io_splice_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_splice_prep()
Dfs.c50 int io_renameat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_renameat_prep()
104 int io_unlinkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_unlinkat_prep()
154 int io_mkdirat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_mkdirat_prep()
198 int io_symlinkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_symlinkat_prep()
241 int io_linkat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_linkat_prep()
Dopenclose.c34 static int __io_openat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in __io_openat_prep()
67 int io_openat_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_openat_prep()
77 int io_openat2_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_openat2_prep()
195 int io_close_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_close_prep()
Dadvise.c31 int io_madvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_madvise_prep()
65 int io_fadvise_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe) in io_fadvise_prep()
Dkbuf.h40 int io_remove_buffers_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
43 int io_provide_buffers_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
Dmsg_ring.h3 int io_msg_ring_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
Dnop.h3 int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
Depoll.h4 int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
Dstatx.h3 int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
/linux-6.1.9/tools/testing/selftests/net/
Dio_uring_zerocopy_tx.c88 struct io_uring_sqe *sqes;
188 size = p->sq_entries * sizeof(struct io_uring_sqe); in io_uring_mmap()
203 munmap(sq->sqes, p->sq_entries * sizeof(struct io_uring_sqe)); in io_uring_mmap()
271 static inline void io_uring_prep_send(struct io_uring_sqe *sqe, int sockfd, in io_uring_prep_send()
282 static inline void io_uring_prep_sendzc(struct io_uring_sqe *sqe, int sockfd, in io_uring_prep_sendzc()
291 static struct io_uring_sqe *io_uring_get_sqe(struct io_uring *ring) in io_uring_get_sqe()
360 struct io_uring_sqe *sqe; in do_tx()

12