Lines Matching full:sibling
63 while (!p->sibling && p->parent) in next_resource()
65 return p->sibling; in next_resource()
70 while (!p->sibling && p->parent) in next_resource_skip_children()
72 return p->sibling; in next_resource_skip_children()
187 new->sibling = tmp; in __request_resource()
192 p = &tmp->sibling; in __request_resource()
210 *p = tmp->sibling; in __release_resource()
212 for (chd = tmp->child;; chd = chd->sibling) { in __release_resource()
214 if (!(chd->sibling)) in __release_resource()
218 chd->sibling = tmp->sibling; in __release_resource()
223 p = &tmp->sibling; in __release_resource()
237 p = p->sibling; in __release_child_resources()
240 tmp->sibling = NULL; in __release_child_resources()
505 for (p = parent->child; p ; p = p->sibling) { in __region_intersects()
636 this = this->sibling; in __find_resource()
672 this = this->sibling; in __find_resource()
797 for (res = root->child; res; res = res->sibling) { in lookup_resource()
830 for (next = first; ; next = next->sibling) { in __insert_resource()
834 if (!next->sibling) in __insert_resource()
836 if (next->sibling->start > new->end) in __insert_resource()
841 new->sibling = next->sibling; in __insert_resource()
844 next->sibling = NULL; in __insert_resource()
845 for (next = first; next; next = next->sibling) in __insert_resource()
852 while (next->sibling != first) in __insert_resource()
853 next = next->sibling; in __insert_resource()
854 next->sibling = new; in __insert_resource()
984 if (res->sibling && (res->sibling->start <= end)) in __adjust_resource()
989 while (tmp->sibling != res) in __adjust_resource()
990 tmp = tmp->sibling; in __adjust_resource()
996 for (tmp = res->child; tmp; tmp = tmp->sibling) in __adjust_resource()
1316 *p = res->sibling; in __release_region()
1323 p = &res->sibling; in __release_region()
1384 p = &res->sibling; in release_mem_region_adjustable()
1399 *p = res->sibling; in release_mem_region_adjustable()
1425 new_res->sibling = res->sibling; in release_mem_region_adjustable()
1431 res->sibling = new_res; in release_mem_region_adjustable()
1483 cur = res->sibling; in merge_system_ram_resource()
1486 res->sibling = cur->sibling; in merge_system_ram_resource()
1492 while (cur && cur->sibling != res) in merge_system_ram_resource()
1493 cur = cur->sibling; in merge_system_ram_resource()
1496 cur->sibling = res->sibling; in merge_system_ram_resource()