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

Function io_uring_queue_init

src/setup.c:456–465  ·  view source on GitHub ↗

* Returns -errno on error, or zero on success. On success, 'ring' * contains the necessary information to read/write to the rings. */

Source from the content-addressed store, hash-verified

454 * contains the necessary information to read/write to the rings.
455 */
456__cold int io_uring_queue_init(unsigned entries, struct io_uring *ring,
457 unsigned flags)
458{
459 struct io_uring_params p;
460
461 memset(&p, 0, sizeof(p));
462 p.flags = flags;
463
464 return io_uring_queue_init_params(entries, ring, &p);
465}
466
467__cold void io_uring_queue_exit(struct io_uring *ring)
468{

Callers 15

testFunction · 0.85
test_accept_manyFunction · 0.85
test_accept_cancelFunction · 0.85
test_acceptFunction · 0.85
test_multishot_acceptFunction · 0.85
test_accept_nonblockFunction · 0.85
test_accept_fixedFunction · 0.85
mainFunction · 0.85
test_accept_mshot_stressFunction · 0.85

Calls 1

Tested by 15

test_accept_manyFunction · 0.68
test_accept_cancelFunction · 0.68
test_acceptFunction · 0.68
test_multishot_acceptFunction · 0.68
test_accept_nonblockFunction · 0.68
test_accept_fixedFunction · 0.68
test_accept_mshot_stressFunction · 0.68
test_accept_mshot_burstFunction · 0.68