/linux-master/arch/alpha/mm/ |
H A D | init.c | 247 max_pfn = max_low_pfn; 250 max_zone_pfn[ZONE_NORMAL] = max_pfn;
|
/linux-master/arch/arc/mm/ |
H A D | init.c | 94 max_low_pfn = max_pfn = PFN_DOWN(low_mem_start + low_mem_sz);
|
/linux-master/arch/arm/mm/ |
H A D | init.c | 209 find_limits(&min_low_pfn, &max_low_pfn, &max_pfn); 225 zone_sizes_init(min_low_pfn, max_low_pfn, max_pfn); 274 swiotlb_init(max_pfn > arm_dma_pfn_limit, SWIOTLB_VERBOSE); 277 set_max_mapnr(pfn_to_page(max_pfn) - mem_map);
|
/linux-master/arch/arm64/mm/ |
H A D | init.c | 155 max_zone_pfns[ZONE_NORMAL] = max_pfn; 327 max_pfn = max_low_pfn = max; 371 bool swiotlb = max_pfn > PFN_DOWN(arm64_dma_phys_limit);
|
H A D | mmu.c | 1345 max_pfn = PFN_UP(start + size); 1346 max_low_pfn = max_pfn;
|
/linux-master/arch/csky/include/asm/ |
H A D | pgalloc.h | 71 extern void mmu_init(unsigned long min_pfn, unsigned long max_pfn);
|
/linux-master/arch/csky/kernel/ |
H A D | setup.c | 30 max_low_pfn = max_pfn = PFN_DOWN(memblock_end_of_DRAM()); 32 size = max_pfn - min_low_pfn; 48 max_zone_pfn[ZONE_HIGHMEM] = max_pfn; 51 highend_pfn = max_pfn;
|
/linux-master/arch/csky/mm/ |
H A D | init.c | 128 void __init mmu_init(unsigned long min_pfn, unsigned long max_pfn) argument 142 for (i = min_pfn; i < max_pfn; i++)
|
/linux-master/arch/m68k/kernel/ |
H A D | setup_no.c | 157 max_pfn = max_low_pfn = PFN_DOWN(memory_end);
|
/linux-master/arch/m68k/mm/ |
H A D | mcfmmu.c | 176 max_pfn = max_low_pfn = PFN_DOWN(_ramend);
|
H A D | motorola.c | 469 max_pfn = max_low_pfn = (max_addr >> PAGE_SHIFT) + 1;
|
/linux-master/arch/m68k/sun3/ |
H A D | config.c | 116 max_pfn = num_pages = __pa(memory_end) >> PAGE_SHIFT;
|
/linux-master/arch/microblaze/include/asm/ |
H A D | page.h | 89 extern unsigned long max_pfn;
|
/linux-master/arch/microblaze/mm/ |
H A D | init.c | 60 for (pfn = max_low_pfn; pfn < max_pfn; ++pfn) { 89 zones_size[ZONE_HIGHMEM] = max_pfn; 91 zones_size[ZONE_DMA] = max_pfn; 115 max_pfn = ((u64)memory_start + (u64)memory_size) >> PAGE_SHIFT; 120 pr_info("%s: max_pfn: %#lx\n", __func__, max_pfn);
|
/linux-master/arch/mips/kernel/ |
H A D | setup.c | 305 max_pfn = PFN_DOWN(ramend); 311 * max_pfn excludes the highmem portion. 324 if (max_pfn > PFN_DOWN(HIGHMEM_START)) { 328 highend_pfn = max_pfn; 330 max_pfn = max_low_pfn;
|
/linux-master/arch/mips/mm/ |
H A D | init.c | 310 walk_system_ram_range(0, max_pfn, &wi, maar_res_walk);
|
/linux-master/arch/nios2/kernel/ |
H A D | setup.c | 158 find_limits(&min_low_pfn, &max_low_pfn, &max_pfn);
|
/linux-master/arch/openrisc/kernel/ |
H A D | setup.c | 68 max_pfn = ram_end_pfn;
|
/linux-master/arch/parisc/mm/ |
H A D | init.c | 246 max_pfn = 0; 262 if ((start_pfn + npages) > max_pfn) 263 max_pfn = start_pfn + npages; 278 max_low_pfn = max_pfn; 562 high_memory = __va((max_pfn << PAGE_SHIFT));
|
/linux-master/arch/powerpc/include/asm/ |
H A D | mmzone.h | 36 extern unsigned long max_pfn;
|
/linux-master/arch/powerpc/kernel/ |
H A D | setup-common.c | 961 set_max_mapnr(max_pfn);
|
/linux-master/arch/powerpc/mm/ |
H A D | mem.c | 112 * After memory hotplug the variables max_pfn, max_low_pfn and high_memory need 119 if (end_pfn > max_pfn) { 120 max_pfn = end_pfn; 122 high_memory = (void *)__va(max_pfn * PAGE_SIZE - 1) + 1; 135 /* update max_pfn, max_low_pfn and high_memory */ 171 max_low_pfn = max_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT; 263 max_zone_pfns[ZONE_HIGHMEM] = max_pfn;
|
H A D | numa.c | 1168 max_low_pfn = max_pfn = memblock_end_of_DRAM() >> PAGE_SHIFT;
|
/linux-master/arch/riscv/mm/ |
H A D | init.c | 168 swiotlb_init(max_pfn > PFN_DOWN(dma32_phys_limit), SWIOTLB_VERBOSE); 253 max_low_pfn = max_pfn = PFN_DOWN(phys_ram_end);
|
/linux-master/arch/s390/kernel/ |
H A D | setup.c | 569 max_pfn = max_low_pfn = PFN_DOWN(ident_map_size);
|