Searched refs:fuse_dev (Results 1 – 4 of 4) sorted by relevance
/tools/testing/selftests/filesystems/fuse/ |
D | fuse_test.c | 141 int fuse_dev = -1; in basic_test() local 146 TESTEQUAL(mount_fuse(mount_dir, -1, -1, &fuse_dev), 0); in basic_test() 193 close(fuse_dev); in basic_test() 207 int fuse_dev = -1; in bpf_test_real() local 223 TESTEQUAL(mount_fuse(mount_dir, bpf_fd, src_fd, &fuse_dev), 0); in bpf_test_real() 234 close(fuse_dev); in bpf_test_real() 250 int fuse_dev = -1; in bpf_test_partial() local 260 TESTEQUAL(mount_fuse(mount_dir, bpf_fd, src_fd, &fuse_dev), 0); in bpf_test_partial() 299 close(fuse_dev); in bpf_test_partial() 314 int fuse_dev = -1; in bpf_test_attrs() local [all …]
|
D | test_fuse.h | 82 ssize_t res = read(fuse_dev, &bytes_in, \ 93 ssize_t res = read(fuse_dev, &bytes_in, \ 104 ssize_t res = read(fuse_dev, &bytes_in, \ 119 ssize_t res = read(fuse_dev, &bytes_in, \ 131 ssize_t res = read(fuse_dev, &bytes_in, \ 146 TEST(res = read(fuse_dev, &bytes_in, sizeof(bytes_in)), \ 176 TESTEQUAL(write(fuse_dev, bytes_out, out_header->len), \ 192 TESTEQUAL(write(fuse_dev, bytes_out, out_header->len), \ 208 TESTEQUAL(write(fuse_dev, bytes_out, out_header->len), \ 228 TESTEQUAL(write(fuse_dev, bytes_out, out_header->len), \ [all …]
|
D | fuse_daemon.c | 203 int fuse_dev = -1; in main() local 241 TESTEQUAL(mount_fuse(mount_dir, bpf_fd, src_fd, &fuse_dev), 0); in main() 251 ssize_t res = read(fuse_dev, bytes_in, sizeof(bytes_in)); in main()
|
D | bpf_loader.c | 562 int fuse_dev = -1; in mount_fuse_maybe_init() local 569 TEST(fuse_dev = open("/dev/fuse", O_RDWR | O_CLOEXEC), fuse_dev != -1); in mount_fuse_maybe_init() 571 fuse_dev); in mount_fuse_maybe_init() 601 *fuse_dev_ptr = fuse_dev; in mount_fuse_maybe_init() 603 TESTSYSCALL(close(fuse_dev)); in mount_fuse_maybe_init() 604 fuse_dev = -1; in mount_fuse_maybe_init() 607 close(fuse_dev); in mount_fuse_maybe_init()
|