Lines Matching defs:child
864 * _NOT_FOUND - no child with that name/type combo found
872 repcache_entity_t *parent, *child;
878 result = entity_find2(cp, childid, &child, parentid, &parent);
885 child->re_type, &child->re_node);
887 entity_release(child);
899 * _NOT_SET - child is not set
900 * _DELETED - child has been deleted
901 * _TYPE_MISMATCH - child's parent does not match that of the parent register
902 * _NOT_FOUND - child has no parent (and is a scope)
907 repcache_entity_t *child, *parent;
913 result = entity_find2(cp, childid, &child, outid, &parent);
917 result = rc_node_get_parent(&child->re_node, parent->re_type,
920 entity_release(child);
1014 * _EXISTS - child already exists
1021 repcache_entity_t *child;
1031 result = entity_find2(cp, parentid, &parent, childid, &child);
1037 if (child->re_changeid == rpr->rpr_changeid) {
1041 rpr->rpr_childtype, rpr->rpr_name, &child->re_node);
1043 child->re_changeid = rpr->rpr_changeid;
1047 entity_release(child);
1057 repcache_entity_t *child;
1067 result = entity_find2(cp, parentid, &parent, childid, &child);
1074 if (child->re_changeid == rpr->rpr_changeid) {
1078 child->re_type, rpr->rpr_name, rpr->rpr_type,
1079 rpr->rpr_flags, &child->re_node);
1081 child->re_changeid = rpr->rpr_changeid;
1085 entity_release(child);