Lines Matching refs:beneath
682 * mount @mnt will be tucked beneath @n, i.e., @n will be mounted on
937 * mnt_set_mountpoint_beneath - mount a mount beneath another one
940 * @top_mnt: the mount beneath which @new_parent is mounted
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
981 * If @beneath is true, remove @mnt from its current parent and
993 struct mountpoint *mp, bool beneath)
995 if (beneath)
1001 * beneath @parent then @mnt will need to be attached to
2235 * @top_mnt: mount that @source_mnt will be mounted on or mounted beneath
2311 bool moving = flags & MNT_TREE_MOVE, beneath = flags & MNT_TREE_BENEATH;
2315 * mounted beneath mounts on the same mountpoint.
2328 if (beneath)
2349 if (beneath)
2352 attach_mnt(source_mnt, top_mnt, dest_mp, beneath);
2359 if (beneath)
2405 * @beneath: whether the intention is to mount beneath @path
2416 * If @beneath is requested, acquire inode_lock() on @mnt's mountpoint
2421 * on top of it for @beneath.
2423 * In addition, @beneath needs to make sure that @mnt hasn't been
2425 * @mount_lock and acquiring @namespace_sem. For the !@beneath case @mnt
2427 * check_mnt(mnt) in the function it's called from. For the @beneath
2436 static struct mountpoint *do_lock_mount(struct path *path, bool beneath)
2445 if (beneath) {
2462 if (beneath && (!is_mounted(mnt) || m->mnt_mountpoint != dentry)) {
2474 if (beneath)
2488 if (beneath)
3029 * can_move_mount_beneath - check that we can mount beneath the top mount
3030 * @from: mount to mount beneath
3035 * - Make sure that nothing can be mounted beneath the caller's current
3041 * - Prevent mounting beneath a mount if the propagation relationship
3070 * Mounting beneath the rootfs only makes sense when the
3086 * defeats the whole purpose of mounting beneath another mount.
3101 * @mnt_from beneath @mnt_to.
3110 bool beneath)
3121 mp = do_lock_mount(new_path, beneath);
3162 if (beneath) {