Lines Matching refs:req_node
1247 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_top_down_numa_simple_check() local
1256 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_top_down_numa_simple_check()
1257 size = req_node->size / SZ_4; in alloc_nid_top_down_numa_simple_check()
1268 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_nid_top_down_numa_simple_check()
1269 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_simple_check()
1299 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_top_down_numa_small_node_check() local
1309 size = SZ_2 * req_node->size; in alloc_nid_top_down_numa_small_node_check()
1352 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_top_down_numa_node_reserved_check() local
1362 size = req_node->size; in alloc_nid_top_down_numa_node_reserved_check()
1366 memblock_reserve(req_node->base, req_node->size); in alloc_nid_top_down_numa_node_reserved_check()
1378 ASSERT_EQ(memblock.reserved.total_size, size + req_node->size); in alloc_nid_top_down_numa_node_reserved_check()
1404 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_top_down_numa_part_reserved_check() local
1414 ASSERT_LE(SZ_8, req_node->size); in alloc_nid_top_down_numa_part_reserved_check()
1415 r1.base = req_node->base; in alloc_nid_top_down_numa_part_reserved_check()
1416 r1.size = req_node->size / SZ_2; in alloc_nid_top_down_numa_part_reserved_check()
1429 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_nid_top_down_numa_part_reserved_check()
1430 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_part_reserved_check()
1463 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_top_down_numa_part_reserved_fallback_check() local
1474 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_top_down_numa_part_reserved_fallback_check()
1475 size = req_node->size / SZ_2; in alloc_nid_top_down_numa_part_reserved_fallback_check()
1476 r1.base = req_node->base + (size / SZ_2); in alloc_nid_top_down_numa_part_reserved_fallback_check()
1525 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_top_down_numa_split_range_low_check() local
1535 req_node_end = region_end(req_node); in alloc_nid_top_down_numa_split_range_low_check()
1547 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_split_range_low_check()
1638 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_top_down_numa_no_overlap_split_check() local
1659 ASSERT_EQ(new_rgn->base, region_end(req_node) - size); in alloc_nid_top_down_numa_no_overlap_split_check()
1660 ASSERT_LE(req_node->base, new_rgn->base); in alloc_nid_top_down_numa_no_overlap_split_check()
1791 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_bottom_up_numa_simple_check() local
1800 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_bottom_up_numa_simple_check()
1801 size = req_node->size / SZ_4; in alloc_nid_bottom_up_numa_simple_check()
1812 ASSERT_EQ(new_rgn->base, req_node->base); in alloc_nid_bottom_up_numa_simple_check()
1813 ASSERT_LE(region_end(new_rgn), region_end(req_node)); in alloc_nid_bottom_up_numa_simple_check()
1843 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_bottom_up_numa_small_node_check() local
1853 size = SZ_2 * req_node->size; in alloc_nid_bottom_up_numa_small_node_check()
1897 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_bottom_up_numa_node_reserved_check() local
1907 size = req_node->size; in alloc_nid_bottom_up_numa_node_reserved_check()
1911 memblock_reserve(req_node->base, req_node->size); in alloc_nid_bottom_up_numa_node_reserved_check()
1923 ASSERT_EQ(memblock.reserved.total_size, size + req_node->size); in alloc_nid_bottom_up_numa_node_reserved_check()
1949 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_bottom_up_numa_part_reserved_check() local
1960 ASSERT_LE(SZ_8, req_node->size); in alloc_nid_bottom_up_numa_part_reserved_check()
1961 r1.base = req_node->base; in alloc_nid_bottom_up_numa_part_reserved_check()
1962 r1.size = req_node->size / SZ_2; in alloc_nid_bottom_up_numa_part_reserved_check()
1976 ASSERT_EQ(new_rgn->base, req_node->base); in alloc_nid_bottom_up_numa_part_reserved_check()
1977 ASSERT_LE(region_end(new_rgn), region_end(req_node)); in alloc_nid_bottom_up_numa_part_reserved_check()
2010 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_bottom_up_numa_part_reserved_fallback_check() local
2021 ASSERT_LE(SZ_4, req_node->size); in alloc_nid_bottom_up_numa_part_reserved_fallback_check()
2022 size = req_node->size / SZ_2; in alloc_nid_bottom_up_numa_part_reserved_fallback_check()
2023 r1.base = req_node->base + (size / SZ_2); in alloc_nid_bottom_up_numa_part_reserved_fallback_check()
2072 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_bottom_up_numa_split_range_low_check() local
2082 req_node_end = region_end(req_node); in alloc_nid_bottom_up_numa_split_range_low_check()
2093 ASSERT_EQ(new_rgn->base, req_node->base); in alloc_nid_bottom_up_numa_split_range_low_check()
2129 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_bottom_up_numa_split_range_high_check() local
2140 exp_node_end = region_end(req_node); in alloc_nid_bottom_up_numa_split_range_high_check()
2141 min_addr = req_node->base - SZ_256; in alloc_nid_bottom_up_numa_split_range_high_check()
2186 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_bottom_up_numa_no_overlap_split_check() local
2207 ASSERT_EQ(new_rgn->base, req_node->base); in alloc_nid_bottom_up_numa_no_overlap_split_check()
2208 ASSERT_LE(region_end(new_rgn), region_end(req_node)); in alloc_nid_bottom_up_numa_no_overlap_split_check()
2393 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_nid_numa_reserved_full_merge_generic_check() local
2397 phys_addr_t size = req_node->size; in alloc_nid_numa_reserved_full_merge_generic_check()
2427 ASSERT_LE(new_rgn->base, req_node->base); in alloc_nid_numa_reserved_full_merge_generic_check()
2428 ASSERT_LE(region_end(req_node), region_end(new_rgn)); in alloc_nid_numa_reserved_full_merge_generic_check()
2507 struct memblock_region *req_node = &memblock.memory.regions[nid_req]; in alloc_node_on_correct_nid() local
2518 ASSERT_EQ(nid_req, req_node->nid); in alloc_node_on_correct_nid()