Lines Matching defs:mounts
41 /* Maximum number of mounts in a mount namespace */
158 * task holding an active reference exits. To access the mounts of the
831 * mounts in the current mount namespace and test to see if the dentry
835 * need to identify all mounts that may be in the current mount
846 rbtree_postorder_for_each_entry_safe(mnt, n, &ns->mounts, mnt_node)
1037 * list of child mounts
1078 struct rb_node **link = &ns->mounts.rb_node;
1100 rb_insert_color(&mnt->mnt_node, &ns->mounts);
1452 * mounts using a given dentry in a different namespace. This function
1491 struct rb_node *node = ns->mounts.rb_node;
1515 struct rb_node *node = ns->mounts.rb_node;
1561 * No more mounts. Set pos past current mount's ID so that if
1593 * This is called to check if a tree of mounts has any
1594 * open files, pwds, chroots or sub mounts that are
1622 * open files, pwds, chroots or sub mounts. If the
1623 * mount has sub mounts this will return busy
1624 * regardless of whether the sub mounts are busy.
1664 * Notify about mounts that were added/reparented/detached/remain
1714 /* Make sure we notice when we leak mounts. */
1745 /* Leaving mounts connected is only valid for lazy umounts */
1753 /* Because the reference counting rules change when mounts are
1754 * unmounted and connected, umounted mounts may not be
1755 * connected to mounted mounts.
1784 /* Gather the mounts to umount */
1792 /* Hide the mounts from mnt_mounts */
1797 /* Add propagated mounts to the tmp_list */
1972 * __detach_mounts - lazily unmount all mounts on the specified dentry
1976 * detach_mounts allows lazily unmounting those mounts instead of
2474 unsigned int mounts = 0;
2485 mounts++;
2487 if (mounts > max)
2490 ns->pending_mounts += mounts;
2518 * A bind operation clones the source mount and mounts the clone on the
2521 * (++) the cloned mount is propagated to all the mounts in the propagation
2527 * (+++) the mount is propagated to all the mounts in the propagation tree
2548 * all the mounts in the propagation tree of the destination mount.
2551 * all the mounts belonging to the destination mount's propagation tree.
2581 * Preallocate a mountpoint in case the new mounts need to be
2582 * mounted beneath mounts on the same mountpoint.
2592 /* Is there space to add these mounts to the mount namespace? */
2632 * its root attached to mountpoint, but not hashed and all mounts
2771 // check if the chain of mounts (if any) has changed.
2796 * is mounted and thus all mounts reachable from it are pinned
3148 * the restrictions of creating detached bind-mounts. It has a
3466 /* Setting sharing groups is only allowed on private mounts */
3535 * grabbed @namespace_sem to avoid creating pointless shadow mounts.
3549 /* Avoid creating shadow mounts during mount propagation. */
3693 * Don't move a mount tree containing unbindable mounts to a destination
3928 void mark_mounts_for_expiry(struct list_head *mounts)
3933 if (list_empty(mounts))
3946 list_for_each_entry_safe(mnt, next, mounts, mnt_expire) {
4224 new_ns->mounts = RB_ROOT;
4821 /* The underlying filesystem doesn't support idmapped mounts yet. */
4825 /* The filesystem has turned off idmapped mounts. */
5032 * are aware of idmapped mounts as a convenient shortcut. A user
5132 /* Don't bother walking through the mounts if this is a nop. */
5763 * mounts to show users.
6054 * mounts to show users.
6135 * If the mount namespace really has more than 1 million mounts the
6176 .mounts = RB_ROOT,
6187 * We create two mounts:
6225 * completely empty until we add the mounts we just created.
6394 * locked child mounts that cover anything except for
6399 /* Only worry about locked mounts */
6448 * Foreign mounts (accessed via fchdir or through /proc