Lines Matching refs:child
71 /* The first child (head of a linked list) */
72 struct ralloc_header *child;
102 info->next = parent->child;
103 parent->child = info;
132 info->child = NULL;
163 ralloc_header *child, *old, *info;
173 if (info->parent->child == old)
174 info->parent->child = info;
183 /* Update child->parent links for all children */
184 for (child = info->child; child != NULL; child = child->next)
185 child->parent = info;
245 if (info->parent->child == info)
246 info->parent->child = info->next;
264 while (info->child != NULL) {
265 temp = info->child;
266 info->child = temp->next;
296 ralloc_header *new_info, *old_info, *child;
305 if (unlikely(old_info->child == NULL))
308 /* Set all the children's parent to new_ctx; get a pointer to the last child. */
309 for (child = old_info->child; child->next != NULL; child = child->next) {
310 child->parent = new_info;
312 child->parent = new_info;
315 child->next = new_info->child;
316 if (child->next)
317 child->next->prev = child;
318 new_info->child = old_info->child;
319 old_info->child = NULL;
541 * a ralloc parent, and child nodes (allocations). Child nodes can't be freed