Lines Matching full:mount
17 #include <sys/mount.h>
26 static const char root_mntpoint_templ[] = "/tmp/mount-notify_test_root.XXXXXX";
73 ASSERT_EQ(mount("tmpfs", self->root_mntpoint, "tmpfs", 0, NULL), 0); in FIXTURE_SETUP()
270 ret = mount("", "/", NULL, MS_SHARED, NULL); in setup_mount_tree()
274 ret = mount("/", "/", NULL, MS_BIND, NULL); in setup_mount_tree()
284 ret = mount("/", "/", NULL, MS_BIND, NULL); in TEST_F()
309 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
349 ret = mount("", "/", NULL, MS_PRIVATE, NULL); in TEST_F()
405 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
408 ret = mount("", "/a", NULL, MS_SHARED, NULL); in TEST_F()
411 ret = mount("/a", "/b", NULL, MS_BIND, NULL); in TEST_F()
414 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F()
421 // Mount on a[3], which is propagated to b[4] in TEST_F()
422 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
429 // Mount on b[5], not propagated in TEST_F()
430 ret = mount("/", "/b", NULL, MS_BIND, NULL); in TEST_F()
477 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F()
480 ret = mount("/", "/a/b", NULL, MS_BIND, NULL); in TEST_F()
496 mount("", "/", NULL, MS_REC|MS_PRIVATE, NULL); in TEST_F()
518 ret = mount("tmpfs", "/a", "tmpfs", 0, NULL); in TEST_F()
529 ret = mount("/a", "/a/new", NULL, MS_BIND, NULL); in TEST_F()