/tools/testing/selftests/move_mount_set_group/ |
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/testing/selftests/bpf/prog_tests/ |
D | test_bpffs.c | 38 err = mount("", "/", "", MS_REC | MS_PRIVATE, NULL); in fn() 46 err = mount("none", TDIR, "tmpfs", 0, NULL); in fn() 57 err = mount("bpf", TDIR "/fs1", "bpf", 0, NULL); in fn() 60 err = mount("bpf", TDIR "/fs2", "bpf", 0, NULL); in fn()
|
/tools/perf/trace/beauty/ |
D | mount_flags.sh | 8 egrep $regex ${header_dir}/mount.h | egrep -v '(MSK|VERBOSE|MGC_VAL)\>' | \ 12 egrep $regex ${header_dir}/mount.h | \
|
D | move_mount_flags.sh | 10 linux_mount=${linux_header_dir}/mount.h
|
D | fsconfig.sh | 10 linux_mount=${linux_header_dir}/mount.h
|
D | fspick.sh | 10 linux_mount=${linux_header_dir}/mount.h
|
D | fsmount.sh | 10 linux_mount=${linux_header_dir}/mount.h
|
/tools/testing/selftests/firmware/ |
D | fw_namespace.c | 72 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns() 105 if (mount(NULL, "/", NULL, MS_SLAVE|MS_REC, NULL) == -1) in test_fw_in_ns() 109 if (mount("test", "/lib/firmware", "tmpfs", MS_RDONLY, NULL) == -1) in test_fw_in_ns() 128 if (mount("test", "/lib/firmware", "tmpfs", 0, NULL) == -1) in main()
|
/tools/testing/selftests/wireguard/qemu/ |
D | init.c | 91 if (mount("none", "/dev", "devtmpfs", 0, NULL)) in mount_filesystems() 93 if (mount("none", "/proc", "proc", 0, NULL)) in mount_filesystems() 95 if (mount("none", "/sys", "sysfs", 0, NULL)) in mount_filesystems() 97 if (mount("none", "/tmp", "tmpfs", 0, NULL)) in mount_filesystems() 99 if (mount("none", "/run", "tmpfs", 0, NULL)) in mount_filesystems() 101 if (mount("none", "/sys/kernel/debug", "debugfs", 0, NULL)) in mount_filesystems()
|
/tools/testing/selftests/proc/ |
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()
|
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/ |
D | bug-link-o-tmpfile.c | 38 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main() 44 if (mount(NULL, "/tmp", "tmpfs", 0, "nr_inodes=3") == -1) { in main()
|
/tools/testing/selftests/exec/ |
D | recursion-depth.c | 37 if (mount(NULL, "/", NULL, MS_PRIVATE|MS_REC, NULL) == -1) { in main() 42 if (mount(NULL, "/tmp", "ramfs", 0, NULL) == -1) { in main()
|
/tools/testing/selftests/bpf/ |
D | ima_setup.sh | 25 mount -t securityfs security "${securityfs_dir}" 47 mount "${loop_device}" "${mount_dir}"
|
D | cgroup_helpers.c | 119 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment() 124 if (mount("none", CGROUP_MOUNT_PATH, "cgroup2", 0, NULL) && errno != EBUSY) { in setup_cgroup_environment() 340 if (mount("tmpfs", CGROUP_MOUNT_DFLT, "tmpfs", 0, NULL) && in setup_classid_environment() 351 if (mount("net_cls", NETCLS_MOUNT_PATH, "cgroup", 0, "net_cls")) { in setup_classid_environment()
|
/tools/testing/selftests/vm/ |
D | hugetlb_reparenting_test.sh | 23 CGROUP_ROOT=$(mount -t cgroup2 | head -1 | awk '{print $3}') 26 mount -t cgroup2 none $CGROUP_ROOT 31 CGROUP_ROOT=$(mount -t cgroup | grep ",hugetlb" | awk '{print $3}') 34 mount -t cgroup memory,hugetlb $CGROUP_ROOT 146 mount -t hugetlbfs none "$MNT"
|
/tools/testing/selftests/filesystems/ |
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/ |
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)
|
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)
|
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)
|
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)
|
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…
|
D | test_interrupted_tap_output.log | 31 [ 0.060000] No filesystem could mount root, tried: 33 [ 0.060000] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
|
/tools/testing/selftests/mount/ |
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()
|
/tools/testing/selftests/mount_setattr/ |
D | mount_setattr_test.c | 230 if (mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0)) in prepare_unpriv_mountns() 390 ASSERT_EQ(mount("testing", "/tmp", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 395 ASSERT_EQ(mount("testing", "/tmp/B", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 400 ASSERT_EQ(mount("testing", "/tmp/B/BB", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 403 ASSERT_EQ(mount("testing", "/mnt", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 408 ASSERT_EQ(mount("testing", "/mnt/A", "tmpfs", MS_NOATIME | MS_NODEV, in FIXTURE_SETUP() 413 ASSERT_EQ(mount("/tmp", "/mnt/A/AA", NULL, MS_BIND | MS_REC, NULL), 0); in FIXTURE_SETUP() 417 ASSERT_EQ(mount("testing", "/mnt/B", "ramfs", in FIXTURE_SETUP() 422 ASSERT_EQ(mount("testing", "/tmp/B/BB", "devpts", in FIXTURE_SETUP() 1006 ASSERT_EQ(mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0), 0); in FIXTURE_SETUP() [all …]
|