Home
last modified time | relevance | path

Searched refs:io_uring (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/tools/io_uring/
DMakefile6 all: io_uring-cp io_uring-bench
10 io_uring-bench: syscall.o io_uring-bench.o
13 io_uring-cp: setup.o syscall.o queue.o
16 $(RM) io_uring-cp io_uring-bench *.o
DREADME1 This directory includes a few programs that demonstrate how to use io_uring
4 io_uring-cp
5 A very basic io_uring implementation of cp(1). It takes two
8 for setting up an io_uring instance, submitting IO, completing IO,
12 io_uring-bench
14 app demonstrates the various features of io_uring, like fixed files,
17 io_uring-bench should operate on. This uses the raw io_uring
24 and contains a number of unit tests as well for testing io_uring. It also
27 Fio includes an io_uring engine, you can clone fio here:
Dliburing.h46 struct io_uring { struct
64 extern int io_uring_queue_init(unsigned entries, struct io_uring *ring, argument
67 struct io_uring *ring);
68 extern void io_uring_queue_exit(struct io_uring *ring);
69 extern int io_uring_peek_cqe(struct io_uring *ring,
71 extern int io_uring_wait_cqe(struct io_uring *ring,
73 extern int io_uring_submit(struct io_uring *ring);
74 extern struct io_uring_sqe *io_uring_get_sqe(struct io_uring *ring);
80 static inline void io_uring_cqe_seen(struct io_uring *ring, in io_uring_cqe_seen()
Dqueue.c11 static int __io_uring_get_cqe(struct io_uring *ring, in __io_uring_get_cqe()
49 int io_uring_peek_cqe(struct io_uring *ring, struct io_uring_cqe **cqe_ptr) in io_uring_peek_cqe()
58 int io_uring_wait_cqe(struct io_uring *ring, struct io_uring_cqe **cqe_ptr) in io_uring_wait_cqe()
68 int io_uring_submit(struct io_uring *ring) in io_uring_submit()
141 struct io_uring_sqe *io_uring_get_sqe(struct io_uring *ring) in io_uring_get_sqe()
Dio_uring-cp.c34 static int setup_context(unsigned entries, struct io_uring *ring) in setup_context()
69 static void queue_prepped(struct io_uring *ring, struct io_data *data) in queue_prepped()
84 static int queue_read(struct io_uring *ring, off_t size, off_t offset) in queue_read()
111 static void queue_write(struct io_uring *ring, struct io_data *data) in queue_write()
123 static int copy_file(struct io_uring *ring, off_t insize) in copy_file()
229 struct io_uring ring; in main()
Dsetup.c64 int io_uring_queue_mmap(int fd, struct io_uring_params *p, struct io_uring *ring) in io_uring_queue_mmap()
79 int io_uring_queue_init(unsigned entries, struct io_uring *ring, unsigned flags) in io_uring_queue_init()
98 void io_uring_queue_exit(struct io_uring *ring) in io_uring_queue_exit()
/kernel/linux/linux-5.10/include/linux/
Dio_uring.h45 if (current->io_uring && !xa_empty(&current->io_uring->xa)) in io_uring_task_cancel()
50 if (current->io_uring && !xa_empty(&current->io_uring->xa)) in io_uring_files_cancel()
55 if (tsk->io_uring) in io_uring_free()
Dsched.h1095 struct io_uring_task *io_uring; member
/kernel/linux/linux-5.10/init/
Dinit_task.c121 .io_uring = NULL,
DKconfig1670 This option enables support for the io_uring interface, enabling
/kernel/linux/linux-5.10/fs/
Dio_uring.c107 struct io_uring { struct
128 struct io_uring sq, cq; argument
1166 struct io_uring_task *tctx = req->task->io_uring; in io_req_init_async()
1319 io_put_identity(req->task->io_uring, req); in io_req_clean_work()
1328 struct io_uring_task *tctx = req->task->io_uring; in io_identity_cow()
1756 atomic_read(&req->task->io_uring->in_idle)) { in __io_cqring_fill_event()
1920 struct io_uring_task *tctx = req->task->io_uring; in __io_free_req()
2192 struct io_uring_task *tctx = rb->task->io_uring; in io_req_free_batch_finish()
2213 struct io_uring_task *tctx = rb->task->io_uring; in io_req_free_batch()
5923 struct io_uring_task *tctx = req->task->io_uring; in io_req_drop_files()
[all …]
DMakefile35 obj-$(CONFIG_IO_URING) += io_uring.o
/kernel/linux/linux-5.10/include/trace/events/
Dio_uring.h3 #define TRACE_SYSTEM io_uring
/kernel/linux/linux-5.10/kernel/
Dfork.c2037 p->io_uring = NULL; in copy_process()
/kernel/linux/linux-5.10/
DMAINTAINERS9203 F: fs/io_uring.c
9204 F: include/uapi/linux/io_uring.h