• Home
  • Raw
  • Download

Lines Matching refs:nextSibling

19 	struct hieralloc_header * nextSibling, * prevSibling;  member
52 assert(!header->nextSibling || header->nextSibling->prevSibling == header); in check_header()
53 assert(!header->nextSibling || header->nextSibling->parent == header->parent); in check_header()
54 assert(!header->prevSibling || header->prevSibling->nextSibling == header); in check_header()
75 child = child->nextSibling; in check_children()
86 assert(NULL == header->nextSibling); in add_to_parent()
98 header->nextSibling = parent->child; in add_to_parent()
104 assert(!header->nextSibling || header->nextSibling->prevSibling == header); in add_to_parent()
105 assert(!header->nextSibling || header->nextSibling->parent == header->parent); in add_to_parent()
106 assert(!header->prevSibling || header->prevSibling->nextSibling == header); in add_to_parent()
115 assert(!header->nextSibling || header->nextSibling->prevSibling == header); in remove_from_parent()
116 assert(!header->nextSibling || header->nextSibling->parent == header->parent); in remove_from_parent()
117 assert(!header->prevSibling || header->prevSibling->nextSibling == header); in remove_from_parent()
121 if (sibling->nextSibling != header) in remove_from_parent()
123 printf("&sibling->nextSibling=%p &header=%p \n", &sibling->nextSibling, &header); in remove_from_parent()
124 printf("sibling->nextSibling=%p header=%p \n", sibling->nextSibling, header); in remove_from_parent()
126 sibling->nextSibling = header->nextSibling; in remove_from_parent()
127 if (header->nextSibling) in remove_from_parent()
128 header->nextSibling->prevSibling = sibling; in remove_from_parent()
130 header->nextSibling = NULL; in remove_from_parent()
135 parent->child = header->nextSibling; in remove_from_parent()
136 if (header->nextSibling) in remove_from_parent()
137 header->nextSibling->prevSibling = NULL; in remove_from_parent()
138 header->nextSibling = NULL; in remove_from_parent()
151 ptr->parent = ptr->child = ptr->prevSibling = ptr->nextSibling = NULL; in hieralloc_allocate()
202 if (header->nextSibling) in hieralloc_reallocate()
203 header->nextSibling->prevSibling = header; in hieralloc_reallocate()
205 header->prevSibling->nextSibling = header; in hieralloc_reallocate()
213 child = child->nextSibling; in hieralloc_reallocate()
248 child = child->nextSibling; in hieralloc_free()
483 child = child->nextSibling; in _hieralloc_report()
508 child = child->nextSibling; in _hieralloc_report_brief()
551 child = child->nextSibling; in hieralloc_find()