Lines Matching refs:min_addr
32 phys_addr_t min_addr, in run_memblock_alloc_nid() argument
42 return memblock_alloc_exact_nid_raw(size, align, min_addr, in run_memblock_alloc_nid()
45 return memblock_alloc_try_nid_raw(size, align, min_addr, in run_memblock_alloc_nid()
47 return memblock_alloc_try_nid(size, align, min_addr, max_addr, nid); in run_memblock_alloc_nid()
69 phys_addr_t min_addr; in alloc_nid_top_down_simple_check() local
76 min_addr = memblock_start_of_DRAM() + SMP_CACHE_BYTES * 2; in alloc_nid_top_down_simple_check()
77 max_addr = min_addr + SZ_512; in alloc_nid_top_down_simple_check()
80 min_addr, max_addr, in alloc_nid_top_down_simple_check()
122 phys_addr_t min_addr; in alloc_nid_top_down_end_misaligned_check() local
129 min_addr = memblock_start_of_DRAM() + SMP_CACHE_BYTES * 2; in alloc_nid_top_down_end_misaligned_check()
130 max_addr = min_addr + SZ_512 + misalign; in alloc_nid_top_down_end_misaligned_check()
133 min_addr, max_addr, in alloc_nid_top_down_end_misaligned_check()
172 phys_addr_t min_addr; in alloc_nid_exact_address_generic_check() local
179 min_addr = memblock_start_of_DRAM() + SMP_CACHE_BYTES; in alloc_nid_exact_address_generic_check()
180 max_addr = min_addr + size; in alloc_nid_exact_address_generic_check()
183 min_addr, max_addr, in alloc_nid_exact_address_generic_check()
191 ASSERT_EQ(rgn->base, min_addr); in alloc_nid_exact_address_generic_check()
224 phys_addr_t min_addr; in alloc_nid_top_down_narrow_range_check() local
230 min_addr = memblock_start_of_DRAM() + SZ_512; in alloc_nid_top_down_narrow_range_check()
231 max_addr = min_addr + SMP_CACHE_BYTES; in alloc_nid_top_down_narrow_range_check()
234 min_addr, max_addr, in alloc_nid_top_down_narrow_range_check()
275 phys_addr_t min_addr; in alloc_nid_low_max_generic_check() local
281 min_addr = memblock_start_of_DRAM(); in alloc_nid_low_max_generic_check()
282 max_addr = min_addr + SMP_CACHE_BYTES; in alloc_nid_low_max_generic_check()
285 min_addr, max_addr, in alloc_nid_low_max_generic_check()
316 phys_addr_t min_addr; in alloc_nid_min_reserved_generic_check() local
324 min_addr = max_addr - r2_size; in alloc_nid_min_reserved_generic_check()
325 reserved_base = min_addr - r1_size; in alloc_nid_min_reserved_generic_check()
330 min_addr, max_addr, in alloc_nid_min_reserved_generic_check()
368 phys_addr_t min_addr; in alloc_nid_max_reserved_generic_check() local
375 min_addr = max_addr - r2_size; in alloc_nid_max_reserved_generic_check()
380 min_addr, max_addr, in alloc_nid_max_reserved_generic_check()
387 ASSERT_EQ(rgn->base, min_addr); in alloc_nid_max_reserved_generic_check()
424 phys_addr_t min_addr; in alloc_nid_top_down_reserved_with_space_check() local
436 min_addr = r2.base + r2.size; in alloc_nid_top_down_reserved_with_space_check()
443 min_addr, max_addr, in alloc_nid_top_down_reserved_with_space_check()
487 phys_addr_t min_addr; in alloc_nid_reserved_full_merge_generic_check() local
499 min_addr = r2.base + r2.size; in alloc_nid_reserved_full_merge_generic_check()
506 min_addr, max_addr, in alloc_nid_reserved_full_merge_generic_check()
551 phys_addr_t min_addr; in alloc_nid_top_down_reserved_no_space_check() local
563 min_addr = r2.base + r2.size; in alloc_nid_top_down_reserved_no_space_check()
570 min_addr, max_addr, in alloc_nid_top_down_reserved_no_space_check()
617 phys_addr_t min_addr; in alloc_nid_reserved_all_generic_check() local
628 min_addr = r2.base + r2.size; in alloc_nid_reserved_all_generic_check()
635 min_addr, max_addr, in alloc_nid_reserved_all_generic_check()
655 phys_addr_t min_addr; in alloc_nid_top_down_cap_max_check() local
661 min_addr = memblock_end_of_DRAM() - SZ_1K; in alloc_nid_top_down_cap_max_check()
665 min_addr, max_addr, in alloc_nid_top_down_cap_max_check()
692 phys_addr_t min_addr; in alloc_nid_top_down_cap_min_check() local
698 min_addr = memblock_start_of_DRAM() - SZ_256; in alloc_nid_top_down_cap_min_check()
702 min_addr, max_addr, in alloc_nid_top_down_cap_min_check()
738 phys_addr_t min_addr; in alloc_nid_bottom_up_simple_check() local
745 min_addr = memblock_start_of_DRAM() + SMP_CACHE_BYTES * 2; in alloc_nid_bottom_up_simple_check()
746 max_addr = min_addr + SZ_512; in alloc_nid_bottom_up_simple_check()
749 min_addr, max_addr, in alloc_nid_bottom_up_simple_check()
757 ASSERT_EQ(rgn->base, min_addr); in alloc_nid_bottom_up_simple_check()
791 phys_addr_t min_addr; in alloc_nid_bottom_up_start_misaligned_check() local
798 min_addr = memblock_start_of_DRAM() + misalign; in alloc_nid_bottom_up_start_misaligned_check()
799 max_addr = min_addr + SZ_512; in alloc_nid_bottom_up_start_misaligned_check()
802 min_addr, max_addr, in alloc_nid_bottom_up_start_misaligned_check()
810 ASSERT_EQ(rgn->base, min_addr + (SMP_CACHE_BYTES - misalign)); in alloc_nid_bottom_up_start_misaligned_check()
843 phys_addr_t min_addr; in alloc_nid_bottom_up_narrow_range_check() local
849 min_addr = memblock_start_of_DRAM() + SZ_512; in alloc_nid_bottom_up_narrow_range_check()
850 max_addr = min_addr + SMP_CACHE_BYTES; in alloc_nid_bottom_up_narrow_range_check()
853 min_addr, max_addr, in alloc_nid_bottom_up_narrow_range_check()
897 phys_addr_t min_addr; in alloc_nid_bottom_up_reserved_with_space_check() local
909 min_addr = r2.base + r2.size; in alloc_nid_bottom_up_reserved_with_space_check()
916 min_addr, max_addr, in alloc_nid_bottom_up_reserved_with_space_check()
967 phys_addr_t min_addr; in alloc_nid_bottom_up_reserved_no_space_check() local
979 min_addr = r2.base + r2.size; in alloc_nid_bottom_up_reserved_no_space_check()
986 min_addr, max_addr, in alloc_nid_bottom_up_reserved_no_space_check()
1019 phys_addr_t min_addr; in alloc_nid_bottom_up_cap_max_check() local
1025 min_addr = memblock_start_of_DRAM() + SZ_1K; in alloc_nid_bottom_up_cap_max_check()
1029 min_addr, max_addr, in alloc_nid_bottom_up_cap_max_check()
1036 ASSERT_EQ(rgn->base, min_addr); in alloc_nid_bottom_up_cap_max_check()
1056 phys_addr_t min_addr; in alloc_nid_bottom_up_cap_min_check() local
1062 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_cap_min_check()
1066 min_addr, max_addr, in alloc_nid_bottom_up_cap_min_check()
1250 phys_addr_t min_addr; in alloc_nid_top_down_numa_simple_check() local
1258 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_simple_check()
1262 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_simple_check()
1303 phys_addr_t min_addr; in alloc_nid_top_down_numa_small_node_check() local
1310 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_small_node_check()
1314 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_small_node_check()
1356 phys_addr_t min_addr; in alloc_nid_top_down_numa_node_reserved_check() local
1363 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_node_reserved_check()
1368 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_node_reserved_check()
1408 phys_addr_t min_addr; in alloc_nid_top_down_numa_part_reserved_check() local
1418 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_part_reserved_check()
1423 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_part_reserved_check()
1468 phys_addr_t min_addr; in alloc_nid_top_down_numa_part_reserved_fallback_check() local
1479 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_part_reserved_fallback_check()
1484 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_part_reserved_fallback_check()
1528 phys_addr_t min_addr; in alloc_nid_top_down_numa_split_range_low_check() local
1536 min_addr = req_node_end - SZ_256; in alloc_nid_top_down_numa_split_range_low_check()
1537 max_addr = min_addr + size; in alloc_nid_top_down_numa_split_range_low_check()
1540 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_split_range_low_check()
1585 phys_addr_t min_addr; in alloc_nid_top_down_numa_split_range_high_check() local
1593 min_addr = exp_node_end - SZ_256; in alloc_nid_top_down_numa_split_range_high_check()
1594 max_addr = min_addr + size; in alloc_nid_top_down_numa_split_range_high_check()
1597 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_split_range_high_check()
1642 phys_addr_t min_addr; in alloc_nid_top_down_numa_no_overlap_split_check() local
1649 min_addr = node2->base - SZ_256; in alloc_nid_top_down_numa_no_overlap_split_check()
1650 max_addr = min_addr + size; in alloc_nid_top_down_numa_no_overlap_split_check()
1653 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_no_overlap_split_check()
1700 phys_addr_t min_addr; in alloc_nid_top_down_numa_no_overlap_low_check() local
1705 min_addr = min_node->base; in alloc_nid_top_down_numa_no_overlap_low_check()
1709 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_no_overlap_low_check()
1756 phys_addr_t min_addr; in alloc_nid_top_down_numa_no_overlap_high_check() local
1761 min_addr = min_node->base; in alloc_nid_top_down_numa_no_overlap_high_check()
1765 min_addr, max_addr, nid_req); in alloc_nid_top_down_numa_no_overlap_high_check()
1794 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_simple_check() local
1802 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_numa_simple_check()
1806 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_simple_check()
1847 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_small_node_check() local
1854 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_numa_small_node_check()
1858 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_small_node_check()
1901 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_node_reserved_check() local
1908 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_numa_node_reserved_check()
1913 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_node_reserved_check()
1953 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_part_reserved_check() local
1964 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_numa_part_reserved_check()
1970 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_part_reserved_check()
2015 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_part_reserved_fallback_check() local
2026 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_numa_part_reserved_fallback_check()
2031 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_part_reserved_fallback_check()
2075 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_split_range_low_check() local
2083 min_addr = req_node_end - SZ_256; in alloc_nid_bottom_up_numa_split_range_low_check()
2084 max_addr = min_addr + size; in alloc_nid_bottom_up_numa_split_range_low_check()
2087 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_split_range_low_check()
2133 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_split_range_high_check() local
2141 min_addr = req_node->base - SZ_256; in alloc_nid_bottom_up_numa_split_range_high_check()
2142 max_addr = min_addr + size; in alloc_nid_bottom_up_numa_split_range_high_check()
2145 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_split_range_high_check()
2190 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_no_overlap_split_check() local
2197 min_addr = node2->base - SZ_256; in alloc_nid_bottom_up_numa_no_overlap_split_check()
2198 max_addr = min_addr + size; in alloc_nid_bottom_up_numa_no_overlap_split_check()
2201 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_no_overlap_split_check()
2248 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_no_overlap_low_check() local
2253 min_addr = min_node->base; in alloc_nid_bottom_up_numa_no_overlap_low_check()
2257 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_no_overlap_low_check()
2263 ASSERT_EQ(new_rgn->base, min_addr); in alloc_nid_bottom_up_numa_no_overlap_low_check()
2304 phys_addr_t min_addr; in alloc_nid_bottom_up_numa_no_overlap_high_check() local
2309 min_addr = min_node->base; in alloc_nid_bottom_up_numa_no_overlap_high_check()
2313 min_addr, max_addr, nid_req); in alloc_nid_bottom_up_numa_no_overlap_high_check()
2319 ASSERT_EQ(new_rgn->base, min_addr); in alloc_nid_bottom_up_numa_no_overlap_high_check()
2349 phys_addr_t min_addr; in alloc_nid_numa_large_region_generic_check() local
2355 min_addr = memblock_start_of_DRAM(); in alloc_nid_numa_large_region_generic_check()
2359 min_addr, max_addr, nid_req); in alloc_nid_numa_large_region_generic_check()
2400 phys_addr_t min_addr; in alloc_nid_numa_reserved_full_merge_generic_check() local
2412 min_addr = r2.base + r2.size; in alloc_nid_numa_reserved_full_merge_generic_check()
2419 min_addr, max_addr, nid_req); in alloc_nid_numa_reserved_full_merge_generic_check()
2469 phys_addr_t min_addr; in alloc_nid_numa_split_all_reserved_generic_check() local
2480 min_addr = r1.base + r1.size; in alloc_nid_numa_split_all_reserved_generic_check()
2487 min_addr, max_addr, in alloc_nid_numa_split_all_reserved_generic_check()