Searched refs:memblock_end_of_DRAM (Results 1 – 25 of 26) sorted by relevance
12
38 #define memory_hotplug_max() memblock_end_of_DRAM()49 #define memory_hotplug_max() memblock_end_of_DRAM()
619 if (start + size <= memblock_end_of_DRAM()) in numa_enforce_memory_limit()622 if (start >= memblock_end_of_DRAM()) in numa_enforce_memory_limit()625 return memblock_end_of_DRAM() - start; in numa_enforce_memory_limit()816 unsigned long top_of_ram = memblock_end_of_DRAM(); in setup_nonnuma()887 for (i = 0; i < memblock_end_of_DRAM(); in dump_numa_memory_topology()925 ret_paddr = __memblock_alloc_base(size, align, memblock_end_of_DRAM()); in careful_zallocation()1035 max_low_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; in do_init_bootmem()1112 max_zone_pfns[ZONE_DMA] = memblock_end_of_DRAM() >> PAGE_SHIFT; in paging_init()1288 return max(hot_add_drconf_memory_max(), memblock_end_of_DRAM()); in memory_hotplug_max()
176 max_low_pfn = max_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; in do_init_bootmem()177 total_pages = (memblock_end_of_DRAM() - memstart_addr) >> PAGE_SHIFT; in do_init_bootmem()253 phys_addr_t top_of_ram = memblock_end_of_DRAM(); in paging_init()
136 total_lowmem = total_memory = memblock_end_of_DRAM() - memstart_addr; in MMU_init()
335 top = memblock_end_of_DRAM(); in mapin_ram()
542 linear_map_top = memblock_end_of_DRAM(); in __early_init_mmu()
387 if (phys_addr + (16 * GB) <= memblock_end_of_DRAM()) { in htab_dt_scan_hugepage_blocks()650 linear_map_hash_count = memblock_end_of_DRAM() >> PAGE_SHIFT; in htab_initialize()
175 unsigned long max = memblock_end_of_DRAM() - memory_limit; in reserve_crashkernel()195 if ((memblock_end_of_DRAM() - memory_limit) <= crashk_res.end) { in reserve_crashkernel()
145 if (unlikely(end > memblock_end_of_DRAM())) { in check_for_initrd()148 end, (unsigned long)memblock_end_of_DRAM()); in check_for_initrd()
74 if ((dma_get_mask(dev) + 1) < memblock_end_of_DRAM()) in ppc_swiotlb_bus_notify()
610 tmp = memblock_end_of_DRAM(); in phyp_dump_calculate_reserve_size()649 size = memblock_end_of_DRAM() - base; in phyp_dump_reserve_mem()661 base = memblock_end_of_DRAM() - size; in phyp_dump_reserve_mem()
93 return mask >= get_dma_offset(dev) + (memblock_end_of_DRAM() - 1); in dma_direct_dma_supported()
103 if (memblock_end_of_DRAM() > max) { in corenet_ds_setup_arch()
97 if (memblock_end_of_DRAM() > max) { in mpc8536_ds_setup_arch()
194 if (memblock_end_of_DRAM() > max) { in mpc85xx_ds_setup_arch()
307 if (memblock_end_of_DRAM() > max) { in p1022_ds_setup_arch()
392 if (memblock_end_of_DRAM() > max) { in mpc85xx_mds_setup_arch()
106 if (memblock_end_of_DRAM() > max) { in mpc86xx_hpcn_setup_arch()
82 extern phys_addr_t memblock_end_of_DRAM(void);
208 SMP_CACHE_BYTES, memblock_end_of_DRAM()); in allocate_pgdat()347 max_low_pfn = max_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; in paging_init()
457 if (!iommu_force_on && memblock_end_of_DRAM() <= 0x40000000ull) in alloc_dart_table()
200 mem = memblock_end_of_DRAM(); in setup_pci_atmu()
848 if (np && size < memblock_end_of_DRAM()) { in cell_iommu_init_disabled()851 size >> 20, memblock_end_of_DRAM() >> 20); in cell_iommu_init_disabled()1172 (!iommu_force_on && memblock_end_of_DRAM() <= 0x80000000ull)) in cell_iommu_init()
629 phys_addr_t __init_memblock memblock_end_of_DRAM(void) in memblock_end_of_DRAM() function659 memory_limit = memblock_end_of_DRAM(); in memblock_enforce_memory_limit()
1278 unsigned long top_of_ram = memblock_end_of_DRAM(); in bootmem_init_nonnuma()1377 end_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; in bootmem_init()