| /tools/testing/selftests/filesystems/mount-notify/ |
| A D | Makefile | 6 TEST_GEN_PROGS := mount-notify_test mount-notify_test_ns 10 $(OUTPUT)/mount-notify_test: ../utils.c 11 $(OUTPUT)/mount-notify_test_ns: ../utils.c
|
| A D | mount-notify_test.c | 244 ret = mount("", "/", NULL, MS_SHARED, NULL); in setup_mount_tree() 248 ret = mount("/", "/", NULL, MS_BIND, NULL); in setup_mount_tree() 258 ret = mount("/", "/", NULL, MS_BIND, NULL); in TEST_F() 283 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F() 323 ret = mount("", "/", NULL, MS_PRIVATE, NULL); in TEST_F() 379 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F() 382 ret = mount("", "/a", NULL, MS_SHARED, NULL); in TEST_F() 388 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F() 396 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F() 404 ret = mount("/", "/b", NULL, MS_BIND, NULL); in TEST_F() [all …]
|
| A D | mount-notify_test_ns.c | 272 ret = mount("", "/", NULL, MS_SHARED, NULL); in setup_mount_tree() 276 ret = mount("/", "/", NULL, MS_BIND, NULL); in setup_mount_tree() 286 ret = mount("/", "/", NULL, MS_BIND, NULL); in TEST_F() 311 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F() 351 ret = mount("", "/", NULL, MS_PRIVATE, NULL); in TEST_F() 407 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F() 410 ret = mount("", "/a", NULL, MS_SHARED, NULL); in TEST_F() 416 ret = mount("", "/b", NULL, MS_SLAVE, NULL); in TEST_F() 424 ret = mount("/", "/a", NULL, MS_BIND, NULL); in TEST_F() 432 ret = mount("/", "/b", NULL, MS_BIND, NULL); in TEST_F() [all …]
|
| /tools/testing/selftests/pid_namespace/ |
| A D | pid_max.c | 43 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_cb() 51 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_cb() 89 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_nested_inner() 97 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_nested_inner() 164 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_nested_outer() 172 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_nested_outer() 233 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_nested_limit_inner() 241 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_nested_limit_inner() 290 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in pid_max_nested_limit_outer() 298 ret = mount("proc", "/proc", "proc", 0, NULL); in pid_max_nested_limit_outer()
|
| /tools/testing/selftests/move_mount_set_group/ |
| A D | move_mount_set_group_test.c | 118 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 198 if (mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported() 202 if (mount(NULL, "/tmp", NULL, MS_PRIVATE, 0)) in move_mount_set_group_supported() 211 if (mount("testing", SET_GROUP_FROM, "tmpfs", MS_NOATIME | MS_NODEV, in move_mount_set_group_supported() 215 if (mount(SET_GROUP_FROM, SET_GROUP_TO, NULL, MS_BIND, NULL)) in move_mount_set_group_supported() 218 if (mount(NULL, SET_GROUP_FROM, NULL, MS_SHARED, 0)) in move_mount_set_group_supported() 246 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 251 ASSERT_EQ(mount("testing", SET_GROUP_A, "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 319 ret = mount(NULL, SET_GROUP_A, NULL, MS_SHARED, 0); in get_nestedns_mount_cb()
|
| /tools/perf/trace/beauty/ |
| A D | mount_flags.sh | 8 grep -E $regex ${beauty_uapi_linux_dir}/mount.h | grep -E -v '(MSK|VERBOSE|MGC_VAL)\>' | \ 12 grep -E $regex ${beauty_uapi_linux_dir}/mount.h | \
|
| /tools/testing/selftests/firmware/ |
| A D | fw_namespace.c | 68 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns() 101 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns() 105 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns() 124 if (mount("test", "/lib/firmware", "tmpfs", 0, NULL) == -1) in main()
|
| /tools/testing/selftests/wireguard/qemu/ |
| A D | init.c | 92 if (mount("none", "/dev", "devtmpfs", 0, NULL)) in mount_filesystems() 94 if (mount("none", "/proc", "proc", 0, NULL)) in mount_filesystems() 96 if (mount("none", "/sys", "sysfs", 0, NULL)) in mount_filesystems() 98 if (mount("none", "/tmp", "tmpfs", 0, NULL)) in mount_filesystems() 100 if (mount("none", "/run", "tmpfs", 0, NULL)) in mount_filesystems() 102 if (mount("none", "/sys/kernel/debug", "debugfs", 0, NULL)) in mount_filesystems()
|
| /tools/testing/selftests/proc/ |
| A D | proc-multiple-procfs.c | 33 assert(!mount("proc", procdir1, "proc", 0, "hidepid=1")); in main() 34 assert(!mount("proc", procdir2, "proc", 0, "hidepid=2")); in main()
|
| A D | proc-subset-pid.c | 48 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in make_private_proc() 51 if (mount(NULL, "/proc", "proc", 0, "subset=pid") == -1) { in make_private_proc()
|
| /tools/testing/selftests/tmpfs/ |
| A D | bug-link-o-tmpfile.c | 50 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main() 55 if (mount(NULL, "/tmp", "tmpfs", 0, "nr_inodes=3") == -1) { in main()
|
| /tools/testing/selftests/exec/ |
| A D | recursion-depth.c | 43 if (mount(NULL, "/", NULL, MS_PRIVATE | MS_REC, NULL) == -1) in main() 47 if (mount(NULL, "/tmp", "ramfs", 0, NULL) == -1) in main()
|
| /tools/perf/Documentation/ |
| A D | guestmount.txt | 2 Guest OS root file system mount directory. Users mount guest OS
|
| /tools/testing/selftests/mm/ |
| A D | hugetlb_reparenting_test.sh | 24 CGROUP_ROOT=$(mount -t cgroup2 | head -1 | awk '{print $3}') 27 mount -t cgroup2 none $CGROUP_ROOT 32 CGROUP_ROOT=$(mount -t cgroup | grep ",hugetlb" | awk '{print $3}') 35 mount -t cgroup memory,hugetlb $CGROUP_ROOT 137 mount -t hugetlbfs none "$MNT"
|
| /tools/testing/selftests/bpf/prog_tests/ |
| A D | test_bpffs.c | 43 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn() 54 err = mount("none", TDIR, "tmpfs", 0, NULL); in fn() 65 err = mount("bpf", TDIR "/fs1", "bpf", 0, NULL); in fn() 68 err = mount("bpf", TDIR "/fs2", "bpf", 0, NULL); in fn()
|
| A D | connect_ping.c | 107 if (!ASSERT_OK(mount("none", "/sys", NULL, MS_PRIVATE, NULL), in test_connect_ping() 110 if (!ASSERT_OK(mount("sysfs", "/sys", "sysfs", 0, NULL), in test_connect_ping() 113 if (!ASSERT_OK(mount("bpffs", "/sys/fs/bpf", "bpf", 0, NULL), in test_connect_ping()
|
| /tools/testing/selftests/bpf/ |
| A D | ima_setup.sh | 25 mount -t securityfs security "${securityfs_dir}" 47 mount "${loop_device}" "${mount_dir}"
|
| /tools/testing/selftests/kho/ |
| A D | init.c | 24 if (mount("debugfs", "/debugfs", "debugfs", 0, NULL) < 0) in mount_filesystems() 27 return mount("proc", "/proc", "proc", 0, NULL); in mount_filesystems()
|
| /tools/testing/selftests/filesystems/ |
| A D | devpts_pts.c | 210 ret = mount("devpts", mntpoint, "devpts", MS_NOSUID | MS_NOEXEC, in verify_non_standard_devpts_mount() 238 ret = mount("/dev/pts/ptmx", "/dev/ptmx", NULL, MS_BIND, NULL); in verify_ptmx_bind_mount() 265 ret = mount("/dev/pts/ptmx", ptmx, NULL, MS_BIND, NULL); in verify_invalid_ptmx_bind_mount() 296 ret = mount("", "/", NULL, MS_PRIVATE | MS_REC, 0); in main()
|
| /tools/testing/kunit/test_data/ |
| A D | test_config_printk_time.log | 25 [ 0.060000] No filesystem could mount root, tried: 27 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
| A D | test_output_with_prefix_isolated_correctly.log | 26 [ 0.060000] No filesystem could mount root, tried: 28 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
| A D | test_pound_no_prefix.log | 27 No filesystem could mount root, tried: 29 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
| A D | test_pound_sign.log | 27 [ 0.060000] No filesystem could mount root, tried: 29 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
| A D | test_multiple_prefixes.log | 25 [ 0.060000][ T1] No filesystem could mount root, tried: 27 [ 0.060000][ T1] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98…
|
| /tools/testing/selftests/mount/ |
| A D | unprivileged-remount-test.c | 216 if (mount("testing", "/tmp", fstype, mount_flags, mount_options) != 0) { in test_unpriv_remount() 230 if (mount("/tmp", "/tmp", "none", in test_unpriv_remount() 237 if (mount("/tmp", "/tmp", "none", in test_unpriv_remount() 297 ret = mount(orig_path, dest_path, "bind", MS_BIND | MS_REC, NULL); in test_priv_mount_unpriv_remount() 303 ret = mount(dest_path, dest_path, "none", in test_priv_mount_unpriv_remount()
|