Home
last modified time | relevance | path

Searched refs:ring2 (Results 1 – 5 of 5) sorted by relevance

/external/liburing/test/
Deventfd-ring.c20 struct io_uring ring1, ring2; in main() local
36 ret = io_uring_queue_init(8, &ring2, 0); in main()
60 ret = io_uring_register_eventfd(&ring2, evfd2); in main()
70 sqe = io_uring_get_sqe(&ring2); in main()
80 ret = io_uring_submit(&ring2); in main()
Dshared-wq.c36 struct io_uring ring2; in test_attach() local
42 ret = io_uring_queue_init_params(1, &ring2, &p); in test_attach()
50 io_uring_queue_exit(&ring2); in test_attach()
Dmsg-ring.c180 struct io_uring ring, ring2, pring; in main() local
193 ret = io_uring_queue_init(8, &ring2, 0); in main()
225 pthread_create(&thread, NULL, wait_cqe_fn, &ring2); in main()
227 ret = test_remote(&ring, &ring2); in main()
Dio-cancel.c206 struct io_uring ring1, ring2; in test_dont_cancel_another_ring() local
218 ret = io_uring_queue_init(8, &ring2, 0); in test_dont_cancel_another_ring()
244 sqe = io_uring_get_sqe(&ring2); in test_dont_cancel_another_ring()
252 ret = io_uring_submit(&ring2); in test_dont_cancel_another_ring()
258 ret = io_uring_wait_cqe(&ring2, &cqe); in test_dont_cancel_another_ring()
268 io_uring_cqe_seen(&ring2, cqe); in test_dont_cancel_another_ring()
280 io_uring_queue_exit(&ring2); in test_dont_cancel_another_ring()
Dpoll-cancel.c141 struct io_uring ring, ring2; in __test_poll_cancel_with_timeouts() local
151 ret = io_uring_queue_init(1, &ring2, 0); in __test_poll_cancel_with_timeouts()
163 io_uring_prep_poll_add(sqe, ring2.ring_fd, POLLIN); in __test_poll_cancel_with_timeouts()