/kernel/linux/linux-5.10/init/ |
H A D | Makefile | 8 obj-y := main.o version.o mounts.o 18 mounts-y := do_mounts.o 19 mounts-$(CONFIG_BLK_DEV_RAM) += do_mounts_rd.o 20 mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o
|
/kernel/linux/linux-6.6/init/ |
H A D | Makefile | 8 obj-y := main.o version.o mounts.o 18 mounts-y := do_mounts.o 19 mounts-$(CONFIG_BLK_DEV_RAM) += do_mounts_rd.o 20 mounts-$(CONFIG_BLK_DEV_INITRD) += do_mounts_initrd.o
|
/kernel/linux/linux-5.10/tools/lib/api/fs/ |
H A D | fs.c | 90 const char * const *mounts; member 113 .mounts = sysfs__fs_known_mountpoints, 119 .mounts = procfs__known_mountpoints, 125 .mounts = debugfs__known_mountpoints, 131 .mounts = tracefs__known_mountpoints, 137 .mounts = hugetlbfs__known_mountpoints, 143 .mounts = bpf_fs__known_mountpoints, 155 fp = fopen("/proc/mounts", "r"); in fs__read_mounts() 188 ptr = fs->mounts; in fs__check_mounts() 278 return getenv(upper_name) ?: *fs->mounts; in mount_overload() [all...] |
/kernel/linux/linux-5.10/tools/hv/ |
H A D | hv_vss_daemon.c | 116 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() 329 syslog(LOG_ERR, "/etc/fstab and /proc/mounts"); in main()
|
/kernel/linux/linux-6.6/tools/hv/ |
H A D | hv_vss_daemon.c | 116 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() 329 syslog(LOG_ERR, "/etc/fstab and /proc/mounts"); in main()
|
/kernel/linux/linux-5.10/tools/bootconfig/scripts/ |
H A D | bconf2ftrace.sh | 52 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
|
H A D | ftrace2bconf.sh | 26 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
|
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 17 FILE *mounts; in find_resctrl_mount() local 20 mounts = fopen("/proc/mounts", "r"); in find_resctrl_mount() 21 if (!mounts) { in find_resctrl_mount() 22 perror("/proc/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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 17 FILE *mounts; in find_resctrl_mount() local 20 mounts = fopen("/proc/mounts", "r"); in find_resctrl_mount() 21 if (!mounts) { in find_resctrl_mount() 22 perror("/proc/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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pstore/ |
H A D | pstore_post_reboot_tests | 23 mount_info=`grep pstore /proc/mounts` 30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
|
/kernel/linux/linux-6.6/tools/testing/selftests/pstore/ |
H A D | pstore_post_reboot_tests | 23 mount_info=`grep pstore /proc/mounts` 30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1`
|
/kernel/linux/linux-6.6/tools/lib/api/fs/ |
H A D | fs.c | 92 const char * const * const mounts; member 109 .mounts = lower_name##__known_mountpoints, \ 159 fp = fopen("/proc/mounts", "r"); in fs__read_mounts() 192 ptr = fs->mounts; in fs__check_mounts() 266 return getenv(upper_name) ?: *fs->mounts; in mount_overload()
|
/kernel/linux/linux-6.6/tools/bootconfig/scripts/ |
H A D | ftrace2bconf.sh | 26 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
|
H A D | bconf2ftrace.sh | 52 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
|
/kernel/linux/linux-5.10/tools/testing/selftests/kexec/ |
H A D | kexec_common_lib.sh | 9 SECURITYFS=$(grep "securityfs" /proc/mounts | awk '{print $2}') 48 if ! grep -q "^\S\+ $efivarfs efivarfs" /proc/mounts; then
|
/kernel/linux/linux-6.6/tools/testing/selftests/kexec/ |
H A D | kexec_common_lib.sh | 9 SECURITYFS=$(grep "securityfs" /proc/mounts | awk '{print $2}') 48 if ! grep -q "^\S\+ $efivarfs efivarfs" /proc/mounts; then
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
H A D | test_bpftool_metadata.sh | 8 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | ima_setup.sh | 21 local securityfs_dir=$(grep "securityfs" /proc/mounts | awk '{print $2}')
|
H A D | test_bpftool_metadata.sh | 11 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
|
/kernel/linux/linux-6.6/tools/testing/selftests/gpio/ |
H A D | gpio-mockup-sysfs.sh | 6 SYSFS=`grep -w sysfs /proc/mounts | cut -f2 -d' '`
|
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/ |
H A D | ftracetest | 155 TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1` 157 DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
|
/kernel/linux/linux-5.10/fs/fuse/ |
H A D | control.c | 187 if (!list_empty(&fc->mounts)) { in fuse_conn_congestion_threshold_write() 188 fm = list_first_entry(&fc->mounts, struct fuse_mount, fc_entry); in fuse_conn_congestion_threshold_write()
|
/kernel/linux/linux-6.6/tools/testing/selftests/ftrace/ |
H A D | ftracetest | 161 TRACING_DIR=`grep tracefs /proc/mounts | cut -f2 -d' ' | head -1` 163 DEBUGFS_DIR=`grep debugfs /proc/mounts | cut -f2 -d' ' | head -1`
|
/kernel/linux/linux-6.6/fs/ |
H A D | namespace.c | 39 /* Maximum number of mounts in a mount namespace */ 676 * where shadow mounts are created. For example, during mount 703 * following mounts: 753 * mounts in the current mount namespace and test to see if the dentry 757 * need to identify all mounts that may be in the current mount 972 * list of child mounts 1041 n->mounts += n->pending_mounts; in commit_tree() 1157 * unprivileged mounts with submounts. in vfs_submount() 1381 * mounts using a given dentry in a different namespace. This function 1504 * This is called to check if a tree of mounts ha 2207 unsigned int mounts = 0; count_mounts() local 3441 mark_mounts_for_expiry(struct list_head *mounts) mark_mounts_for_expiry() argument [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | namespace.c | 37 /* Maximum number of mounts in a mount namespace */ 624 * following mounts: 674 * mounts in the current mount namespace and test to see if the dentry 678 * need to identify all mounts that may be in the current mount 908 n->mounts += n->pending_mounts; in commit_tree() 1024 * unprivileged mounts with submounts. in vfs_submount() 1234 * mounts using a given dentry in a different namespace. This function 1357 * This is called to check if a tree of mounts has any 1358 * open files, pwds, chroots or sub mounts that are 1390 * open files, pwds, chroots or sub mounts 2054 unsigned int mounts = 0, old, pending, sum; count_mounts() local 3009 mark_mounts_for_expiry(struct list_head *mounts) mark_mounts_for_expiry() argument [all...] |