/linux-master/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
|
/linux-master/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`
|
/linux-master/tools/testing/selftests/powerpc/mm/ |
H A D | stress_code_patching.sh | 6 DEBUFS_DIR=`cat /proc/mounts | grep debugfs | awk '{print $2}'`
|
/linux-master/tools/testing/selftests/damon/ |
H A D | _chk_dependency.sh | 7 DBGFS=$(grep debugfs /proc/mounts --max-count 1 | awk '{print $2}')
|
/linux-master/tools/hv/ |
H A D | hv_vss_daemon.c | 116 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 D | install_policy.sh | 79 mounts=`cat /proc/$$/mounts | \ 82 $SF -F file_contexts $mounts
|
/linux-master/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
|
/linux-master/tools/testing/selftests/gpio/ |
H A D | gpio-mockup-sysfs.sh | 6 SYSFS=`grep -w sysfs /proc/mounts | cut -f2 -d' '`
|
H A D | gpio-mockup.sh | 51 DEBUGFS=$(grep -w debugfs /proc/mounts | cut -f2 -d' ')
|
/linux-master/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)
|
H A D | test_xdp_veth.sh | 23 BPF_FS=$(awk '$3 == "bpf" {print $2; exit}' /proc/mounts)
|
/linux-master/tools/testing/selftests/resctrl/ |
H A D | resctrlfs.c | 18 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 D | mount.h | 11 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 D | namespace.c | 40 /* 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 D | fs.c | 93 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 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
|
/linux-master/tools/testing/selftests/efivarfs/ |
H A D | efivarfs.sh | 25 if ! grep -q "^\S\+ $efivarfs_mount efivarfs" /proc/mounts; then
|
/linux-master/include/linux/ |
H A D | mount.h | 44 * 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 D | test_cgrp2_tc.sh | 19 cat /proc/mounts | \
|
/linux-master/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`
|
/linux-master/fs/overlayfs/ |
H A D | params.c | 750 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 D | inode.c | 502 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 D | fuse_i.h | 911 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 */
|