Home
last modified time | relevance | path

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

12

/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 | \
Dfsconfig.sh10 linux_mount=${linux_header_dir}/mount.h
Dfspick.sh10 linux_mount=${linux_header_dir}/mount.h
Dmove_mount_flags.sh10 linux_mount=${linux_header_dir}/mount.h
Dfsmount.sh10 linux_mount=${linux_header_dir}/mount.h
/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 MOUNT_CFLAGS := $(shell pkg-config --cflags mount 2>/dev/null)
4 MOUNT_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/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/bpf/
Dtest_flow_dissector.sh53 if /bin/mount | grep /sys/fs/bpf > /dev/null; then
58 /bin/mount bpffs /sys/fs/bpf -t bpf
Dcgroup_helpers.c110 if (mount("none", "/", NULL, MS_REC | MS_PRIVATE, NULL)) { in setup_cgroup_environment()
115 if (mount("none", CGROUP_MOUNT_PATH, "cgroup2", 0, NULL) && errno != EBUSY) { in setup_cgroup_environment()
/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests28 mount none /sys/fs/pstore -t pstore
/tools/testing/selftests/memory-hotplug/
Dmem-on-off-test.sh18 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
230 DEBUGFS=`mount -t debugfs | head -1 | awk '{ print $3 }'`
/tools/testing/selftests/filesystems/binderfs/
Dbinderfs_test.c122 ret = mount(NULL, "/", NULL, MS_REC | MS_PRIVATE, 0); in change_to_mountns()
156 ret = mount(NULL, "/dev/binderfs", "binder", 0, 0); in __do_binderfs_test()
/tools/testing/selftests/cpu-hotplug/
Dcpu-on-off-test.sh19 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
237 DEBUGFS=`mount -t debugfs | head -1 | awk '{ print $3 }'`
/tools/testing/selftests/cgroup/
Dcgroup_util.c177 char *fs, *mount, *type; in cg_find_unified_root() local
188 mount = strtok(NULL, delim); in cg_find_unified_root()
195 strncpy(root, mount, len); in cg_find_unified_root()
/tools/testing/selftests/cpufreq/
Dmain.sh49 SYSFS=`mount -t sysfs | head -1 | awk '{ print $3 }'`
/tools/testing/selftests/vm/
Drun_vmtests62 mount -t hugetlbfs none $mnt
/tools/perf/Documentation/
Dperf-buildid-cache.txt73 Obtain mount namespace information from the target pid. This is
75 different mount namespace from the perf(1) utility.
/tools/testing/selftests/filesystems/incfs/
Dutils.c39 result = mount(backing_dir, mount_dir, fs_name, 0, mount_options); in mount_fs()
51 result = mount(backing_dir, mount_dir, fs_name, in mount_fs_opt()
/tools/testing/selftests/ftrace/
Dftracetest161 mount -t tracefs nodev /sys/kernel/tracing ||
167 mount -t debugfs nodev /sys/kernel/debug ||
/tools/bpf/bpftool/
Dcommon.c85 while (mount("", target, "none", MS_PRIVATE | MS_REC, NULL)) { in mnt_fs()
93 if (mount(target, target, "none", MS_BIND, NULL)) { in mnt_fs()
103 if (mount(type, target, type, 0, "mode=0700")) { in mnt_fs()
/tools/testing/selftests/kexec/
Dkexec_common_lib.sh184 mount -t securityfs security $SECURITYFS

12