Lines Matching refs:child
612 struct dentry *child; in detach_groups() local
625 child = sd->s_dentry; in detach_groups()
627 mutex_lock(&d_inode(child)->i_mutex); in detach_groups()
630 d_inode(child)->i_flags |= S_DEAD; in detach_groups()
631 dont_mount(child); in detach_groups()
633 mutex_unlock(&d_inode(child)->i_mutex); in detach_groups()
635 d_delete(child); in detach_groups()
636 dput(child); in detach_groups()
659 struct dentry *child, *parent = parent_group->cg_item.ci_dentry; in create_default_group() local
665 child = d_alloc_name(parent, group->cg_item.ci_name); in create_default_group()
666 if (child) { in create_default_group()
667 d_add(child, NULL); in create_default_group()
670 &group->cg_item, child); in create_default_group()
672 sd = child->d_fsdata; in create_default_group()
675 BUG_ON(d_inode(child)); in create_default_group()
676 d_drop(child); in create_default_group()
677 dput(child); in create_default_group()