Searched refs:f_mountinfo (Results 1 – 2 of 2) sorted by relevance
| /linux/tools/testing/selftests/filesystems/overlayfs/ |
| H A D | set_layers_via_fds.c | 52 FILE *f_mountinfo; in TEST_F() local 129 f_mountinfo = fopen("/proc/self/mountinfo", "r"); in TEST_F() 130 ASSERT_NE(f_mountinfo, NULL); in TEST_F() 132 while (getline(&line, &len, f_mountinfo) != -1) { in TEST_F() 163 ASSERT_EQ(fclose(f_mountinfo), 0); in TEST_F() 601 FILE *f_mountinfo; in TEST_F() local 683 f_mountinfo = fopen("/proc/self/mountinfo", "r"); in TEST_F() 684 ASSERT_NE(f_mountinfo, NULL); in TEST_F() 686 while (getline(&line, &len, f_mountinfo) != -1) { in TEST_F() 717 ASSERT_EQ(fclose(f_mountinfo), in TEST_F() [all...] |
| /linux/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 79 static FILE *f_mountinfo; variable 85 if (f_mountinfo) in cleanup_namespace() 86 fclose(f_mountinfo); in cleanup_namespace() 118 f_mountinfo = fopen("/proc/self/mountinfo", "re"); in setup_namespace() 119 if (!f_mountinfo) in setup_namespace() 456 while (getline(&line, &len, f_mountinfo) != -1) { in test_statmount_mnt_opts()
|