Home
last modified time | relevance | path

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

/tools/bootconfig/scripts/
A 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
A 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/
A 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/
A 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/
A Dresctrlfs.c20 FILE *mounts; in find_resctrl_mount() local
23 mounts = fopen("/proc/mounts", "r"); in find_resctrl_mount()
24 if (!mounts) { in find_resctrl_mount()
28 while (!feof(mounts)) { in find_resctrl_mount()
29 if (!fgets(line, 256, mounts)) in find_resctrl_mount()
43 fclose(mounts); in find_resctrl_mount()
50 fclose(mounts); in find_resctrl_mount()
/tools/testing/selftests/kexec/
A 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/
A Dstress_code_patching.sh6 DEBUFS_DIR=`cat /proc/mounts | grep debugfs | awk '{print $2}'`
/tools/lib/api/fs/
A Dfs.c93 const char * const * const mounts; member
110 .mounts = lower_name##__known_mountpoints, \
193 ptr = fs->mounts; in fs__check_mounts()
267 return getenv(upper_name) ?: *fs->mounts; in mount_overload()
/tools/testing/selftests/gpio/
A Dgpio-mockup-sysfs.sh6 SYSFS=`grep -w sysfs /proc/mounts | cut -f2 -d' '`
A Dgpio-mockup.sh51 DEBUGFS=$(grep -w debugfs /proc/mounts | cut -f2 -d' ')
/tools/testing/selftests/bpf/
A Dima_setup.sh21 local securityfs_dir=$(grep "securityfs" /proc/mounts | awk '{print $2}')
A Dtest_bpftool_metadata.sh11 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
A Dtest_bpftool_map.sh13 BPF_FS_PARENT=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
/tools/testing/selftests/ftrace/
A Dftracetest161 TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1`
163 DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
/tools/testing/selftests/efivarfs/
A Defivarfs.sh25 if ! grep -q "^\S\+ $efivarfs_mount efivarfs" /proc/mounts; then
/tools/gpio/
A Dgpio-sloppy-logic-analyzer.sh201 …$4 ~ /cpuset/ { print $2; exit (match($4, /noprefix/) > 0) }' /proc/self/mounts) || cpusetprefix=''

Completed in 23 milliseconds