Lines Matching refs:child
223 struct mount *m, *child; in propagate_mnt() local
240 child = copy_tree(source, source->mnt.mnt_root, type); in propagate_mnt()
241 if (IS_ERR(child)) { in propagate_mnt()
242 ret = PTR_ERR(child); in propagate_mnt()
248 mnt_set_mountpoint(m, dest_dentry, child); in propagate_mnt()
249 list_add_tail(&child->mnt_hash, tree_list); in propagate_mnt()
255 list_add_tail(&child->mnt_hash, &tmp_list); in propagate_mnt()
258 prev_src_mnt = child; in propagate_mnt()
263 child = list_first_entry(&tmp_list, struct mount, mnt_hash); in propagate_mnt()
264 umount_tree(child, 0, &umount_list); in propagate_mnt()
292 struct mount *m, *child; in propagate_mount_busy() local
309 child = __lookup_mnt(&m->mnt, mnt->mnt_mountpoint, 0); in propagate_mount_busy()
310 if (child && list_empty(&child->mnt_mounts) && in propagate_mount_busy()
311 (ret = do_refcount_check(child, 1))) in propagate_mount_busy()
331 struct mount *child = __lookup_mnt(&m->mnt, in __propagate_umount() local
337 if (child && list_empty(&child->mnt_mounts)) in __propagate_umount()
338 list_move_tail(&child->mnt_hash, &mnt->mnt_hash); in __propagate_umount()