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

Function check_splice_support

test/splice.c:200–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198}
199
200static void check_splice_support(struct io_uring *ring, struct test_ctx *ctx)
201{
202 int ret;
203
204 ret = do_splice(ring, -1, 0, -1, 0, BUF_SIZE);
205 has_splice = (ret == -EBADF);
206}
207
208static void check_tee_support(struct io_uring *ring, struct test_ctx *ctx)
209{

Callers 1

mainFunction · 0.85

Calls 1

do_spliceFunction · 0.85

Tested by

no test coverage detected