Lines Matching refs:child
635 struct dentry *child; in detach_groups() local
648 child = sd->s_dentry; in detach_groups()
650 inode_lock(d_inode(child)); in detach_groups()
653 d_inode(child)->i_flags |= S_DEAD; in detach_groups()
654 dont_mount(child); in detach_groups()
656 inode_unlock(d_inode(child)); in detach_groups()
658 d_delete(child); in detach_groups()
659 dput(child); in detach_groups()
683 struct dentry *child, *parent = parent_group->cg_item.ci_dentry; in create_default_group() local
689 child = d_alloc_name(parent, group->cg_item.ci_name); in create_default_group()
690 if (child) { in create_default_group()
691 d_add(child, NULL); in create_default_group()
694 &group->cg_item, child, frag); in create_default_group()
696 sd = child->d_fsdata; in create_default_group()
699 BUG_ON(d_inode(child)); in create_default_group()
700 d_drop(child); in create_default_group()
701 dput(child); in create_default_group()