Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/net/
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()
/Linux-v6.6/tools/testing/selftests/x86/
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()