| 243 | } |
| 244 | |
| 245 | static void clear_overflow(struct io_uring *ring) |
| 246 | { |
| 247 | struct io_uring_cqe *cqe; |
| 248 | |
| 249 | while (!io_uring_peek_cqe(ring, &cqe)) { |
| 250 | if (cqe->user_data != NOP_USER_DATA) |
| 251 | break; |
| 252 | io_uring_cqe_seen(ring, cqe); |
| 253 | } |
| 254 | } |
| 255 | |
| 256 | static int test_loop(struct io_uring *ring, |
| 257 | struct accept_test_args args, |