Home
last modified time | relevance | path

Searched refs:mounts (Results 1 – 16 of 16) sorted by relevance

/tools/bootconfig/scripts/
Dftrace2bconf.sh26 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "`
28 if ! grep -wq debugfs /proc/mounts; then
32 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing
Dbconf2ftrace.sh52 TRACEFS=`grep -m 1 -w tracefs /proc/mounts | cut -f 2 -d " "`
54 if ! grep -wq debugfs /proc/mounts; then
58 TRACEFS=`grep -m 1 -w debugfs /proc/mounts | cut -f 2 -d " "`/tracing
/tools/hv/
Dhv_vss_daemon.c116 FILE *mounts; in vss_operate() local
135 mounts = setmntent("/proc/mounts", "r"); in vss_operate()
136 if (mounts == NULL) in vss_operate()
139 while ((ent = getmntent(mounts))) { in vss_operate()
167 endmntent(mounts); in vss_operate()
186 endmntent(mounts); in vss_operate()
/tools/testing/selftests/pstore/
Dpstore_post_reboot_tests23 mount_info=`grep pstore /proc/mounts`
30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
/tools/testing/selftests/resctrl/
Dresctrlfs.c17 FILE *mounts; in find_resctrl_mount() local
20 mounts = fopen("/proc/mounts", "r"); in find_resctrl_mount()
21 if (!mounts) { in find_resctrl_mount()
25 while (!feof(mounts)) { in find_resctrl_mount()
26 if (!fgets(line, 256, mounts)) in find_resctrl_mount()
40 fclose(mounts); in find_resctrl_mount()
47 fclose(mounts); in find_resctrl_mount()
/tools/testing/selftests/kexec/
Dkexec_common_lib.sh9 SECURITYFS=$(grep "securityfs" /proc/mounts | awk '{print $2}')
48 if ! grep -q "^\S\+ $efivarfs efivarfs" /proc/mounts; then
/tools/testing/selftests/powerpc/mm/
Dstress_code_patching.sh6 DEBUFS_DIR=`cat /proc/mounts | grep debugfs | awk '{print $2}'`
/tools/lib/api/fs/
Dfs.c92 const char * const * const mounts; member
109 .mounts = lower_name##__known_mountpoints, \
192 ptr = fs->mounts; in fs__check_mounts()
266 return getenv(upper_name) ?: *fs->mounts; in mount_overload()
/tools/testing/selftests/gpio/
Dgpio-mockup-sysfs.sh6 SYSFS=`grep -w sysfs /proc/mounts | cut -f2 -d' '`
Dgpio-mockup.sh51 DEBUGFS=$(grep -w debugfs /proc/mounts | cut -f2 -d' ')
/tools/testing/selftests/bpf/
Dima_setup.sh21 local securityfs_dir=$(grep "securityfs" /proc/mounts | awk '{print $2}')
Dtest_bpftool_metadata.sh11 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
Dtest_xdp_veth.sh23 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
/tools/testing/selftests/efivarfs/
Defivarfs.sh25 if ! grep -q "^\S\+ $efivarfs_mount efivarfs" /proc/mounts; then
/tools/testing/selftests/filesystems/fuse/
Dbpf_loader.c452 FILE *mounts = NULL; in tracing_folder() local
456 TEST(mounts = fopen("/proc/mounts", "re"), mounts); in tracing_folder()
457 while (getline(&line, &size, mounts) != -1) { in tracing_folder()
471 fclose(mounts); in tracing_folder()
/tools/testing/selftests/ftrace/
Dftracetest161 TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
163 DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`