Lines Matching full:mount
10 #include <sys/mount.h>
24 #define FAN_MNT_ATTACH 0x01000000 /* Mount was attached */
28 #define FAN_MNT_DETACH 0x02000000 /* Mount was detached */
32 #define FAN_REPORT_MNT 0x00004000 /* Report mount events */
49 static const char root_mntpoint_templ[] = "/tmp/mount-notify_test_root.XXXXXX";
79 ASSERT_EQ(mount("", "/", NULL, MS_REC|MS_PRIVATE, NULL), 0); in FIXTURE_SETUP()
87 ASSERT_EQ(mount("tmpfs", self->root_mntpoint, "tmpfs", 0, NULL), 0); in FIXTURE_SETUP()
266 ret = mount("", "/", NULL, MS_SHARED, NULL); in setup_mount_tree()
270 ret = mount("/", "/", NULL, MS_BIND, NULL); in setup_mount_tree()
280 ret = mount("/", "/", NULL, MS_BIND, NULL); in TEST_F()
305 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
345 ret = mount("", "/", NULL, MS_PRIVATE, NULL); in TEST_F()
401 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
404 ret = mount("", "/a", NULL, MS_SHARED, NULL); in TEST_F()
407 ret = mount("/a", "/b", NULL, MS_BIND, NULL); in TEST_F()
410 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F()
417 // Mount on a[3], which is propagated to b[4] in TEST_F()
418 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
425 // Mount on b[5], not propagated in TEST_F()
426 ret = mount("/", "/b", NULL, MS_BIND, NULL); in TEST_F()
473 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
476 ret = mount("/", "/a/b", NULL, MS_BIND, NULL); in TEST_F()
492 mount("", "/", NULL, MS_REC|MS_PRIVATE, NULL); in TEST_F()
514 ret = mount("tmpfs", "/a", "tmpfs", 0, NULL); in TEST_F()
525 ret = mount("/a", "/a/new", NULL, MS_BIND, NULL); in TEST_F()