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

Function t_io_uring_init_sqarray

test/helpers.h:107–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105unsigned __io_uring_flush_sq(struct io_uring *ring);
106
107static inline int t_io_uring_init_sqarray(unsigned entries, struct io_uring *ring,
108 struct io_uring_params *p)
109{
110 int ret;
111
112 ret = __io_uring_queue_init_params(entries, ring, p, NULL, 0);
113 return ret >= 0 ? 0 : ret;
114}
115
116#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))
117

Callers 4

test_valid_positionFunction · 0.85
test_oob_boundaryFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85

Calls 1

Tested by 2

test_valid_positionFunction · 0.68
test_oob_boundaryFunction · 0.68