Home
last modified time | relevance | path

Searched refs:ring_fd (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dio_uring_zerocopy_tx.c110 int ring_fd; member
163 ret = syscall(__NR_io_uring_register, ring->ring_fd, in io_uring_register_buffers()
230 ring->ring_fd = fd; in io_uring_queue_init()
266 ret = io_uring_enter(ring->ring_fd, submitted, 0, in io_uring_submit()
314 ret = io_uring_enter(ring->ring_fd, 0, 1, in io_uring_wait_cqe()
/openbmc/linux/tools/testing/selftests/x86/
H A Dlam.c103 int ring_fd; member
400 MAP_SHARED | MAP_POPULATE, s->ring_fd, in mmap_io_uring()
412 MAP_SHARED | MAP_POPULATE, s->ring_fd, in mmap_io_uring()
431 s->ring_fd, IORING_OFF_SQES); in mmap_io_uring()
456 s->ring_fd = sys_uring_setup(URING_QUEUE_SZ, &para); in setup_io_uring()
457 if (s->ring_fd < 0) in setup_io_uring()
557 if (sys_uring_enter(ring->ring_fd, 1, 1, IORING_ENTER_GETEVENTS) < 0) in handle_uring_sq()
/openbmc/qemu/block/
H A Dio_uring.c410 aio_set_fd_handler(old_context, s->ring.ring_fd, in luring_detach_aio_context()
420 aio_set_fd_handler(s->aio_context, s->ring.ring_fd, in luring_attach_aio_context()