Home
last modified time | relevance | path

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

12

/linux-6.12.1/arch/sh/kernel/
Dmachine_kexec.c148 ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(), in reserve_crashkernel()
190 (unsigned long)(memblock_phys_mem_size() >> 20)); in reserve_crashkernel()
/linux-6.12.1/arch/microblaze/kernel/
Dprom.c27 pr_debug("Phys. mem: %lx\n", (unsigned long) memblock_phys_mem_size()); in early_init_devtree()
/linux-6.12.1/arch/x86/mm/
Dmem_encrypt.c102 phys_addr_t total_mem = memblock_phys_mem_size(); in mem_encrypt_setup_arch()
/linux-6.12.1/arch/csky/kernel/
Dsetup.c67 (unsigned long) memblock_phys_mem_size()/1024/1024); in setup_arch()
/linux-6.12.1/arch/arm64/mm/
Dinit.c107 ret = parse_crashkernel(cmdline, memblock_phys_mem_size(), in arch_reserve_crashkernel()
377 DIV_ROUND_UP(memblock_phys_mem_size(), 1024); in mem_init()
/linux-6.12.1/arch/powerpc/kernel/
Dprom.c866 if (memory_limit > memblock_phys_mem_size()) in early_init_devtree()
870 memory_limit = ALIGN_DOWN(memory_limit ?: memblock_phys_mem_size(), SZ_16M); in early_init_devtree()
881 DBG("Phys. mem: %llx\n", (unsigned long long)memblock_phys_mem_size()); in early_init_devtree()
Dfadump.c326 ret = parse_crashkernel(boot_command_line, memblock_phys_mem_size(), in fadump_calculate_reserve_size()
340 max_size = memblock_phys_mem_size() / MAX_BOOT_MEM_RATIO; in fadump_calculate_reserve_size()
357 size = memblock_phys_mem_size() / 20; in fadump_calculate_reserve_size()
639 (size >> 20), base, (memblock_phys_mem_size() >> 20)); in fadump_reserve_mem()
Dvdso.c366 vdso_data->physicalMemorySize = memblock_phys_mem_size(); in vdso_init()
Dsetup-common.c854 (unsigned long long)memblock_phys_mem_size()); in print_system_info()
/linux-6.12.1/arch/xtensa/mm/
Dinit.c52 if (!memblock_phys_mem_size()) in bootmem_init()
/linux-6.12.1/arch/powerpc/kexec/
Dcore.c88 total_mem_sz = memory_limit ? memory_limit : memblock_phys_mem_size(); in reserve_crashkernel()
/linux-6.12.1/arch/arm/kernel/
Datags_parse.c220 if (memblock_phys_mem_size()) in setup_machine_tags()
/linux-6.12.1/arch/sparc/mm/
Dinit_32.c196 size = memblock_phys_mem_size() - memblock_reserved_size(); in bootmem_init()
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhash_utils.c869 memblock_phys_mem_size() >= 0x40000000) in htab_init_page_sizes()
942 return 1UL << htab_shift_for_mem_size(memblock_phys_mem_size()); in htab_get_table_size()
980 resize_hpt_for_hotplug(memblock_phys_mem_size()); in hash__create_section_mapping()
999 if (resize_hpt_for_hotplug(memblock_phys_mem_size()) == -ENOSPC) in hash__remove_section_mapping()
/linux-6.12.1/arch/sh/mm/
Dinit.c304 memory_end = memory_start + (memory_limit ?: memblock_phys_mem_size()); in paging_init()
/linux-6.12.1/kernel/dma/
Dcontiguous.c144 unsigned long total_pages = PHYS_PFN(memblock_phys_mem_size()); in cma_early_percent_memory()
/linux-6.12.1/arch/powerpc/mm/
Dmem.c231 unsigned long long total_ram = memblock_phys_mem_size(); in paging_init()
/linux-6.12.1/arch/powerpc/kvm/
Dbook3s_hv_builtin.c92 selected_size = PAGE_ALIGN(memblock_phys_mem_size() * kvm_cma_resv_ratio / 100); in kvm_cma_reserve()
/linux-6.12.1/arch/loongarch/kernel/
Dsetup.c268 ret = parse_crashkernel(cmdline, memblock_phys_mem_size(), in arch_reserve_crashkernel()
/linux-6.12.1/include/linux/
Dmemblock.h468 phys_addr_t memblock_phys_mem_size(void);
/linux-6.12.1/mm/
Dmemblock.c759 mem_size_mb = memblock_phys_mem_size() >> 20; in memblock_validate_numa_coverage()
1724 phys_addr_t __init_memblock memblock_phys_mem_size(void) in memblock_phys_mem_size() function
1748 return PHYS_PFN(memblock_phys_mem_size() - memblock_reserved_size()); in memblock_estimated_nr_free_pages()
/linux-6.12.1/arch/mips/kernel/
Dsetup.c458 total_mem = memblock_phys_mem_size(); in mips_parse_crashkernel()
/linux-6.12.1/arch/x86/kernel/
Dsetup.c479 ret = parse_crashkernel(cmdline, memblock_phys_mem_size(), in arch_reserve_crashkernel()
/linux-6.12.1/arch/riscv/mm/
Dinit.c181 DIV_ROUND_UP(memblock_phys_mem_size(), 1024); in mem_init()
1387 ret = parse_crashkernel(cmdline, memblock_phys_mem_size(), in arch_reserve_crashkernel()
/linux-6.12.1/arch/powerpc/platforms/cell/
Diommu.c935 fsize = memblock_phys_mem_size(); in cell_iommu_fixed_mapping_init()

12