• Home
  • Raw
  • Download

Lines Matching full:mount

31 #include <uapi/linux/mount.h>
39 /* Maximum number of mounts in a mount namespace */
127 static int mnt_alloc_id(struct mount *mnt) in mnt_alloc_id()
137 static void mnt_free_id(struct mount *mnt) in mnt_free_id()
145 static int mnt_alloc_group_id(struct mount *mnt) in mnt_alloc_group_id()
158 void mnt_release_group_id(struct mount *mnt) in mnt_release_group_id()
167 static inline void mnt_add_count(struct mount *mnt, int n) in mnt_add_count()
181 int mnt_get_count(struct mount *mnt) in mnt_get_count()
197 static struct mount *alloc_vfsmnt(const char *name) in alloc_vfsmnt()
199 struct mount *mnt = kmem_cache_zalloc(mnt_cache, GFP_KERNEL); in alloc_vfsmnt()
260 * __mnt_is_readonly: check whether a mount is read-only
261 * @mnt: the mount to check for its write status
276 static inline void mnt_inc_writers(struct mount *mnt) in mnt_inc_writers()
285 static inline void mnt_dec_writers(struct mount *mnt) in mnt_dec_writers()
294 static unsigned int mnt_get_writers(struct mount *mnt) in mnt_get_writers()
317 * not see any superblock / mount flag changes done by remount. in mnt_is_readonly()
320 * see the values of superblock / mount flags updated by remount. in mnt_is_readonly()
333 * __mnt_want_write - get write access to a mount without freeze protection
334 * @m: the mount on which to take a write
344 struct mount *mnt = real_mount(m); in __mnt_want_write()
391 * mnt_want_write - get write access to a mount
392 * @m: the mount on which to take a write
395 * it, and makes sure that writes are allowed (mount is read-write, filesystem
412 * __mnt_want_write_file - get write access to a file's mount
413 * @file: the file who's mount on which to take a write
435 * mnt_want_write_file - get write access to a file's mount
436 * @file: the file who's mount on which to take a write
456 * __mnt_drop_write - give up write access to a mount
457 * @mnt: the mount on which to give up write access
471 * mnt_drop_write - give up write access to a mount
472 * @mnt: the mount on which to give up write access
499 * mnt_hold_writers - prevent write access to the given mount
516 static inline int mnt_hold_writers(struct mount *mnt) in mnt_hold_writers()
548 * mnt_unhold_writers - stop preventing write access to the given mount
559 static inline void mnt_unhold_writers(struct mount *mnt) in mnt_unhold_writers()
569 static int mnt_make_readonly(struct mount *mnt) in mnt_make_readonly()
582 struct mount *mnt; in sb_prepare_remount_readonly()
611 static void free_vfsmnt(struct mount *mnt) in free_vfsmnt()
623 free_vfsmnt(container_of(head, struct mount, mnt_rcu)); in delayed_free_vfsmnt()
629 struct mount *mnt; in __legitimize_mnt()
665 * __lookup_mnt - find first child mount
666 * @mnt: parent mount
669 * If @mnt has a child mount @c mounted @dentry find and return it.
671 * Note that the child mount @c need not be unique. There are cases
672 * where shadow mounts are created. For example, during mount
673 * propagation when a source mount @mnt whose root got overmounted by a
674 * mount @o after path lookup but before @namespace_sem could be
676 * @o. When @mnt is propagated to a destination mount @d that already
677 * has another mount @n mounted at the same mountpoint then the source
678 * mount @mnt will be tucked beneath @n, i.e., @n will be mounted on
684 struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt()
687 struct mount *p; in __lookup_mnt()
696 * lookup_mnt - Return the first child mount mounted at path
701 * mount /dev/sda1 /mnt
702 * mount /dev/sda2 /mnt
703 * mount /dev/sda3 /mnt
705 * Then lookup_mnt() on the base /mnt dentry in the root mount will
713 struct mount *child_mnt; in lookup_mnt()
737 static inline bool mnt_is_cursor(struct mount *mnt) in mnt_is_cursor()
744 * current mount namespace.
749 * mounts in the current mount namespace and test to see if the dentry
753 * need to identify all mounts that may be in the current mount
754 * namespace not just a mount that happens to have some specified
755 * parent mount.
760 struct mount *mnt; in __is_local_mountpoint()
866 static inline int check_mnt(struct mount *mnt) in check_mnt()
896 static struct mountpoint *unhash_mnt(struct mount *mnt) in unhash_mnt()
912 static void umount_mnt(struct mount *mnt) in umount_mnt()
920 void mnt_set_mountpoint(struct mount *mnt, in mnt_set_mountpoint()
922 struct mount *child_mnt) in mnt_set_mountpoint()
933 * mnt_set_mountpoint_beneath - mount a mount beneath another one
935 * @new_parent: the source mount
936 * @top_mnt: the mount beneath which @new_parent is mounted
940 * parent @top_mnt->mnt_parent and mount it on top of @new_parent at
941 * @new_mp. And mount @new_parent on the old parent and old
947 static void mnt_set_mountpoint_beneath(struct mount *new_parent, in mnt_set_mountpoint_beneath()
948 struct mount *top_mnt, in mnt_set_mountpoint_beneath()
951 struct mount *old_top_parent = top_mnt->mnt_parent; in mnt_set_mountpoint_beneath()
959 static void __attach_mnt(struct mount *mnt, struct mount *parent) in __attach_mnt()
967 * attach_mnt - mount a mount, attach to @mount_hashtable and parent's
970 * @mnt: the new mount
972 * @beneath: whether to mount @mnt beneath or on top of @parent
974 * If @beneath is false, mount @mnt at @mp on @parent. Then attach @mnt
975 * to @parent's child mount list and to @mount_hashtable.
978 * mountpoint and mount it on @mp on @parent, and mount @parent on the
988 static void attach_mnt(struct mount *mnt, struct mount *parent, in attach_mnt()
999 * isn't the same mount as @parent. in attach_mnt()
1004 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt) in mnt_change_mountpoint()
1007 struct mount *old_parent = mnt->mnt_parent; in mnt_change_mountpoint()
1022 static void commit_tree(struct mount *mnt) in commit_tree()
1024 struct mount *parent = mnt->mnt_parent; in commit_tree()
1025 struct mount *m; in commit_tree()
1044 static struct mount *next_mnt(struct mount *p, struct mount *root) in next_mnt()
1057 return list_entry(next, struct mount, mnt_child); in next_mnt()
1060 static struct mount *skip_mnt_tree(struct mount *p) in skip_mnt_tree()
1064 p = list_entry(prev, struct mount, mnt_child); in skip_mnt_tree()
1071 * vfs_create_mount - Create a mount for a configured superblock
1074 * Create a mount to an already configured superblock. If necessary, the
1077 * Note that this does not attach the mount to anything.
1081 struct mount *mnt; in vfs_create_mount()
1152 * through from the parent mount to the submount don't support in vfs_submount()
1162 static struct mount *clone_mnt(struct mount *old, struct dentry *root, in clone_mnt()
1166 struct mount *mnt; in clone_mnt()
1215 /* stick the duplicate mount on the same expiry list in clone_mnt()
1230 static void cleanup_mnt(struct mount *mnt) in cleanup_mnt()
1233 struct mount *m; in cleanup_mnt()
1257 cleanup_mnt(container_of(head, struct mount, mnt_rcu)); in __cleanup_mnt()
1264 struct mount *m, *t; in delayed_mntput()
1271 static void mntput_no_expire(struct mount *mnt) in mntput_no_expire()
1316 struct mount *p, *tmp; in mntput_no_expire()
1342 struct mount *m = real_mount(mnt); in mntput()
1360 * Make a mount point inaccessible to new lookups.
1362 * for an RCU grace period before destroying the mount point.
1371 * path_is_mountpoint() - Check if path is a mount in the current namespace.
1402 struct mount *p; in mnt_clone_internal()
1411 static struct mount *mnt_list_next(struct mnt_namespace *ns, in mnt_list_next()
1414 struct mount *mnt, *ret = NULL; in mnt_list_next()
1452 struct mount *mnt = v; in m_next()
1461 struct mount *mnt = v; in m_stop()
1475 struct mount *r = v; in m_show()
1486 void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor) in mnt_cursor_del()
1497 * may_umount_tree - check if a mount tree is busy
1498 * @m: root of mount tree
1506 struct mount *mnt = real_mount(m); in may_umount_tree()
1509 struct mount *p; in may_umount_tree()
1529 * may_umount - check if a mount point is busy
1530 * @mnt: root of mount
1532 * This is called to check if a mount point has any
1534 * mount has sub mounts this will return busy
1559 struct mount *m; in namespace_unlock()
1591 static bool disconnect_mount(struct mount *mnt, enum umount_tree_flags how) in disconnect_mount()
1597 /* A mount without a parent has nothing to be connected to */ in disconnect_mount()
1608 /* Has it been requested that the mount remain connected? */ in disconnect_mount()
1612 /* Is the mount locked such that it needs to remain connected? */ in disconnect_mount()
1616 /* By default disconnect the mount */ in disconnect_mount()
1624 static void umount_tree(struct mount *mnt, enum umount_tree_flags how) in umount_tree()
1627 struct mount *p; in umount_tree()
1650 p = list_first_entry(&tmp_list, struct mount, mnt_list); in umount_tree()
1678 static void shrink_submounts(struct mount *mnt);
1703 static int do_umount(struct mount *mnt, int flags) in do_umount()
1740 * mount, and they will themselves hold resources we must in do_umount()
1744 * must return, and the like. Thats for the mount program to worry in do_umount()
1804 * to an existing mountpoint, and wind up leaking the mount.
1813 struct mount *mnt; in __detach_mounts()
1823 mnt = hlist_entry(mp->m_list.first, struct mount, mnt_mp_list); in __detach_mounts()
1848 * Determine whether @path refers to the root of a mount.
1850 * Return: true if @path is the root of a mount, false if not.
1860 "WARNING: The mand mount option has been deprecated and\n" in warn_mandlock()
1862 " option from the mount to silence this warning.\n" in warn_mandlock()
1868 struct mount *mnt = real_mount(path->mnt); in can_umount()
1887 struct mount *mnt = real_mount(path->mnt); in path_umount()
1937 /* Is this a proxy for a mount namespace? */ in is_mnt_ns_file()
1954 /* Could bind mounting the mount namespace inode cause a in mnt_ns_loop()
1955 * mount namespace loop? in mnt_ns_loop()
1965 struct mount *copy_tree(struct mount *mnt, struct dentry *dentry, in copy_tree()
1968 struct mount *res, *p, *q, *r, *parent; in copy_tree()
1984 struct mount *s; in copy_tree()
2034 struct mount *tree; in collect_mounts()
2077 static bool has_locked_children(struct mount *mnt, struct dentry *dentry) in has_locked_children()
2079 struct mount *child; in has_locked_children()
2095 * This creates a new vfsmount, which will be the clone of @path. The new mount
2097 * changes to the originating mount won't be propagated into this).
2103 struct mount *old_mnt = real_mount(path->mnt); in clone_private_mount()
2104 struct mount *new_mnt; in clone_private_mount()
2127 /* Longterm mount to be removed by kern_unmount*() */ in clone_private_mount()
2141 struct mount *mnt; in iterate_mounts()
2153 static void lock_mnt_tree(struct mount *mnt) in lock_mnt_tree()
2155 struct mount *p; in lock_mnt_tree()
2159 /* Don't allow unprivileged users to change mount flags */ in lock_mnt_tree()
2173 /* Don't allow unprivileged users to reveal what is under a mount */ in lock_mnt_tree()
2180 static void cleanup_group_ids(struct mount *mnt, struct mount *end) in cleanup_group_ids()
2182 struct mount *p; in cleanup_group_ids()
2190 static int invent_group_ids(struct mount *mnt, bool recurse) in invent_group_ids()
2192 struct mount *p; in invent_group_ids()
2207 int count_mounts(struct mnt_namespace *ns, struct mount *mnt) in count_mounts()
2211 struct mount *p; in count_mounts()
2236 * attach_recursive_mnt - attach a source mount tree
2237 * @source_mnt: mount tree to be attached
2238 * @top_mnt: mount that @source_mnt will be mounted on or mounted beneath
2242 * NOTE: in the table below explains the semantics when a source mount
2243 * of a given type is attached to a destination mount of a given type.
2245 * | BIND MOUNT OPERATION |
2256 * A bind operation clones the source mount and mounts the clone on the
2257 * destination mount.
2259 * (++) the cloned mount is propagated to all the mounts in the propagation
2260 * tree of the destination mount and the cloned mount is added to
2261 * the peer group of the source mount.
2262 * (+) the cloned mount is created under the destination mount and is marked
2263 * as shared. The cloned mount is added to the peer group of the source
2264 * mount.
2265 * (+++) the mount is propagated to all the mounts in the propagation tree
2266 * of the destination mount and the cloned mount is made slave
2267 * of the same master as that of the source mount. The cloned mount
2269 * (*) the cloned mount is made a slave of the same master as that of the
2270 * source mount.
2273 * | MOVE MOUNT OPERATION |
2285 * (+) the mount is moved to the destination. And is then propagated to
2286 * all the mounts in the propagation tree of the destination mount.
2287 * (+*) the mount is moved to the destination.
2288 * (+++) the mount is moved to the destination and is then propagated to
2289 * all the mounts belonging to the destination mount's propagation tree.
2290 * the mount is marked as 'shared and slave'.
2291 * (*) the mount continues to be a slave at the new location.
2293 * if the source mount is a tree, the operations explained above is
2294 * applied to each mount in the tree.
2302 static int attach_recursive_mnt(struct mount *source_mnt, in attach_recursive_mnt()
2303 struct mount *top_mnt, in attach_recursive_mnt()
2311 struct mount *child, *dest_mnt, *p; in attach_recursive_mnt()
2324 /* Is there space to add these mounts to the mount namespace? */ in attach_recursive_mnt()
2370 struct mount *q; in attach_recursive_mnt()
2389 child = hlist_entry(tree_list.first, struct mount, mnt_hash); in attach_recursive_mnt()
2406 * do_lock_mount - lock mount and mountpoint
2408 * @beneath: whether the intention is to mount beneath @path
2410 * Follow the mount stack on @path until the top mount @mnt is found. If
2412 * mount stacked on top of it. Then simply follow @{mnt,mnt->mnt_root}
2415 * Acquire the inode_lock() on the top mount's ->mnt_root to protect
2416 * against concurrent removal of the new mountpoint from another mount
2421 * concurrent unlink of @mp->mnt_dentry from another mount namespace
2422 * where @mnt doesn't have a child mount mounted @mp. A concurrent
2436 * Return: Either the target mountpoint on the top mount or the top
2437 * mount's mountpoint.
2447 struct mount *m = real_mount(mnt); in do_lock_mount()
2517 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2551 struct mount *m; in do_change_type()
2552 struct mount *mnt = real_mount(path->mnt); in do_change_type()
2585 static struct mount *__do_loopback(struct path *old_path, int recurse) in __do_loopback()
2587 struct mount *mnt = ERR_PTR(-EINVAL), *old = real_mount(old_path->mnt); in __do_loopback()
2610 * do loopback mount.
2616 struct mount *mnt = NULL, *parent; in do_loopback()
2662 struct mount *mnt, *p; in open_detached_copy()
2749 * Don't allow locked mount flags to be cleared.
2754 static bool can_change_locked_flags(struct mount *mnt, unsigned int mnt_flags) in can_change_locked_flags()
2781 static int change_mount_ro_state(struct mount *mnt, unsigned int mnt_flags) in change_mount_ro_state()
2795 static void set_mount_attributes(struct mount *mnt, unsigned int mnt_flags) in set_mount_attributes()
2834 * to mount(2).
2839 struct mount *mnt = real_mount(path->mnt); in do_reconfigure_mnt()
2878 struct mount *mnt = real_mount(path->mnt); in do_remount()
2896 * from the legacy mount system call. in do_remount()
2921 static inline int tree_contains_unbindable(struct mount *mnt) in tree_contains_unbindable()
2923 struct mount *p; in tree_contains_unbindable()
2932 * Check that there aren't references to earlier/same mount namespaces in the
2933 * specified subtree. Such references can act as pins for mount namespaces
2934 * that aren't checked by the mount-cycle checking code, thereby allowing
2937 static bool check_for_nsfs_mounts(struct mount *subtree) in check_for_nsfs_mounts()
2939 struct mount *p; in check_for_nsfs_mounts()
2955 struct mount *from, *to; in do_set_group()
2971 /* We should be allowed to modify mount namespaces of both mounts */ in do_set_group()
2978 /* To and From paths should be mount roots */ in do_set_group()
2988 /* From mount root should be wider than To mount root */ in do_set_group()
2992 /* From mount should not have locked children in place of To's root */ in do_set_group()
3005 struct mount *m = from->mnt_master; in do_set_group()
3029 * Check if path is overmounted, i.e., if there's a mount on top of
3054 * can_move_mount_beneath - check that we can mount beneath the top mount
3055 * @from: mount to mount beneath
3056 * @to: mount under which to mount
3058 * - Make sure that @to->dentry is actually the root of a mount under
3059 * which we can mount another mount.
3062 * - Make sure that the caller can unmount the topmost mount ensuring
3066 * - Prevent mounting beneath a mount if the propagation relationship
3067 * between the source mount, parent mount, and top mount would lead to
3068 * nonsensical mount trees.
3077 struct mount *mnt_from = real_mount(from->mnt), in can_move_mount_beneath()
3090 /* Avoid creating shadow mounts during mount propagation. */ in can_move_mount_beneath()
3103 for (struct mount *p = mnt_from; mnt_has_parent(p); p = p->mnt_parent) in can_move_mount_beneath()
3108 * If the parent mount propagates to the child mount this would in can_move_mount_beneath()
3111 * defeats the whole purpose of mounting beneath another mount. in can_move_mount_beneath()
3138 struct mount *p; in do_move_mount()
3139 struct mount *old; in do_move_mount()
3140 struct mount *parent; in do_move_mount()
3182 * Don't move a mount residing in a shared parent. in do_move_mount()
3198 * Don't move a mount tree containing unbindable mounts to a destination in do_move_mount()
3199 * mount which is shared. in do_move_mount()
3214 /* if the mount is moved, it should no longer be expire in do_move_mount()
3248 * add a mount into a namespace's mount tree
3250 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount()
3253 struct mount *parent = real_mount(path->mnt); in do_add_mount()
3266 /* Refuse the same filesystem on the same mount point */ in do_add_mount()
3280 * Create a new mount using a superblock configuration and request it
3321 * create a new mount for userspace and request it to be added into the
3356 * Indicate to the filesystem that the mount request is coming in do_new_mount()
3357 * from the legacy mount system call. in do_new_mount()
3383 struct mount *mnt; in finish_automount()
3392 /* The new mount record should have at least 2 refs to prevent it being in finish_automount()
3406 * got", not "try to mount it on top". in finish_automount()
3447 * mnt_set_expiry - Put a mount on an expiration list
3448 * @mnt: The mount to list.
3449 * @expiry_list: The list to add the mount to.
3468 struct mount *mnt, *next; in mark_mounts_for_expiry()
3490 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
3506 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts()
3508 struct mount *this_parent = parent; in select_submounts()
3517 struct mount *mnt = list_entry(tmp, struct mount, mnt_child); in select_submounts()
3552 static void shrink_submounts(struct mount *mnt) in shrink_submounts()
3555 struct mount *m; in shrink_submounts()
3560 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
3611 * be given to the mount() call (ie: read-only, no-dev, no-suid etc).
3617 * Pre-0.97 versions of mount() didn't have a flags word.
3737 * mount a reference to an older mount namespace into the current
3738 * mount namespace, preventing reference counting loops. A 64bit
3785 struct mount *p, *q; in copy_mnt_ns()
3786 struct mount *old; in copy_mnt_ns()
3787 struct mount *new; in copy_mnt_ns()
3862 struct mount *mnt = real_mount(m); in mount_subtree()
3897 SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name, in SYSCALL_DEFINE5() argument
3962 * Create a kernel mount representation for a new, prepared superblock
3972 struct mount *mnt; in SYSCALL_DEFINE3()
4015 /* There must be a valid superblock or we can't mount it */ in SYSCALL_DEFINE3()
4022 pr_warn("VFS: Mount too revealing\n"); in SYSCALL_DEFINE3()
4041 /* We've done the mount bit - now move the file context into more or in SYSCALL_DEFINE3()
4087 * Move a mount from one place to another. In combination with
4088 * fsopen()/fsmount() this is used to install a new mount and in combination
4090 * a mount subtree.
4157 bool is_path_reachable(struct mount *mnt, struct dentry *dentry, in is_path_reachable()
4198 * /nfs/my_root where /nfs is the mount point. It must be a mountpoint,
4199 * though, so you may need to say mount --bind /nfs/my_root /nfs/my_root
4206 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2()
4275 /* mount old root on put_old */ in SYSCALL_DEFINE2()
4277 /* mount new_root on / */ in SYSCALL_DEFINE2()
4281 /* A moved mount should not expire automatically */ in SYSCALL_DEFINE2()
4301 static unsigned int recalc_flags(struct mount_kattr *kattr, struct mount *mnt) in recalc_flags()
4313 static int can_idmap_mount(const struct mount_kattr *kattr, struct mount *mnt) in can_idmap_mount()
4322 * Creating an idmapped mount with the filesystem wide idmapping in can_idmap_mount()
4329 * Once a mount has been idmapped we don't allow it to change its in can_idmap_mount()
4331 * another bind-mount they can idmap if they want to. in can_idmap_mount()
4344 /* Mount has already been visible in the filesystem hierarchy. */ in can_idmap_mount()
4353 * @kattr: the new mount attributes
4354 * @mnt: the mount to which @kattr will be applied
4356 * Check whether thew new mount attributes in @kattr allow concurrent writers.
4361 const struct mount *mnt) in mnt_allow_writers()
4368 static int mount_setattr_prepare(struct mount_kattr *kattr, struct mount *mnt) in mount_setattr_prepare()
4370 struct mount *m; in mount_setattr_prepare()
4394 struct mount *p; in mount_setattr_prepare()
4399 * mounts and needs to take care to include the first mount. in mount_setattr_prepare()
4407 * We're done once the first mount we changed got in mount_setattr_prepare()
4417 static void do_idmap_mount(const struct mount_kattr *kattr, struct mount *mnt) in do_idmap_mount()
4425 * Since we only allow a mount to change the idmapping once and in do_idmap_mount()
4426 * verified this in can_idmap_mount() we know that the mount has in do_idmap_mount()
4433 static void mount_setattr_commit(struct mount_kattr *kattr, struct mount *mnt) in mount_setattr_commit()
4435 struct mount *m; in mount_setattr_commit()
4458 struct mount *mnt = real_mount(path->mnt); in do_mount_setattr()
4496 * If this is an attached mount make sure it's located in the callers in do_mount_setattr()
4497 * mount namespace. If it's not don't let the caller interact with it. in do_mount_setattr()
4499 * If this mount doesn't have a parent it's most often simply a in do_mount_setattr()
4500 * detached mount with an anonymous mount namespace. IOW, something in do_mount_setattr()
4502 * that do change mount properties on the rootfs itself. That obviously in do_mount_setattr()
4503 * neither has a parent nor is it a detached mount so we cannot in do_mount_setattr()
4510 * First, we get the mount tree in a shape where we can change mount in do_mount_setattr()
4542 * We currently do not support clearing an idmapped mount. If this ever in build_mount_idmapped()
4569 * mount. We use the initial idmapping as an indicator of a mount in build_mount_idmapped()
4721 struct mount *m; in init_mount_tree()
4752 mnt_cache = kmem_cache_create("mnt_cache", sizeof(struct mount), in mnt_init()
4755 mount_hashtable = alloc_large_system_hash("Mount-cache", in mnt_init()
4767 panic("Failed to allocate mount hash table\n"); in mnt_init()
4797 * it is a longterm mount, don't release mnt until in kern_mount()
4808 /* release long term mount so mount point can be released */ in kern_unmount()
4863 struct mount *mnt; in mnt_already_visible()
4869 struct mount *child; in mnt_already_visible()
4878 /* This mount is not fully visible if it's root directory in mnt_already_visible()
4884 /* A local view of the mount flags */ in mnt_already_visible()
4891 /* Verify the mount flags are equal to or more permissive in mnt_already_visible()
4892 * than the proposed new mount. in mnt_already_visible()
4901 /* This mount is not fully visible if there are any in mnt_already_visible()
5045 .procname = "mount-max",