/openbmc/linux/arch/sh/kernel/ |
H A D | machine_kexec.c | 156 ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(), in reserve_crashkernel() 198 (unsigned long)(memblock_phys_mem_size() >> 20)); in reserve_crashkernel()
|
/openbmc/linux/arch/microblaze/kernel/ |
H A D | prom.c | 27 pr_debug("Phys. mem: %lx\n", (unsigned long) memblock_phys_mem_size()); in early_init_devtree()
|
/openbmc/linux/arch/csky/kernel/ |
H A D | setup.c | 79 (unsigned long) memblock_phys_mem_size()/1024/1024); in setup_arch()
|
/openbmc/linux/arch/xtensa/mm/ |
H A D | init.c | 52 if (!memblock_phys_mem_size()) in bootmem_init()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | atags_parse.c | 220 if (memblock_phys_mem_size()) in setup_machine_tags()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | fadump.c | 315 ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(), in fadump_calculate_reserve_size() 329 max_size = memblock_phys_mem_size() / MAX_BOOT_MEM_RATIO; in fadump_calculate_reserve_size() 346 size = memblock_phys_mem_size() / 20; in fadump_calculate_reserve_size() 649 (size >> 20), base, (memblock_phys_mem_size() >> 20)); in fadump_reserve_mem()
|
H A D | prom.c | 847 limit = ALIGN(memory_limit ?: memblock_phys_mem_size(), PAGE_SIZE); in early_init_devtree() 858 DBG("Phys. mem: %llx\n", (unsigned long long)memblock_phys_mem_size()); in early_init_devtree()
|
H A D | vdso.c | 353 vdso_data->physicalMemorySize = memblock_phys_mem_size(); in vdso_init()
|
H A D | setup-common.c | 845 (unsigned long long)memblock_phys_mem_size()); in print_system_info()
|
/openbmc/linux/arch/powerpc/kexec/ |
H A D | core.c | 112 total_mem_sz = memory_limit ? memory_limit : memblock_phys_mem_size(); in reserve_crashkernel()
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | mem.c | 228 unsigned long long total_ram = memblock_phys_mem_size(); in paging_init()
|
H A D | numa.c | 1030 unsigned long total_ram = memblock_phys_mem_size(); in setup_nonnuma()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | init_32.c | 196 size = memblock_phys_mem_size() - memblock_reserved_size(); in bootmem_init()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | init.c | 144 ret = parse_crashkernel(cmdline, memblock_phys_mem_size(), in reserve_crashkernel()
|
/openbmc/linux/arch/x86/kernel/ |
H A D | setup.c | 504 low_mem_limit = min(memblock_phys_mem_size(), CRASH_ADDR_LOW_MAX); in reserve_crashkernel_low() 553 total_mem = memblock_phys_mem_size(); in reserve_crashkernel()
|
/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A D | hash_utils.c | 862 memblock_phys_mem_size() >= 0x40000000) in htab_init_page_sizes() 935 return 1UL << htab_shift_for_mem_size(memblock_phys_mem_size()); in htab_get_table_size() 973 resize_hpt_for_hotplug(memblock_phys_mem_size()); in hash__create_section_mapping() 992 if (resize_hpt_for_hotplug(memblock_phys_mem_size()) == -ENOSPC) in hash__remove_section_mapping()
|
/openbmc/linux/arch/sh/mm/ |
H A D | init.c | 309 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
|
/openbmc/linux/kernel/dma/ |
H A D | contiguous.c | 150 unsigned long total_pages = PHYS_PFN(memblock_phys_mem_size()); in cma_early_percent_memory()
|
/openbmc/linux/arch/x86/mm/ |
H A D | mem_encrypt_amd.c | 221 phys_addr_t total_mem = memblock_phys_mem_size(); in sev_setup_arch()
|
/openbmc/linux/arch/powerpc/kvm/ |
H A D | book3s_hv_builtin.c | 92 selected_size = PAGE_ALIGN(memblock_phys_mem_size() * kvm_cma_resv_ratio / 100); in kvm_cma_reserve()
|
/openbmc/linux/include/linux/ |
H A D | memblock.h | 479 phys_addr_t memblock_phys_mem_size(void);
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | setup.c | 272 total_mem = memblock_phys_mem_size(); in arch_parse_crashkernel()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | setup.c | 461 total_mem = memblock_phys_mem_size(); in mips_parse_crashkernel()
|
/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | iommu.c | 952 fsize = memblock_phys_mem_size(); in cell_iommu_fixed_mapping_init()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 1409 ret = parse_crashkernel(cmdline, memblock_phys_mem_size(), in reserve_crashkernel()
|