/linux-6.1.9/tools/io_uring/ |
D | liburing.h | 27 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 …]
|
D | setup.c | 30 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()
|
D | queue.c | 141 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/ |
D | net.h | 31 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);
|
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);
|
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);
|
D | uring_cmd.h | 4 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))
|
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);
|
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);
|
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);
|
D | xattr.c | 45 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()
|
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);
|
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);
|
D | poll.h | 26 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);
|
D | sync.c | 25 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()
|
D | splice.c | 27 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()
|
D | fs.c | 50 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()
|
D | openclose.c | 34 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()
|
D | advise.c | 31 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()
|
D | kbuf.h | 40 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);
|
D | msg_ring.h | 3 int io_msg_ring_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
D | nop.h | 3 int io_nop_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
D | epoll.h | 4 int io_epoll_ctl_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
D | statx.h | 3 int io_statx_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
|
/linux-6.1.9/tools/testing/selftests/net/ |
D | io_uring_zerocopy_tx.c | 88 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()
|