Home
last modified time | relevance | path

Searched refs:memblock_phys_mem_size (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/arch/sh/kernel/
H A Dmachine_kexec.c156 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 Dprom.c27 pr_debug("Phys. mem: %lx\n", (unsigned long) memblock_phys_mem_size()); in early_init_devtree()
/openbmc/linux/arch/csky/kernel/
H A Dsetup.c79 (unsigned long) memblock_phys_mem_size()/1024/1024); in setup_arch()
/openbmc/linux/arch/xtensa/mm/
H A Dinit.c52 if (!memblock_phys_mem_size()) in bootmem_init()
/openbmc/linux/arch/arm/kernel/
H A Datags_parse.c220 if (memblock_phys_mem_size()) in setup_machine_tags()
/openbmc/linux/arch/powerpc/kernel/
H A Dfadump.c315 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 Dprom.c847 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 Dvdso.c353 vdso_data->physicalMemorySize = memblock_phys_mem_size(); in vdso_init()
H A Dsetup-common.c845 (unsigned long long)memblock_phys_mem_size()); in print_system_info()
/openbmc/linux/arch/powerpc/kexec/
H A Dcore.c112 total_mem_sz = memory_limit ? memory_limit : memblock_phys_mem_size(); in reserve_crashkernel()
/openbmc/linux/arch/powerpc/mm/
H A Dmem.c228 unsigned long long total_ram = memblock_phys_mem_size(); in paging_init()
H A Dnuma.c1030 unsigned long total_ram = memblock_phys_mem_size(); in setup_nonnuma()
/openbmc/linux/arch/sparc/mm/
H A Dinit_32.c196 size = memblock_phys_mem_size() - memblock_reserved_size(); in bootmem_init()
/openbmc/linux/arch/arm64/mm/
H A Dinit.c144 ret = parse_crashkernel(cmdline, memblock_phys_mem_size(), in reserve_crashkernel()
/openbmc/linux/arch/x86/kernel/
H A Dsetup.c504 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 Dhash_utils.c862 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 Dinit.c309 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
/openbmc/linux/kernel/dma/
H A Dcontiguous.c150 unsigned long total_pages = PHYS_PFN(memblock_phys_mem_size()); in cma_early_percent_memory()
/openbmc/linux/arch/x86/mm/
H A Dmem_encrypt_amd.c221 phys_addr_t total_mem = memblock_phys_mem_size(); in sev_setup_arch()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_hv_builtin.c92 selected_size = PAGE_ALIGN(memblock_phys_mem_size() * kvm_cma_resv_ratio / 100); in kvm_cma_reserve()
/openbmc/linux/include/linux/
H A Dmemblock.h479 phys_addr_t memblock_phys_mem_size(void);
/openbmc/linux/arch/loongarch/kernel/
H A Dsetup.c272 total_mem = memblock_phys_mem_size(); in arch_parse_crashkernel()
/openbmc/linux/arch/mips/kernel/
H A Dsetup.c461 total_mem = memblock_phys_mem_size(); in mips_parse_crashkernel()
/openbmc/linux/arch/powerpc/platforms/cell/
H A Diommu.c952 fsize = memblock_phys_mem_size(); in cell_iommu_fixed_mapping_init()
/openbmc/linux/arch/riscv/mm/
H A Dinit.c1409 ret = parse_crashkernel(cmdline, memblock_phys_mem_size(), in reserve_crashkernel()

12