Lines Matching refs:mounts
37 /* Maximum number of mounts in a mount namespace */
624 * following mounts:
674 * mounts in the current mount namespace and test to see if the dentry
678 * need to identify all mounts that may be in the current mount
908 n->mounts += n->pending_mounts;
1024 * unprivileged mounts with submounts.
1234 * mounts using a given dentry in a different namespace. This function
1357 * This is called to check if a tree of mounts has any
1358 * open files, pwds, chroots or sub mounts that are
1390 * open files, pwds, chroots or sub mounts. If the
1391 * mount has sub mounts this will return busy
1392 * regardless of whether the sub mounts are busy.
1450 /* Leaving mounts connected is only valid for lazy umounts */
1458 /* Because the reference counting rules change when mounts are
1459 * unmounted and connected, umounted mounts may not be
1460 * connected to mounted mounts.
1489 /* Gather the mounts to umount */
1495 /* Hide the mounts from mnt_mounts */
1500 /* Add propogated mounts to the tmp_list */
1512 ns->mounts--;
1657 * __detach_mounts - lazily unmount all mounts on the specified dentry
1661 * detach_mounts allows lazily unmounting those mounts instead of
2054 unsigned int mounts = 0, old, pending, sum;
2058 mounts++;
2060 old = ns->mounts;
2066 (mounts > (max - sum)))
2069 ns->pending_mounts = pending + mounts;
2094 * A bind operation clones the source mount and mounts the clone on the
2097 * (++) the cloned mount is propagated to all the mounts in the propagation
2103 * (+++) the mount is propagated to all the mounts in the propagation tree
2124 * all the mounts in the propagation tree of the destination mount.
2127 * all the mounts belonging to the destination mount's propagation tree.
2149 /* Preallocate a mountpoint in case the new mounts need
2150 * to be tucked under other mounts.
2156 /* Is there space to add these mounts to the mount namespace? */
2424 ns->mounts++;
2736 * Don't move a mount tree containing unbindable mounts to a destination
3009 void mark_mounts_for_expiry(struct list_head *mounts)
3014 if (list_empty(mounts))
3026 list_for_each_entry_safe(mnt, next, mounts, mnt_expire) {
3374 new_ns->mounts++;
3417 ns->mounts++;
3583 ns->mounts = 1;
3837 ns->mounts = 1;
4005 * locked child mounts that cover anything except for
4010 /* Only worry about locked mounts */
4056 * Foreign mounts (accessed via fchdir or through /proc