/openbmc/linux/tools/testing/memblock/tests/ |
H A D | alloc_api.c | 284 r2.base = memblock_start_of_DRAM() + gap_size; in alloc_in_between_generic_check() 330 region_end = memblock_start_of_DRAM(); in alloc_small_gaps_generic_check() 358 memblock_reserve(memblock_start_of_DRAM(), MEM_SIZE); in alloc_all_reserved_generic_check() 392 memblock_reserve(memblock_start_of_DRAM(), reserved_size); in alloc_no_space_generic_check() 433 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_limited_space_generic_check() 521 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_bottom_up_simple_check() 563 r1.base = memblock_start_of_DRAM() + SZ_2; in alloc_bottom_up_disjoint_check() 567 expected_start = memblock_start_of_DRAM() + alignment; in alloc_bottom_up_disjoint_check() 619 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_bottom_up_before_check() 653 r1.base = memblock_start_of_DRAM() + SMP_CACHE_BYTES; in alloc_bottom_up_after_check() [all …]
|
H A D | alloc_helpers_api.c | 199 start_addr = (phys_addr_t)memblock_start_of_DRAM(); in alloc_from_top_down_min_addr_cap_check() 251 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_from_bottom_up_high_addr_check() 287 min_addr = memblock_start_of_DRAM() + SZ_128; in alloc_from_bottom_up_no_space_above_check() 296 ASSERT_EQ(rgn->base, memblock_start_of_DRAM()); in alloc_from_bottom_up_no_space_above_check() 323 start_addr = (phys_addr_t)memblock_start_of_DRAM(); in alloc_from_bottom_up_min_addr_cap_check()
|
H A D | alloc_nid_api.c | 281 min_addr = memblock_start_of_DRAM(); in alloc_nid_low_max_generic_check() 626 r2.base = memblock_start_of_DRAM(); in alloc_nid_reserved_all_generic_check() 1062 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_cap_min_check() 1258 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_simple_check() 1310 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_small_node_check() 1363 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_node_reserved_check() 1418 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_part_reserved_check() 1479 min_addr = memblock_start_of_DRAM(); in alloc_nid_top_down_numa_part_reserved_fallback_check() 1802 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_numa_simple_check() 1854 min_addr = memblock_start_of_DRAM(); in alloc_nid_bottom_up_numa_small_node_check() [all …]
|
H A D | alloc_exact_nid_api.c | 42 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_top_down_numa_simple_check() 97 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_top_down_numa_part_reserved_check() 311 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_bottom_up_numa_simple_check() 367 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_bottom_up_numa_part_reserved_check() 590 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_numa_small_node_generic_check() 631 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_numa_node_reserved_generic_check() 679 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_numa_part_reserved_fail_generic_check() 803 min_addr = memblock_start_of_DRAM(); in alloc_exact_nid_numa_large_region_generic_check() 928 r1.base = memblock_start_of_DRAM(); in alloc_exact_nid_numa_split_all_reserved_generic_check()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | init.c | 247 phys_addr_t phys_start = memblock_start_of_DRAM(); in max_zone_phys() 336 memstart_addr = round_down(memblock_start_of_DRAM(), in arm64_memblock_init() 393 if (WARN(base < memblock_start_of_DRAM() || in arm64_memblock_init() 394 base + size > memblock_start_of_DRAM() + in arm64_memblock_init() 445 min = PFN_UP(memblock_start_of_DRAM()); in bootmem_init()
|
/openbmc/linux/arch/nios2/kernel/ |
H A D | setup.c | 146 *min = PFN_UP(memblock_start_of_DRAM()); in find_limits() 154 memory_start = memblock_start_of_DRAM(); in setup_arch()
|
/openbmc/linux/arch/arm/mach-keystone/ |
H A D | keystone.c | 109 mem_start = memblock_start_of_DRAM(); in keystone_pv_fixup()
|
/openbmc/linux/arch/csky/kernel/ |
H A D | setup.c | 41 min_low_pfn = PFN_UP(memblock_start_of_DRAM()); in csky_memblock_init()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | setup.c | 275 ramstart = memblock_start_of_DRAM(); in bootmem_init() 364 memblock_remove(memblock_start_of_DRAM(), in early_parse_mem() 365 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_parse_mem()
|
/openbmc/linux/arch/xtensa/mm/ |
H A D | init.c | 55 min_low_pfn = PFN_UP(memblock_start_of_DRAM()); in bootmem_init()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | setup.c | 205 memblock_remove(memblock_start_of_DRAM(), in early_parse_mem() 206 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_parse_mem()
|
H A D | numa.c | 365 phys_addr_t start = memblock_start_of_DRAM(); in fake_numa_init()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | va_layout.c | 69 tag_lsb = fls64((u64)phys_to_virt(memblock_start_of_DRAM()) ^ in kvm_compute_layout()
|
/openbmc/linux/arch/openrisc/kernel/ |
H A D | setup.c | 55 memory_start = memblock_start_of_DRAM(); in setup_memory()
|
/openbmc/linux/drivers/base/ |
H A D | arch_numa.c | 423 phys_addr_t start = memblock_start_of_DRAM(); in dummy_numa_init()
|
/openbmc/linux/arch/arm/mm/ |
H A D | init.c | 78 *min = PFN_UP(memblock_start_of_DRAM()); in find_limits()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | setup.c | 840 memblock_remove(memblock_start_of_DRAM(), in early_mem() 841 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_mem()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 225 phys_ram_base = memblock_start_of_DRAM() & PMD_MASK; in setup_bootmem() 1389 unsigned long search_start = memblock_start_of_DRAM(); in reserve_crashkernel() 1467 search_start = memblock_start_of_DRAM(); in reserve_crashkernel()
|
/openbmc/linux/include/linux/ |
H A D | memblock.h | 481 phys_addr_t memblock_start_of_DRAM(void);
|
/openbmc/linux/mm/ |
H A D | memblock.c | 1691 phys_addr_t __init_memblock memblock_start_of_DRAM(void) in memblock_start_of_DRAM() function
|
H A D | mm_init.c | 1810 start_pfn = PHYS_PFN(memblock_start_of_DRAM()); in free_area_init()
|