Lines Matching refs:child
207 struct mount *child; in propagate_one() local
242 child = copy_tree(last_source, last_source->mnt.mnt_root, type); in propagate_one()
243 if (IS_ERR(child)) in propagate_one()
244 return PTR_ERR(child); in propagate_one()
245 mnt_set_mountpoint(m, mp, child); in propagate_one()
247 last_source = child; in propagate_one()
253 list_add_tail(&child->mnt_hash, list); in propagate_one()
339 struct mount *m, *child; in propagate_mount_busy() local
356 child = __lookup_mnt(&m->mnt, mnt->mnt_mountpoint, 0); in propagate_mount_busy()
357 if (child && list_empty(&child->mnt_mounts) && in propagate_mount_busy()
358 (ret = do_refcount_check(child, 1))) in propagate_mount_busy()
378 struct mount *child = __lookup_mnt(&m->mnt, in __propagate_umount() local
384 if (child && list_empty(&child->mnt_mounts)) in __propagate_umount()
385 list_move_tail(&child->mnt_hash, &mnt->mnt_hash); in __propagate_umount()