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

Function io_uring_get_probe

src/setup.c:507–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

505}
506
507__cold struct io_uring_probe *io_uring_get_probe(void)
508{
509 struct io_uring ring;
510 struct io_uring_probe *probe;
511 int r;
512
513 r = io_uring_queue_init(2, &ring, 0);
514 if (r < 0)
515 return NULL;
516
517 probe = io_uring_get_probe_ring(&ring);
518 io_uring_queue_exit(&ring);
519 return probe;
520}
521
522__cold void io_uring_free_probe(struct io_uring_probe *probe)
523{

Callers 1

mainFunction · 0.85

Calls 3

io_uring_queue_initFunction · 0.85
io_uring_get_probe_ringFunction · 0.85
io_uring_queue_exitFunction · 0.85

Tested by

no test coverage detected