Searched refs:f_mountinfo (Results 1 – 2 of 2) sorted by relevance
| /linux-6.15/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), 0); in TEST_F()
|
| /linux-6.15/tools/testing/selftests/filesystems/statmount/ |
| H A D | statmount_test.c | 109 static FILE *f_mountinfo; variable 145 f_mountinfo = fopen("/proc/self/mountinfo", "re"); in setup_namespace() 146 if (!f_mountinfo) in setup_namespace() 483 while (getline(&line, &len, f_mountinfo) != -1) { in test_statmount_mnt_opts()
|