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

Function test_try_register_region

test/reg-wait.c:265–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265static int test_try_register_region(struct io_uring_mem_region_reg *pr,
266 bool disabled)
267{
268 struct io_uring ring;
269 int ret;
270
271 ret = __init_ring_with_region(&ring, 0, pr, disabled);
272 if (!ret)
273 io_uring_queue_exit(&ring);
274 return ret;
275}
276
277static int test_regions(void)
278{

Callers 1

test_regionsFunction · 0.85

Calls 2

__init_ring_with_regionFunction · 0.85
io_uring_queue_exitFunction · 0.85

Tested by

no test coverage detected