Lines Matching refs:child
618 struct dentry *child; in detach_groups() local
631 child = sd->s_dentry; in detach_groups()
633 mutex_lock(&child->d_inode->i_mutex); in detach_groups()
636 child->d_inode->i_flags |= S_DEAD; in detach_groups()
637 dont_mount(child); in detach_groups()
639 mutex_unlock(&child->d_inode->i_mutex); in detach_groups()
641 d_delete(child); in detach_groups()
642 dput(child); in detach_groups()
666 struct dentry *child, *parent = parent_group->cg_item.ci_dentry; in create_default_group() local
675 child = d_alloc(parent, &name); in create_default_group()
676 if (child) { in create_default_group()
677 d_add(child, NULL); in create_default_group()
680 &group->cg_item, child); in create_default_group()
682 sd = child->d_fsdata; in create_default_group()
685 BUG_ON(child->d_inode); in create_default_group()
686 d_drop(child); in create_default_group()
687 dput(child); in create_default_group()