Lines Matching refs:source_mnt
2148 static int attach_recursive_mnt(struct mount *source_mnt, in attach_recursive_mnt() argument
2164 smp = get_mountpoint(source_mnt->mnt.mnt_root); in attach_recursive_mnt()
2170 err = count_mounts(ns, source_mnt); in attach_recursive_mnt()
2176 err = invent_group_ids(source_mnt, true); in attach_recursive_mnt()
2179 err = propagate_mnt(dest_mnt, dest_mp, source_mnt, &tree_list); in attach_recursive_mnt()
2183 for (p = source_mnt; p; p = next_mnt(p, source_mnt)) in attach_recursive_mnt()
2189 unhash_mnt(source_mnt); in attach_recursive_mnt()
2190 attach_mnt(source_mnt, dest_mnt, dest_mp); in attach_recursive_mnt()
2191 touch_mnt_namespace(source_mnt->mnt_ns); in attach_recursive_mnt()
2193 if (source_mnt->mnt_ns) { in attach_recursive_mnt()
2195 list_del_init(&source_mnt->mnt_ns->list); in attach_recursive_mnt()
2197 mnt_set_mountpoint(dest_mnt, dest_mp, source_mnt); in attach_recursive_mnt()
2198 commit_tree(source_mnt); in attach_recursive_mnt()
2226 cleanup_group_ids(source_mnt, NULL); in attach_recursive_mnt()