Lines Matching refs:next
134 .next = r_next,
619 goto next; in __find_resource()
641 next: if (!this || this->end == root->end) in __find_resource()
786 struct resource *first, *next; in __insert_resource() local
804 for (next = first; ; next = next->sibling) { in __insert_resource()
806 if (next->start < new->start || next->end > new->end) in __insert_resource()
807 return next; in __insert_resource()
808 if (!next->sibling) in __insert_resource()
810 if (next->sibling->start > new->end) in __insert_resource()
815 new->sibling = next->sibling; in __insert_resource()
818 next->sibling = NULL; in __insert_resource()
819 for (next = first; next; next = next->sibling) in __insert_resource()
820 next->parent = new; in __insert_resource()
825 next = parent->child; in __insert_resource()
826 while (next->sibling != first) in __insert_resource()
827 next = next->sibling; in __insert_resource()
828 next->sibling = new; in __insert_resource()