Home
last modified time | relevance | path

Searched refs:MS_BIND (Results 1 – 21 of 21) sorted by relevance

/third_party/ltp/testcases/kernel/containers/mountns/
Dmountns01.c65 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func()
87 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
97 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns02.c65 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func()
87 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
97 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns03.c78 if (mount(DIRB, DIRA, "none", MS_BIND, NULL) == -1) { in child_func()
100 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
113 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns04.c54 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
59 if (mount(DIRA, DIRB, "none", MS_BIND, NULL) == -1) { in test()
/third_party/musl/porting/uniproton/kernel/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/ndk_musl_include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
Dmount.h36 #define MS_BIND 4096 macro
/third_party/ltp/testcases/kernel/syscalls/mount/
Dmount05.c71 TEST(mount(mntpoint_src, mntpoint_des, fstype, MS_BIND, NULL)); in main()
Dmount06.c139 SAFE_MOUNT(cleanup, path_name, path_name, "none", MS_BIND, NULL); in setup()
/third_party/ltp/testcases/kernel/security/tomoyo/
Dtomoyo_filesystem_test.c407 if (mount("/tmp/mount/", "/tmp/mount_bind/", NULL, MS_BIND, in main()
438 if (mount("/tmp/mount/", "/tmp/mount_bind/", NULL, MS_BIND, in main()
/third_party/eudev/test/
Dtest-udev.c78 err = mount(fakefss[i].src, fakefss[i].target, NULL, MS_BIND, NULL); in fake_filesystems()
/third_party/toybox/porting/liteos_a/toys/lsb/
Dmount.c192 flags |= MS_BIND; in mount_filesystem()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify09.c346 SAFE_MOUNT(MOUNT_PATH, MOUNT_NAME, "none", MS_BIND, NULL); in setup()
Dfanotify10.c525 SAFE_MOUNT(MOUNT_PATH, MNT2_PATH, "none", MS_BIND, NULL); in setup()
Dfanotify16.c180 SAFE_MOUNT(dname1, dname1, "none", MS_BIND, NULL); in do_test()
/third_party/toybox/toys/lsb/
Dmount.c205 flags |= MS_BIND; in mount_filesystem()
/third_party/glib/gio/
Dgunixmounts.c1053 if (mount_flags & MS_BIND) in _g_get_unix_mount_points()