| 198 | } |
| 199 | |
| 200 | static 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 | |
| 208 | static void check_tee_support(struct io_uring *ring, struct test_ctx *ctx) |
| 209 | { |