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

Function check_tee_support

test/splice.c:208–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

206}
207
208static void check_tee_support(struct io_uring *ring, struct test_ctx *ctx)
209{
210 int ret;
211
212 ret = do_tee(ring, -1, -1, BUF_SIZE);
213 has_tee = (ret == -EBADF);
214}
215
216static int check_zero_splice(struct io_uring *ring, struct test_ctx *ctx)
217{

Callers 1

mainFunction · 0.85

Calls 1

do_teeFunction · 0.85

Tested by

no test coverage detected