Home
last modified time | relevance | path

Searched refs:mounts (Results 1 - 25 of 43) sorted by relevance

12

/kernel/linux/linux-5.10/init/
H A DMakefile8 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 DMakefile8 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 Dfs.c90 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 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()
329 syslog(LOG_ERR, "/etc/fstab and /proc/mounts"); in main()
/kernel/linux/linux-6.6/tools/hv/
H 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()
329 syslog(LOG_ERR, "/etc/fstab and /proc/mounts"); in main()
/kernel/linux/linux-5.10/tools/bootconfig/scripts/
H 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
H 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
/kernel/linux/linux-5.10/tools/testing/selftests/resctrl/
H A 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()
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 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()
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 Dpstore_post_reboot_tests23 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 Dpstore_post_reboot_tests23 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 Dfs.c92 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 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
H 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
/kernel/linux/linux-5.10/tools/testing/selftests/kexec/
H A Dkexec_common_lib.sh9 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 Dkexec_common_lib.sh9 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 Dtest_bpftool_metadata.sh8 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dima_setup.sh21 local securityfs_dir=$(grep "securityfs" /proc/mounts | awk '{print $2}')
H A Dtest_bpftool_metadata.sh11 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
/kernel/linux/linux-6.6/tools/testing/selftests/gpio/
H A Dgpio-mockup-sysfs.sh6 SYSFS=`grep -w sysfs /proc/mounts | cut -f2 -d' '`
/kernel/linux/linux-5.10/tools/testing/selftests/ftrace/
H A Dftracetest155 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 Dcontrol.c187 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 Dftracetest161 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 Dnamespace.c39 /* 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 Dnamespace.c37 /* 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...]

Completed in 17 milliseconds

12