Lines Matching defs:child
645 struct dentry *child;
658 child = sd->s_dentry;
660 inode_lock(d_inode(child));
663 d_inode(child)->i_flags |= S_DEAD;
664 dont_mount(child);
666 inode_unlock(d_inode(child));
668 d_delete(child);
669 dput(child);
693 struct dentry *child, *parent = parent_group->cg_item.ci_dentry;
699 child = d_alloc_name(parent, group->cg_item.ci_name);
700 if (child) {
701 d_add(child, NULL);
704 &group->cg_item, child, frag);
706 sd = child->d_fsdata;
709 BUG_ON(d_inode(child));
710 d_drop(child);
711 dput(child);
779 * We hold a reference on the parent for the child's ci_parent
786 * We hold a reference on the child for ci_entry on the parent's
1452 * link_obj()/link_group() took a reference from child->parent,
1477 /* Get a working ref until we have the child */
1744 * configfs_register_group - creates a parent-child relation between two groups
1746 * @group: child group
1748 * link groups, creates dentry for the child and attaches it to the
1793 * configfs_unregister_group() - unregisters a child group from its parent
1831 * configfs_register_default_group() - allocates and registers a child group
1833 * @name: child group name
1834 * @item_type: child item type description
1836 * boilerplate to allocate and register a child group with its parent. We need
1837 * kzalloc'ed memory because child's default_group is initially empty.
1864 * configfs_unregister_default_group() - unregisters and frees a child group