Home
last modified time | relevance | path

Searched refs:memblock_end_of_DRAM (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.15/arch/arm64/mm/
Dinit.c134 return min(zone_mask, memblock_end_of_DRAM() - 1) + 1; in max_zone_phys()
256 if ((memblock_end_of_DRAM() - memstart_addr) > linear_region_size) in arm64_memblock_init()
266 if (memstart_addr + linear_region_size < memblock_end_of_DRAM()) { in arm64_memblock_init()
268 memstart_addr = round_up(memblock_end_of_DRAM() - linear_region_size, in arm64_memblock_init()
355 high_memory = __va(memblock_end_of_DRAM() - 1) + 1; in arm64_memblock_init()
363 max = PFN_DOWN(memblock_end_of_DRAM()); in bootmem_init()
/Linux-v5.15/arch/powerpc/include/asm/
Dmmzone.h39 #define memory_hotplug_max() memblock_end_of_DRAM()
43 #define memory_hotplug_max() memblock_end_of_DRAM()
/Linux-v5.15/arch/nios2/kernel/
Dsetup.c147 *max_high = PFN_DOWN(memblock_end_of_DRAM()); in find_limits()
155 memory_end = memblock_end_of_DRAM(); in setup_arch()
/Linux-v5.15/arch/sh/kernel/
Dmachine_kexec.c168 unsigned long max = memblock_end_of_DRAM() - memory_limit; in reserve_crashkernel()
189 if ((memblock_end_of_DRAM() - memory_limit) <= crashk_res.end) { in reserve_crashkernel()
Dsetup.c149 if (unlikely(end > memblock_end_of_DRAM())) { in check_for_initrd()
152 end, (unsigned long)memblock_end_of_DRAM()); in check_for_initrd()
/Linux-v5.15/arch/powerpc/kernel/
Ddma-swiotlb.c16 if ((memblock_end_of_DRAM() - 1) > 0xffffffff) in swiotlb_detect_4g()
Dfadump.c571 if (memory_limit && memory_limit < memblock_end_of_DRAM()) { in fadump_reserve_mem()
573 if ((memory_limit + size) < memblock_end_of_DRAM()) in fadump_reserve_mem()
576 memory_limit = memblock_end_of_DRAM(); in fadump_reserve_mem()
583 mem_boundary = memblock_end_of_DRAM(); in fadump_reserve_mem()
1409 fadump_release_memory(fw_dump.boot_mem_top, memblock_end_of_DRAM()); in fadump_invalidate_release_mem()
/Linux-v5.15/arch/s390/kernel/
Dnuma.c33 NODE_DATA(0)->node_spanned_pages = memblock_end_of_DRAM() >> PAGE_SHIFT; in numa_setup()
/Linux-v5.15/arch/powerpc/mm/
Dnuma.c824 if (start + size <= memblock_end_of_DRAM()) in numa_enforce_memory_limit()
827 if (start >= memblock_end_of_DRAM()) in numa_enforce_memory_limit()
830 return memblock_end_of_DRAM() - start; in numa_enforce_memory_limit()
1029 unsigned long top_of_ram = memblock_end_of_DRAM(); in setup_nonnuma()
1210 max_low_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; in initmem_init()
1383 return max(hot_add_drconf_memory_max(), memblock_end_of_DRAM()); in memory_hotplug_max()
Dmem.c135 max_low_pfn = max_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; in mem_topology_setup()
194 phys_addr_t top_of_ram = memblock_end_of_DRAM(); in paging_init()
Dinit_32.c136 total_lowmem = total_memory = memblock_end_of_DRAM() - memstart_addr; in MMU_init()
/Linux-v5.15/arch/arm/mach-keystone/
Dkeystone.c71 mem_end = memblock_end_of_DRAM(); in keystone_pv_fixup()
/Linux-v5.15/arch/csky/kernel/
Dsetup.c42 max_low_pfn = max_pfn = PFN_DOWN(memblock_end_of_DRAM()); in csky_memblock_init()
/Linux-v5.15/arch/openrisc/kernel/
Dsetup.c56 memory_end = memblock_end_of_DRAM(); in setup_memory()
63 ram_end_pfn = PFN_DOWN(memblock_end_of_DRAM()); in setup_memory()
/Linux-v5.15/arch/nds32/kernel/
Dsetup.c252 memory_end = memblock_end_of_DRAM(); in setup_memory()
261 max_pfn = PFN_DOWN(memblock_end_of_DRAM()); in setup_memory()
/Linux-v5.15/arch/mips/netlogic/xlp/
Dsetup.c113 if (memblock_end_of_DRAM() == 0) { in plat_mem_setup()
/Linux-v5.15/arch/xtensa/mm/
Dinit.c57 max_pfn = PFN_DOWN(memblock_end_of_DRAM()); in bootmem_init()
/Linux-v5.15/arch/h8300/kernel/
Dsetup.c76 memory_end = memblock_end_of_DRAM(); in bootmem_init()
/Linux-v5.15/arch/arm/mm/
Dnommu.c140 end = memblock_end_of_DRAM(); in adjust_lowmem_bounds()
/Linux-v5.15/arch/mips/loongson64/
Dnuma.c152 max_low_pfn = PHYS_PFN(memblock_end_of_DRAM()); in prom_meminit()
/Linux-v5.15/arch/mips/kernel/
Dsetup.c271 ramend = memblock_end_of_DRAM(); in bootmem_init()
355 memblock_end_of_DRAM() - memblock_start_of_DRAM()); in early_parse_mem()
/Linux-v5.15/arch/powerpc/platforms/cell/
Diommu.c749 if (np && size < memblock_end_of_DRAM()) { in cell_iommu_init_disabled()
752 size >> 20, memblock_end_of_DRAM() >> 20); in cell_iommu_init_disabled()
1052 (!iommu_force_on && memblock_end_of_DRAM() <= 0x80000000ull)) in cell_iommu_init()
/Linux-v5.15/arch/nds32/mm/
Dinit.c63 e = min((u32) memblock_end_of_DRAM(), (u32) __pa(high_memory)); in map_ram()
/Linux-v5.15/arch/powerpc/sysdev/
Ddart_iommu.c281 if (!iommu_force_on && memblock_end_of_DRAM() <= 0x40000000ull) in dart_init()
/Linux-v5.15/arch/riscv/mm/
Dinit.c189 phys_ram_end = memblock_end_of_DRAM(); in setup_bootmem()
785 unsigned long search_end = memblock_end_of_DRAM(); in reserve_crashkernel()

12