Lines Matching refs:cur
1434 struct resource *cur; in merge_system_ram_resource() local
1443 cur = res->sibling; in merge_system_ram_resource()
1444 if (cur && system_ram_resources_mergeable(res, cur)) { in merge_system_ram_resource()
1445 res->end = cur->end; in merge_system_ram_resource()
1446 res->sibling = cur->sibling; in merge_system_ram_resource()
1447 free_resource(cur); in merge_system_ram_resource()
1451 cur = res->parent->child; in merge_system_ram_resource()
1452 while (cur && cur->sibling != res) in merge_system_ram_resource()
1453 cur = cur->sibling; in merge_system_ram_resource()
1454 if (cur && system_ram_resources_mergeable(cur, res)) { in merge_system_ram_resource()
1455 cur->end = res->end; in merge_system_ram_resource()
1456 cur->sibling = res->sibling; in merge_system_ram_resource()