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

Function io_uring_free_buf_ring

src/setup.c:717–728  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717int io_uring_free_buf_ring(struct io_uring *ring, struct io_uring_buf_ring *br,
718 unsigned int nentries, int bgid)
719{
720 int ret;
721
722 ret = io_uring_unregister_buf_ring(ring, bgid);
723 if (ret)
724 return ret;
725
726 __sys_munmap(br, nentries * sizeof(struct io_uring_buf));
727 return 0;
728}

Callers 15

test_incFunction · 0.85
test_clampFunction · 0.85
testFunction · 0.85
test_invalidFunction · 0.85
cleanup_buf_ringFunction · 0.85
test_read_drain_refillFunction · 0.85
test_rapid_drain_refillFunction · 0.85
mainFunction · 0.85
teardownFunction · 0.85
test_stdinFunction · 0.85
test_pipeFunction · 0.85

Calls 2

__sys_munmapFunction · 0.50

Tested by 14

test_incFunction · 0.68
test_clampFunction · 0.68
test_invalidFunction · 0.68
test_read_drain_refillFunction · 0.68
test_rapid_drain_refillFunction · 0.68
test_stdinFunction · 0.68
test_pipeFunction · 0.68
test_fileFunction · 0.68
test_mixed_reg2Function · 0.68
test_double_reg_unregFunction · 0.68
test_reg_unregFunction · 0.68