Lines Matching defs:child
59 /* The first child (head of a linked list) */
60 struct ralloc_header *child;
90 info->next = parent->child;
91 parent->child = info;
128 info->child = NULL;
159 ralloc_header *child, *old, *info;
170 if (info->parent->child == old)
171 info->parent->child = info;
180 /* Update child->parent links for all children */
181 for (child = info->child; child != NULL; child = child->next)
182 child->parent = info;
267 if (info->parent->child == info)
268 info->parent->child = info->next;
286 while (info->child != NULL) {
287 temp = info->child;
288 info->child = temp->next;
318 ralloc_header *new_info, *old_info, *child;
327 if (unlikely(old_info->child == NULL))
330 /* Set all the children's parent to new_ctx; get a pointer to the last child. */
331 for (child = old_info->child; child->next != NULL; child = child->next) {
332 child->parent = new_info;
334 child->parent = new_info;
337 child->next = new_info->child;
338 if (child->next)
339 child->next->prev = child;
340 new_info->child = old_info->child;
341 old_info->child = NULL;
534 * a ralloc parent, and child nodes (allocations). Child nodes can't be freed