Home
last modified time | relevance | path

Searched refs:SAFE_MOUNT (Results 1 – 25 of 40) sorted by relevance

12

/external/ltp/testcases/kernel/containers/mountns/
Dmountns01.c84 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
87 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
90 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_SHARED, NULL); in test()
97 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns02.c84 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
87 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
90 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_PRIVATE, NULL); in test()
97 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns03.c97 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
100 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
103 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_SHARED, NULL); in test()
113 SAFE_MOUNT(cleanup, DIRB, DIRA, "none", MS_BIND, NULL); in test()
Dmountns04.c51 SAFE_MOUNT(cleanup, "none", "/", "none", MS_REC|MS_PRIVATE, NULL); in test()
54 SAFE_MOUNT(cleanup, DIRA, DIRA, "none", MS_BIND, NULL); in test()
56 SAFE_MOUNT(cleanup, "none", DIRA, "none", MS_UNBINDABLE, NULL); in test()
/external/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c110 SAFE_MOUNT("none", "/", NULL, MS_REC|MS_PRIVATE, NULL); in run()
111 SAFE_MOUNT("none", CHROOT_DIR, "tmpfs", 0, 0); in run()
121 SAFE_MOUNT("none", NEW_ROOT, "tmpfs", 0, 0); in run()
131 SAFE_MOUNT("none", PUT_OLD_FS, "tmpfs", 0, 0); in run()
/external/ltp/testcases/kernel/syscalls/mount/
Dmount06.c72 SAFE_MOUNT(cleanup, device, mntpoint_src, fs_type, 0, NULL); in main()
139 SAFE_MOUNT(cleanup, path_name, path_name, "none", MS_BIND, NULL); in setup()
143 SAFE_MOUNT(cleanup, "none", path_name, "none", MS_PRIVATE, NULL); in setup()
Dmount05.c109 SAFE_MOUNT(cleanup, device, mntpoint_src, fstype, 0, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/rename/
Drename11.c110 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); in setup()
152 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in test_erofs()
161 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT, NULL); in test_erofs()
/external/ltp/testcases/kernel/syscalls/umount2/
Dumount2_01.c94 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); in umount2_verify()
125 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); in umount2_verify()
Dumount2_03.c112 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); in test_umount2()
Dumount2_02.c85 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); in main()
/external/ltp/testcases/kernel/syscalls/fchown/
Dfchown04.c118 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, 0, NULL); in setup()
121 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, in setup()
/external/ltp/testcases/kernel/syscalls/inotify/
Dinotify03.c58 SAFE_MOUNT(tst_device->dev, mntpoint, tst_device->fs_type, 0, NULL); in verify_inotify()
135 SAFE_MOUNT(tst_device->dev, mntpoint, tst_device->fs_type, 0, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/linkat/
Dlinkat02.c176 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, 0, NULL); in setup()
194 SAFE_MOUNT(cleanup, device, "mntpoint", fs_type, in setup_erofs()
/external/ltp/testcases/kernel/syscalls/renameat/
Drenameat01.c187 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); in setup()
190 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in setup()
/external/ltp/testcases/kernel/syscalls/umount/
Dumount01.c21 SAFE_MOUNT(tst_device->dev, MNTPOINT, in verify_umount()
Dumount03.c43 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); in setup()
Dumount02.c66 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, NULL); in setup()
/external/ltp/testcases/kernel/mem/hugetlb/hugemmap/
Dhugemmap01.c96 SAFE_MOUNT("none", Hopt, "hugetlbfs", 0, NULL); in setup()
Dhugemmap04.c114 SAFE_MOUNT("none", Hopt, "hugetlbfs", 0, NULL); in setup()
Dhugemmap02.c143 SAFE_MOUNT("none", Hopt, "hugetlbfs", 0, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/statx/
Dstatx05.c96 SAFE_MOUNT(tst_device->dev, MNTPOINT, tst_device->fs_type, 0, 0); in setup()
/external/ltp/testcases/kernel/syscalls/lchown/
Dlchown03.c112 SAFE_MOUNT(cleanup, device, TEST_EROFS, fs_type, MS_RDONLY, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise01.c67 SAFE_MOUNT(TMP_DIR, TMP_DIR, "tmpfs", 0, NULL); in setup()
/external/ltp/testcases/kernel/syscalls/utime/
Dutime06.c125 SAFE_MOUNT(cleanup, dev, MNT_POINT, fs_type, MS_RDONLY, NULL); in setup()

12