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()
669 * __lookup_mnt - find first child mount
670 * @mnt: parent mount
673 * If @mnt has a child mount @c mounted @dentry find and return it.
675 * Note that the child mount @c need not be unique. There are cases
676 * where shadow mounts are created. For example, during mount
677 * propagation when a source mount @mnt whose root got overmounted by a
678 * mount @o after path lookup but before @namespace_sem could be
680 * @o. When @mnt is propagated to a destination mount @d that already
681 * has another mount @n mounted at the same mountpoint then the source
682 * mount @mnt will be tucked beneath @n, i.e., @n will be mounted on
688 struct mount *__lookup_mnt(struct vfsmount *mnt, struct dentry *dentry) in __lookup_mnt()
691 struct mount *p; in __lookup_mnt()
700 * lookup_mnt - Return the first child mount mounted at path
705 * mount /dev/sda1 /mnt
706 * mount /dev/sda2 /mnt
707 * mount /dev/sda3 /mnt
709 * Then lookup_mnt() on the base /mnt dentry in the root mount will
717 struct mount *child_mnt; in lookup_mnt()
741 static inline bool mnt_is_cursor(struct mount *mnt) in mnt_is_cursor()
748 * current mount namespace.
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
758 * namespace not just a mount that happens to have some specified
759 * parent mount.
764 struct mount *mnt; in __is_local_mountpoint()
870 static inline int check_mnt(struct mount *mnt) in check_mnt()
900 static struct mountpoint *unhash_mnt(struct mount *mnt) in unhash_mnt()
916 static void umount_mnt(struct mount *mnt) in umount_mnt()
924 void mnt_set_mountpoint(struct mount *mnt, in mnt_set_mountpoint()
926 struct mount *child_mnt) in mnt_set_mountpoint()
937 * mnt_set_mountpoint_beneath - mount a mount beneath another one
939 * @new_parent: the source mount
940 * @top_mnt: the mount beneath which @new_parent is mounted
944 * parent @top_mnt->mnt_parent and mount it on top of @new_parent at
945 * @new_mp. And mount @new_parent on the old parent and old
951 static void mnt_set_mountpoint_beneath(struct mount *new_parent, in mnt_set_mountpoint_beneath()
952 struct mount *top_mnt, in mnt_set_mountpoint_beneath()
955 struct mount *old_top_parent = top_mnt->mnt_parent; in mnt_set_mountpoint_beneath()
963 static void __attach_mnt(struct mount *mnt, struct mount *parent) in __attach_mnt()
971 * attach_mnt - mount a mount, attach to @mount_hashtable and parent's
974 * @mnt: the new mount
976 * @beneath: whether to mount @mnt beneath or on top of @parent
978 * If @beneath is false, mount @mnt at @mp on @parent. Then attach @mnt
979 * to @parent's child mount list and to @mount_hashtable.
982 * mountpoint and mount it on @mp on @parent, and mount @parent on the
992 static void attach_mnt(struct mount *mnt, struct mount *parent, in attach_mnt()
1003 * isn't the same mount as @parent. in attach_mnt()
1008 void mnt_change_mountpoint(struct mount *parent, struct mountpoint *mp, struct mount *mnt) in mnt_change_mountpoint()
1011 struct mount *old_parent = mnt->mnt_parent; in mnt_change_mountpoint()
1026 static void commit_tree(struct mount *mnt) in commit_tree()
1028 struct mount *parent = mnt->mnt_parent; in commit_tree()
1029 struct mount *m; in commit_tree()
1048 static struct mount *next_mnt(struct mount *p, struct mount *root) in next_mnt()
1061 return list_entry(next, struct mount, mnt_child); in next_mnt()
1064 static struct mount *skip_mnt_tree(struct mount *p) in skip_mnt_tree()
1068 p = list_entry(prev, struct mount, mnt_child); in skip_mnt_tree()
1075 * vfs_create_mount - Create a mount for a configured superblock
1078 * Create a mount to an already configured superblock. If necessary, the
1081 * Note that this does not attach the mount to anything.
1085 struct mount *mnt; in vfs_create_mount()
1156 * through from the parent mount to the submount don't support in vfs_submount()
1166 static struct mount *clone_mnt(struct mount *old, struct dentry *root, in clone_mnt()
1170 struct mount *mnt; in clone_mnt()
1219 /* stick the duplicate mount on the same expiry list in clone_mnt()
1234 static void cleanup_mnt(struct mount *mnt) in cleanup_mnt()
1237 struct mount *m; in cleanup_mnt()
1261 cleanup_mnt(container_of(head, struct mount, mnt_rcu)); in __cleanup_mnt()
1268 struct mount *m, *t; in delayed_mntput()
1275 static void mntput_no_expire(struct mount *mnt) in mntput_no_expire()
1320 struct mount *p, *tmp; in mntput_no_expire()
1346 struct mount *m = real_mount(mnt); in mntput()
1364 * Make a mount point inaccessible to new lookups.
1366 * for an RCU grace period before destroying the mount point.
1375 * path_is_mountpoint() - Check if path is a mount in the current namespace.
1406 struct mount *p; in mnt_clone_internal()
1415 static struct mount *mnt_list_next(struct mnt_namespace *ns, in mnt_list_next()
1418 struct mount *mnt, *ret = NULL; in mnt_list_next()
1456 struct mount *mnt = v; in m_next()
1465 struct mount *mnt = v; in m_stop()
1479 struct mount *r = v; in m_show()
1490 void mnt_cursor_del(struct mnt_namespace *ns, struct mount *cursor) in mnt_cursor_del()
1501 * may_umount_tree - check if a mount tree is busy
1502 * @m: root of mount tree
1510 struct mount *mnt = real_mount(m); in may_umount_tree()
1513 struct mount *p; in may_umount_tree()
1533 * may_umount - check if a mount point is busy
1534 * @mnt: root of mount
1536 * This is called to check if a mount point has any
1538 * mount has sub mounts this will return busy
1563 struct mount *m; in namespace_unlock()
1595 static bool disconnect_mount(struct mount *mnt, enum umount_tree_flags how) in disconnect_mount()
1601 /* A mount without a parent has nothing to be connected to */ in disconnect_mount()
1612 /* Has it been requested that the mount remain connected? */ in disconnect_mount()
1616 /* Is the mount locked such that it needs to remain connected? */ in disconnect_mount()
1620 /* By default disconnect the mount */ in disconnect_mount()
1628 static void umount_tree(struct mount *mnt, enum umount_tree_flags how) in umount_tree()
1631 struct mount *p; in umount_tree()
1654 p = list_first_entry(&tmp_list, struct mount, mnt_list); in umount_tree()
1682 static void shrink_submounts(struct mount *mnt);
1707 static int do_umount(struct mount *mnt, int flags) in do_umount()
1744 * mount, and they will themselves hold resources we must in do_umount()
1748 * must return, and the like. Thats for the mount program to worry in do_umount()
1807 * to an existing mountpoint, and wind up leaking the mount.
1816 struct mount *mnt; in __detach_mounts()
1826 mnt = hlist_entry(mp->m_list.first, struct mount, mnt_mp_list); in __detach_mounts()
1851 * Determine whether @path refers to the root of a mount.
1853 * Return: true if @path is the root of a mount, false if not.
1863 "WARNING: The mand mount option has been deprecated and\n" in warn_mandlock()
1865 " option from the mount to silence this warning.\n" in warn_mandlock()
1871 struct mount *mnt = real_mount(path->mnt); in can_umount()
1889 struct mount *mnt = real_mount(path->mnt); in path_umount()
1939 /* Is this a proxy for a mount namespace? */ in is_mnt_ns_file()
1956 /* Could bind mounting the mount namespace inode cause a in mnt_ns_loop()
1957 * mount namespace loop? in mnt_ns_loop()
1967 struct mount *copy_tree(struct mount *mnt, struct dentry *dentry, in copy_tree()
1970 struct mount *res, *p, *q, *r, *parent; in copy_tree()
1986 struct mount *s; in copy_tree()
2036 struct mount *tree; in collect_mounts()
2079 static bool has_locked_children(struct mount *mnt, struct dentry *dentry) in has_locked_children()
2081 struct mount *child; in has_locked_children()
2097 * This creates a new vfsmount, which will be the clone of @path. The new mount
2099 * changes to the originating mount won't be propagated into this).
2105 struct mount *old_mnt = real_mount(path->mnt); in clone_private_mount()
2106 struct mount *new_mnt; in clone_private_mount()
2124 /* Longterm mount to be removed by kern_unmount*() */ in clone_private_mount()
2138 struct mount *mnt; in iterate_mounts()
2150 static void lock_mnt_tree(struct mount *mnt) in lock_mnt_tree()
2152 struct mount *p; in lock_mnt_tree()
2156 /* Don't allow unprivileged users to change mount flags */ in lock_mnt_tree()
2170 /* Don't allow unprivileged users to reveal what is under a mount */ in lock_mnt_tree()
2177 static void cleanup_group_ids(struct mount *mnt, struct mount *end) in cleanup_group_ids()
2179 struct mount *p; in cleanup_group_ids()
2187 static int invent_group_ids(struct mount *mnt, bool recurse) in invent_group_ids()
2189 struct mount *p; in invent_group_ids()
2204 int count_mounts(struct mnt_namespace *ns, struct mount *mnt) in count_mounts()
2208 struct mount *p; in count_mounts()
2233 * attach_recursive_mnt - attach a source mount tree
2234 * @source_mnt: mount tree to be attached
2235 * @top_mnt: mount that @source_mnt will be mounted on or mounted beneath
2239 * NOTE: in the table below explains the semantics when a source mount
2240 * of a given type is attached to a destination mount of a given type.
2242 * | BIND MOUNT OPERATION |
2253 * A bind operation clones the source mount and mounts the clone on the
2254 * destination mount.
2256 * (++) the cloned mount is propagated to all the mounts in the propagation
2257 * tree of the destination mount and the cloned mount is added to
2258 * the peer group of the source mount.
2259 * (+) the cloned mount is created under the destination mount and is marked
2260 * as shared. The cloned mount is added to the peer group of the source
2261 * mount.
2262 * (+++) the mount is propagated to all the mounts in the propagation tree
2263 * of the destination mount and the cloned mount is made slave
2264 * of the same master as that of the source mount. The cloned mount
2266 * (*) the cloned mount is made a slave of the same master as that of the
2267 * source mount.
2270 * | MOVE MOUNT OPERATION |
2282 * (+) the mount is moved to the destination. And is then propagated to
2283 * all the mounts in the propagation tree of the destination mount.
2284 * (+*) the mount is moved to the destination.
2285 * (+++) the mount is moved to the destination and is then propagated to
2286 * all the mounts belonging to the destination mount's propagation tree.
2287 * the mount is marked as 'shared and slave'.
2288 * (*) the mount continues to be a slave at the new location.
2290 * if the source mount is a tree, the operations explained above is
2291 * applied to each mount in the tree.
2299 static int attach_recursive_mnt(struct mount *source_mnt, in attach_recursive_mnt()
2300 struct mount *top_mnt, in attach_recursive_mnt()
2308 struct mount *child, *dest_mnt, *p; in attach_recursive_mnt()
2321 /* Is there space to add these mounts to the mount namespace? */ in attach_recursive_mnt()
2367 struct mount *q; in attach_recursive_mnt()
2386 child = hlist_entry(tree_list.first, struct mount, mnt_hash); in attach_recursive_mnt()
2403 * do_lock_mount - lock mount and mountpoint
2405 * @beneath: whether the intention is to mount beneath @path
2407 * Follow the mount stack on @path until the top mount @mnt is found. If
2409 * mount stacked on top of it. Then simply follow @{mnt,mnt->mnt_root}
2412 * Acquire the inode_lock() on the top mount's ->mnt_root to protect
2413 * against concurrent removal of the new mountpoint from another mount
2418 * concurrent unlink of @mp->mnt_dentry from another mount namespace
2419 * where @mnt doesn't have a child mount mounted @mp. A concurrent
2433 * Return: Either the target mountpoint on the top mount or the top
2434 * mount's mountpoint.
2443 struct mount *m; in do_lock_mount()
2511 static int graft_tree(struct mount *mnt, struct mount *p, struct mountpoint *mp) in graft_tree()
2545 struct mount *m; in do_change_type()
2546 struct mount *mnt = real_mount(path->mnt); in do_change_type()
2575 static struct mount *__do_loopback(struct path *old_path, int recurse) in __do_loopback()
2577 struct mount *mnt = ERR_PTR(-EINVAL), *old = real_mount(old_path->mnt); in __do_loopback()
2600 * do loopback mount.
2606 struct mount *mnt = NULL, *parent; in do_loopback()
2652 struct mount *mnt, *p; in open_detached_copy()
2739 * Don't allow locked mount flags to be cleared.
2744 static bool can_change_locked_flags(struct mount *mnt, unsigned int mnt_flags) in can_change_locked_flags()
2771 static int change_mount_ro_state(struct mount *mnt, unsigned int mnt_flags) in change_mount_ro_state()
2785 static void set_mount_attributes(struct mount *mnt, unsigned int mnt_flags) in set_mount_attributes()
2824 * to mount(2).
2829 struct mount *mnt = real_mount(path->mnt); in do_reconfigure_mnt()
2868 struct mount *mnt = real_mount(path->mnt); in do_remount()
2886 * from the legacy mount system call. in do_remount()
2911 static inline int tree_contains_unbindable(struct mount *mnt) in tree_contains_unbindable()
2913 struct mount *p; in tree_contains_unbindable()
2922 * Check that there aren't references to earlier/same mount namespaces in the
2923 * specified subtree. Such references can act as pins for mount namespaces
2924 * that aren't checked by the mount-cycle checking code, thereby allowing
2927 static bool check_for_nsfs_mounts(struct mount *subtree) in check_for_nsfs_mounts()
2929 struct mount *p; in check_for_nsfs_mounts()
2945 struct mount *from, *to; in do_set_group()
2961 /* We should be allowed to modify mount namespaces of both mounts */ in do_set_group()
2968 /* To and From paths should be mount roots */ in do_set_group()
2978 /* From mount root should be wider than To mount root */ in do_set_group()
2982 /* From mount should not have locked children in place of To's root */ in do_set_group()
2995 struct mount *m = from->mnt_master; in do_set_group()
3019 * Check if path is overmounted, i.e., if there's a mount on top of
3037 * can_move_mount_beneath - check that we can mount beneath the top mount
3038 * @from: mount to mount beneath
3039 * @to: mount under which to mount
3041 * - Make sure that @to->dentry is actually the root of a mount under
3042 * which we can mount another mount.
3045 * - Make sure that the caller can unmount the topmost mount ensuring
3049 * - Prevent mounting beneath a mount if the propagation relationship
3050 * between the source mount, parent mount, and top mount would lead to
3051 * nonsensical mount trees.
3060 struct mount *mnt_from = real_mount(from->mnt), in can_move_mount_beneath()
3073 /* Avoid creating shadow mounts during mount propagation. */ in can_move_mount_beneath()
3086 for (struct mount *p = mnt_from; mnt_has_parent(p); p = p->mnt_parent) in can_move_mount_beneath()
3091 * If the parent mount propagates to the child mount this would in can_move_mount_beneath()
3094 * defeats the whole purpose of mounting beneath another mount. in can_move_mount_beneath()
3121 struct mount *p; in do_move_mount()
3122 struct mount *old; in do_move_mount()
3123 struct mount *parent; in do_move_mount()
3165 * Don't move a mount residing in a shared parent. in do_move_mount()
3181 * Don't move a mount tree containing unbindable mounts to a destination in do_move_mount()
3182 * mount which is shared. in do_move_mount()
3197 /* if the mount is moved, it should no longer be expire in do_move_mount()
3231 * add a mount into a namespace's mount tree
3233 static int do_add_mount(struct mount *newmnt, struct mountpoint *mp, in do_add_mount()
3236 struct mount *parent = real_mount(path->mnt); in do_add_mount()
3249 /* Refuse the same filesystem on the same mount point */ in do_add_mount()
3263 * Create a new mount using a superblock configuration and request it
3304 * create a new mount for userspace and request it to be added into the
3339 * Indicate to the filesystem that the mount request is coming in do_new_mount()
3340 * from the legacy mount system call. in do_new_mount()
3366 struct mount *mnt; in finish_automount()
3375 /* The new mount record should have at least 2 refs to prevent it being in finish_automount()
3389 * got", not "try to mount it on top". in finish_automount()
3430 * mnt_set_expiry - Put a mount on an expiration list
3431 * @mnt: The mount to list.
3432 * @expiry_list: The list to add the mount to.
3451 struct mount *mnt, *next; in mark_mounts_for_expiry()
3473 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
3489 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts()
3491 struct mount *this_parent = parent; in select_submounts()
3500 struct mount *mnt = list_entry(tmp, struct mount, mnt_child); in select_submounts()
3535 static void shrink_submounts(struct mount *mnt) in shrink_submounts()
3538 struct mount *m; in shrink_submounts()
3543 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
3594 * be given to the mount() call (ie: read-only, no-dev, no-suid etc).
3600 * Pre-0.97 versions of mount() didn't have a flags word.
3720 * mount a reference to an older mount namespace into the current
3721 * mount namespace, preventing reference counting loops. A 64bit
3768 struct mount *p, *q; in copy_mnt_ns()
3769 struct mount *old; in copy_mnt_ns()
3770 struct mount *new; in copy_mnt_ns()
3845 struct mount *mnt = real_mount(m); in mount_subtree()
3880 SYSCALL_DEFINE5(mount, char __user *, dev_name, char __user *, dir_name, in SYSCALL_DEFINE5() argument
3945 * Create a kernel mount representation for a new, prepared superblock
3955 struct mount *mnt; in SYSCALL_DEFINE3()
3998 /* There must be a valid superblock or we can't mount it */ in SYSCALL_DEFINE3()
4005 pr_warn("VFS: Mount too revealing\n"); in SYSCALL_DEFINE3()
4024 /* We've done the mount bit - now move the file context into more or in SYSCALL_DEFINE3()
4070 * Move a mount from one place to another. In combination with
4071 * fsopen()/fsmount() this is used to install a new mount and in combination
4073 * a mount subtree.
4140 bool is_path_reachable(struct mount *mnt, struct dentry *dentry, in is_path_reachable()
4181 * /nfs/my_root where /nfs is the mount point. It must be a mountpoint,
4182 * though, so you may need to say mount --bind /nfs/my_root /nfs/my_root
4189 struct mount *new_mnt, *root_mnt, *old_mnt, *root_parent, *ex_parent; in SYSCALL_DEFINE2()
4258 /* mount old root on put_old */ in SYSCALL_DEFINE2()
4260 /* mount new_root on / */ in SYSCALL_DEFINE2()
4264 /* A moved mount should not expire automatically */ in SYSCALL_DEFINE2()
4284 static unsigned int recalc_flags(struct mount_kattr *kattr, struct mount *mnt) in recalc_flags()
4296 static int can_idmap_mount(const struct mount_kattr *kattr, struct mount *mnt) in can_idmap_mount()
4305 * Creating an idmapped mount with the filesystem wide idmapping in can_idmap_mount()
4312 * Once a mount has been idmapped we don't allow it to change its in can_idmap_mount()
4314 * another bind-mount they can idmap if they want to. in can_idmap_mount()
4327 /* Mount has already been visible in the filesystem hierarchy. */ in can_idmap_mount()
4336 * @kattr: the new mount attributes
4337 * @mnt: the mount to which @kattr will be applied
4339 * Check whether thew new mount attributes in @kattr allow concurrent writers.
4344 const struct mount *mnt) in mnt_allow_writers()
4351 static int mount_setattr_prepare(struct mount_kattr *kattr, struct mount *mnt) in mount_setattr_prepare()
4353 struct mount *m; in mount_setattr_prepare()
4377 struct mount *p; in mount_setattr_prepare()
4382 * mounts and needs to take care to include the first mount. in mount_setattr_prepare()
4390 * We're done once the first mount we changed got in mount_setattr_prepare()
4400 static void do_idmap_mount(const struct mount_kattr *kattr, struct mount *mnt) in do_idmap_mount()
4408 * Since we only allow a mount to change the idmapping once and in do_idmap_mount()
4409 * verified this in can_idmap_mount() we know that the mount has in do_idmap_mount()
4416 static void mount_setattr_commit(struct mount_kattr *kattr, struct mount *mnt) in mount_setattr_commit()
4418 struct mount *m; in mount_setattr_commit()
4441 struct mount *mnt = real_mount(path->mnt); in do_mount_setattr()
4479 * If this is an attached mount make sure it's located in the callers in do_mount_setattr()
4480 * mount namespace. If it's not don't let the caller interact with it. in do_mount_setattr()
4482 * If this mount doesn't have a parent it's most often simply a in do_mount_setattr()
4483 * detached mount with an anonymous mount namespace. IOW, something in do_mount_setattr()
4485 * that do change mount properties on the rootfs itself. That obviously in do_mount_setattr()
4486 * neither has a parent nor is it a detached mount so we cannot in do_mount_setattr()
4493 * First, we get the mount tree in a shape where we can change mount in do_mount_setattr()
4525 * We currently do not support clearing an idmapped mount. If this ever in build_mount_idmapped()
4552 * mount. We use the initial idmapping as an indicator of a mount in build_mount_idmapped()
4704 struct mount *m; in init_mount_tree()
4735 mnt_cache = kmem_cache_create("mnt_cache", sizeof(struct mount), in mnt_init()
4738 mount_hashtable = alloc_large_system_hash("Mount-cache", in mnt_init()
4750 panic("Failed to allocate mount hash table\n"); in mnt_init()
4780 * it is a longterm mount, don't release mnt until in kern_mount()
4791 /* release long term mount so mount point can be released */ in kern_unmount()
4846 struct mount *mnt; in mnt_already_visible()
4852 struct mount *child; in mnt_already_visible()
4861 /* This mount is not fully visible if it's root directory in mnt_already_visible()
4867 /* A local view of the mount flags */ in mnt_already_visible()
4874 /* Verify the mount flags are equal to or more permissive in mnt_already_visible()
4875 * than the proposed new mount. in mnt_already_visible()
4884 /* This mount is not fully visible if there are any in mnt_already_visible()
5028 .procname = "mount-max",