MCPcopy Create free account
hub / github.com/axboe/liburing / clear_overflow

Function clear_overflow

test/accept.c:245–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

243}
244
245static 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
256static int test_loop(struct io_uring *ring,
257 struct accept_test_args args,

Callers 1

test_loopFunction · 0.85

Calls

no outgoing calls

Tested by 1

test_loopFunction · 0.68