Home
last modified time | relevance | path

Searched refs:mount (Results 1 – 25 of 69) sorted by relevance

123

/tools/testing/selftests/bpf/prog_tests/
Dtest_bpffs.c38 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/
Dmount_flags.sh8 egrep $regex ${header_dir}/mount.h | egrep -v '(MSK|VERBOSE|MGC_VAL)\>' | \
12 egrep $regex ${header_dir}/mount.h | \
Dmove_mount_flags.sh10 linux_mount=${linux_header_dir}/mount.h
Dfsconfig.sh10 linux_mount=${linux_header_dir}/mount.h
Dfspick.sh10 linux_mount=${linux_header_dir}/mount.h
Dfsmount.sh10 linux_mount=${linux_header_dir}/mount.h
/tools/testing/selftests/firmware/
Dfw_namespace.c72 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/
Dinit.c91 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/
Dproc-multiple-procfs.c33 assert(!mount("proc", procdir1, "proc", 0, "hidepid=1")); in main()
34 assert(!mount("proc", procdir2, "proc", 0, "hidepid=2")); in main()
/tools/testing/selftests/tmpfs/
Dbug-link-o-tmpfile.c38 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/
Drecursion-depth.c37 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/gpio/
DMakefile3 VAR_CFLAGS := $(shell pkg-config --cflags mount 2>/dev/null)
4 VAR_LDLIBS := $(shell pkg-config --libs mount 2>/dev/null)
Dgpio-mockup.sh43 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
50 DEBUGFS=`mount -t debugfs | head -1 | awk '{ print $3 }'`
/tools/testing/selftests/vm/
Dhugetlb_reparenting_test.sh20 CGROUP_ROOT=$(mount -t cgroup2 | head -1 | awk '{print $3}')
23 mount -t cgroup2 none $CGROUP_ROOT
28 CGROUP_ROOT=$(mount -t cgroup | grep ",hugetlb" | awk '{print $3}')
31 mount -t cgroup memory,hugetlb $CGROUP_ROOT
143 mount -t hugetlbfs none "$MNT"
Dcharge_reserved_hugetlb.sh25 cgroup_path=$(mount -t cgroup2 | head -1 | awk '{print $3}')
28 mount -t cgroup2 none $cgroup_path
33 cgroup_path=$(mount -t cgroup | grep ",hugetlb" | awk '{print $3}')
36 mount -t cgroup memory,hugetlb $cgroup_path
288 mount -t hugetlbfs -o pagesize=${MB}M,size=256M none /mnt/huge
342 mount -t hugetlbfs -o pagesize=${MB}M,size=256M none /mnt/huge
/tools/testing/kunit/test_data/
Dtest_config_printk_time.log25 [ 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)
Dtest_pound_no_prefix.log27 No filesystem could mount root, tried:
29 Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(98,0)
Dtest_output_with_prefix_isolated_correctly.log26 [ 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)
Dtest_pound_sign.log27 [ 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)
Dtest_multiple_prefixes.log25 [ 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…
Dtest_interrupted_tap_output.log31 [ 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/filesystems/
Ddevpts_pts.c210 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/selftests/mount/
Dunprivileged-remount-test.c216 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/fpu/
Drun_test_fpu.sh31 mount -t debugfs none /sys/kernel/debug
/tools/testing/selftests/bpf/
Dtest_current_pid_tgid_new_ns.c76 if (CHECK_NEWNS(mount("none", "/proc", NULL, MS_PRIVATE|MS_REC, NULL), in main()
80 if (CHECK_NEWNS(mount("proc", "/proc", "proc", MS_NOSUID|MS_NOEXEC|MS_NODEV, NULL), in main()

123