Lines Matching refs:child
541 struct dentry *child; in detach_groups() local
554 child = sd->s_dentry; in detach_groups()
556 mutex_lock(&child->d_inode->i_mutex); in detach_groups()
559 child->d_inode->i_flags |= S_DEAD; in detach_groups()
561 mutex_unlock(&child->d_inode->i_mutex); in detach_groups()
563 d_delete(child); in detach_groups()
564 dput(child); in detach_groups()
588 struct dentry *child, *parent = parent_group->cg_item.ci_dentry; in create_default_group() local
597 child = d_alloc(parent, &name); in create_default_group()
598 if (child) { in create_default_group()
599 d_add(child, NULL); in create_default_group()
602 &group->cg_item, child); in create_default_group()
604 sd = child->d_fsdata; in create_default_group()
607 d_delete(child); in create_default_group()
608 dput(child); in create_default_group()