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

/linux-master/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
/linux-master/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`
/linux-master/tools/testing/selftests/powerpc/mm/
H A Dstress_code_patching.sh6 DEBUFS_DIR=`cat /proc/mounts | grep debugfs | awk '{print $2}'`
/linux-master/tools/testing/selftests/damon/
H A D_chk_dependency.sh7 DBGFS=$(grep debugfs /proc/mounts --max-count 1 | awk '{print $2}')
/linux-master/tools/hv/
H A Dhv_vss_daemon.c116 FILE *mounts; local
135 mounts = setmntent("/proc/mounts", "r");
136 if (mounts == NULL)
139 while ((ent = getmntent(mounts))) {
167 endmntent(mounts);
186 endmntent(mounts);
329 syslog(LOG_ERR, "/etc/fstab and /proc/mounts");
/linux-master/scripts/selinux/
H A Dinstall_policy.sh79 mounts=`cat /proc/$$/mounts | \
82 $SF -F file_contexts $mounts
/linux-master/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
/linux-master/tools/testing/selftests/gpio/
H A Dgpio-mockup-sysfs.sh6 SYSFS=`grep -w sysfs /proc/mounts | cut -f2 -d' '`
H A Dgpio-mockup.sh51 DEBUGFS=$(grep -w debugfs /proc/mounts | cut -f2 -d' ')
/linux-master/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)
H A Dtest_xdp_veth.sh23 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
/linux-master/tools/testing/selftests/resctrl/
H A Dresctrlfs.c18 FILE *mounts; local
21 mounts = fopen("/proc/mounts", "r");
22 if (!mounts) {
23 ksft_perror("/proc/mounts");
26 while (!feof(mounts)) {
27 if (!fgets(line, 256, mounts))
41 fclose(mounts);
48 fclose(mounts);
/linux-master/fs/
H A Dmount.h11 struct rb_root mounts; /* Protected by namespace_sem */ member in struct:mnt_namespace
17 unsigned int nr_mounts; /* # of mounts in the namespace */
53 struct rb_node mnt_node; /* Under ns->mounts */
57 struct list_head mnt_share; /* circular list of shared mounts */
58 struct list_head mnt_slave_list;/* list of slave mounts */
64 struct hlist_node mnt_mp_list; /* list mounts with the same mountpoint */
150 rb_erase(&mnt->mnt_node, &mnt->mnt_ns->mounts);
H A Dnamespace.c40 /* Maximum number of mounts in a mount namespace */
683 * where shadow mounts are created. For example, during mount
710 * following mounts:
745 * mounts in the current mount namespace and test to see if the dentry
749 * need to identify all mounts that may be in the current mount
760 rbtree_postorder_for_each_entry_safe(mnt, n, &ns->mounts, mnt_node) {
960 * list of child mounts
1018 struct rb_node **link = &ns->mounts.rb_node;
1031 rb_insert_color(&mnt->mnt_node, &ns->mounts);
1170 * unprivileged mounts wit
2209 unsigned int mounts = 0; local
3447 mark_mounts_for_expiry(struct list_head *mounts) argument
[all...]
/linux-master/tools/lib/api/fs/
H A Dfs.c93 const char * const * const mounts; member in struct:fs
110 .mounts = lower_name##__known_mountpoints, \
160 fp = fopen("/proc/mounts", "r");
193 ptr = fs->mounts;
267 return getenv(upper_name) ?: *fs->mounts;
/linux-master/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
/linux-master/tools/testing/selftests/efivarfs/
H A Defivarfs.sh25 if ! grep -q "^\S\+ $efivarfs_mount efivarfs" /proc/mounts; then
/linux-master/include/linux/
H A Dmount.h44 * flag, consider how it interacts with shared mounts.
107 extern void mark_mounts_for_expiry(struct list_head *mounts);
/linux-master/samples/bpf/
H A Dtest_cgrp2_tc.sh19 cat /proc/mounts | \
/linux-master/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`
/linux-master/fs/overlayfs/
H A Dparams.c750 struct vfsmount **mounts; local
764 mounts = (struct vfsmount **) ofs->config.lowerdirs;
768 mounts[i] = ofs->layers[i].mnt;
770 kern_unmount_array(mounts, ofs->numlayer);
/linux-master/fs/fuse/
H A Dinode.c502 list_for_each_entry(fm_iter, &fc->mounts, fc_entry) {
940 INIT_LIST_HEAD(&fc->mounts);
941 list_add(&fm->fc_entry, &fc->mounts);
1648 list_add_tail(&fm->fc_entry, &fc->mounts);
1845 * (found by device name), normal fuse mounts can't
1914 if (list_empty(&fc->mounts))
H A Dfuse_i.h911 struct list_head mounts; member in struct:fuse_conn
925 * This object allows sharing a fuse_conn between separate mounts to
939 /* Entry on fc->mounts */

Completed in 339 milliseconds