Lines Matching full:mount
17 #include <sys/mount.h>
26 static const char root_mntpoint_templ[] = "/tmp/mount-notify_test_root.XXXXXX";
56 ASSERT_EQ(mount("", "/", NULL, MS_REC|MS_PRIVATE, NULL), 0); in FIXTURE_SETUP()
64 ASSERT_EQ(mount("tmpfs", self->root_mntpoint, "tmpfs", 0, NULL), 0); in FIXTURE_SETUP()
243 ret = mount("", "/", NULL, MS_SHARED, NULL); in setup_mount_tree()
247 ret = mount("/", "/", NULL, MS_BIND, NULL); in setup_mount_tree()
257 ret = mount("/", "/", NULL, MS_BIND, NULL); in TEST_F()
282 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
322 ret = mount("", "/", NULL, MS_PRIVATE, NULL); in TEST_F()
378 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
381 ret = mount("", "/a", NULL, MS_SHARED, NULL); in TEST_F()
384 ret = mount("/a", "/b", NULL, MS_BIND, NULL); in TEST_F()
387 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F()
394 // Mount on a[3], which is propagated to b[4] in TEST_F()
395 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
402 // Mount on b[5], not propagated in TEST_F()
403 ret = mount("/", "/b", NULL, MS_BIND, NULL); in TEST_F()
450 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
453 ret = mount("/", "/a/b", NULL, MS_BIND, NULL); in TEST_F()
469 mount("", "/", NULL, MS_REC|MS_PRIVATE, NULL); in TEST_F()
491 ret = mount("tmpfs", "/a", "tmpfs", 0, NULL); in TEST_F()
502 ret = mount("/a", "/a/new", NULL, MS_BIND, NULL); in TEST_F()