Searched refs:backing_fd (Results 1 – 2 of 2) sorted by relevance
/tools/testing/selftests/mm/ |
D | transhuge-stress.c | 20 int backing_fd = -1; variable 56 backing_fd = open(name, O_RDWR); in main() 57 if (backing_fd == -1) in main() 71 ptr = mmap(NULL, len + HPAGE_SIZE, PROT_RW, mmap_flags, backing_fd, 0); in main()
|
/tools/testing/selftests/filesystems/fuse/ |
D | fuse_test.c | 1126 int backing_fd = -1; in bpf_test_set_backing() local 1128 TESTERR(backing_fd = s_creat(s_path(s(ft_src), s(backing_name)), 0777), in bpf_test_set_backing() 1129 backing_fd != -1); in bpf_test_set_backing() 1130 TESTEQUAL(write(backing_fd, test_data, strlen(test_data)), in bpf_test_set_backing() 1140 .backing_fd = backing_fd, in bpf_test_set_backing() 1146 TESTSYSCALL(close(backing_fd)); in bpf_test_set_backing() 1217 int backing_fd = -1; in bpf_test_remove_backing() local 1221 TEST(backing_fd = s_open(s_path(s(ft_src), s(folder2)), in bpf_test_remove_backing() 1223 backing_fd != -1); in bpf_test_remove_backing() 1228 .backing_fd = backing_fd, in bpf_test_remove_backing() [all …]
|