/linux/arch/csky/kernel/ |
A D | setup.c | 31 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in csky_memblock_init() local 55 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in csky_memblock_init() 60 max_zone_pfn[ZONE_HIGHMEM] = max_pfn; in csky_memblock_init() 69 free_area_init(max_zone_pfn); in csky_memblock_init()
|
/linux/arch/h8300/mm/ |
A D | init.c | 85 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local 87 max_zone_pfn[ZONE_NORMAL] = end_mem >> PAGE_SHIFT; in paging_init() 88 free_area_init(max_zone_pfn); in paging_init()
|
/linux/arch/arc/mm/ |
A D | init.c | 90 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in setup_arch_memory() local 130 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in setup_arch_memory() 155 max_zone_pfn[ZONE_HIGHMEM] = max_high_pfn; in setup_arch_memory() 168 free_area_init(max_zone_pfn); in setup_arch_memory()
|
/linux/arch/m68k/mm/ |
A D | init.c | 67 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local 75 max_zone_pfn[ZONE_DMA] = end_mem >> PAGE_SHIFT; in paging_init() 76 free_area_init(max_zone_pfn); in paging_init()
|
A D | sun3mmu.c | 44 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local 91 max_zone_pfn[ZONE_DMA] = ((unsigned long)high_memory) >> PAGE_SHIFT; in paging_init() 94 free_area_init(max_zone_pfn); in paging_init()
|
A D | mcfmmu.c | 42 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local 82 max_zone_pfn[ZONE_DMA] = PFN_DOWN(_ramend); in paging_init() 83 free_area_init(max_zone_pfn); in paging_init()
|
A D | motorola.c | 392 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local 481 max_zone_pfn[ZONE_DMA] = memblock_end_of_DRAM(); in paging_init() 482 free_area_init(max_zone_pfn); in paging_init()
|
/linux/arch/nios2/mm/ |
A D | init.c | 48 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local 53 max_zone_pfn[ZONE_NORMAL] = max_mapnr; in paging_init() 56 free_area_init(max_zone_pfn); in paging_init()
|
/linux/arch/alpha/mm/ |
A D | init.c | 243 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local 249 max_zone_pfn[ZONE_DMA] = dma_pfn; in paging_init() 250 max_zone_pfn[ZONE_NORMAL] = max_pfn; in paging_init() 253 free_area_init(max_zone_pfn); in paging_init()
|
/linux/arch/hexagon/mm/ |
A D | init.c | 93 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local 103 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in paging_init() 105 free_area_init(max_zone_pfn); /* sets up the zonelists and mem_map */ in paging_init()
|
/linux/arch/openrisc/mm/ |
A D | init.c | 45 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local 50 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 52 free_area_init(max_zone_pfn); in zone_sizes_init()
|
/linux/arch/nds32/mm/ |
A D | init.c | 34 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local 36 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 38 max_zone_pfn[ZONE_HIGHMEM] = max_pfn; in zone_sizes_init() 40 free_area_init(max_zone_pfn); in zone_sizes_init()
|
/linux/arch/arm/mm/ |
A D | init.c | 112 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local 115 max_zone_pfn[ZONE_DMA] = min(arm_dma_pfn_limit, max_low); in zone_sizes_init() 117 max_zone_pfn[ZONE_NORMAL] = max_low; in zone_sizes_init() 119 max_zone_pfn[ZONE_HIGHMEM] = max_high; in zone_sizes_init() 121 free_area_init(max_zone_pfn); in zone_sizes_init()
|
/linux/arch/um/kernel/ |
A D | mem.c | 151 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local 160 max_zone_pfn[ZONE_NORMAL] = end_iomem >> PAGE_SHIFT; in paging_init() 161 free_area_init(max_zone_pfn); in paging_init()
|
/linux/arch/arm64/kernel/ |
A D | hibernate.c | 263 unsigned long pfn, max_zone_pfn; in swsusp_mte_save_tags() local 271 max_zone_pfn = zone_end_pfn(zone); in swsusp_mte_save_tags() 272 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in swsusp_mte_save_tags()
|
/linux/arch/xtensa/mm/ |
A D | init.c | 73 unsigned long max_zone_pfn[MAX_NR_ZONES] = { in zones_init() local 79 free_area_init(max_zone_pfn); in zones_init()
|
/linux/kernel/power/ |
A D | snapshot.c | 1294 unsigned long pfn, max_zone_pfn; in count_highmem_pages() local 1300 max_zone_pfn = zone_end_pfn(zone); in count_highmem_pages() 1301 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_highmem_pages() 1359 unsigned long pfn, max_zone_pfn; in count_data_pages() local 1367 max_zone_pfn = zone_end_pfn(zone); in count_data_pages() 1368 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_data_pages() 1458 unsigned long max_zone_pfn; in copy_data_pages() local 1461 max_zone_pfn = zone_end_pfn(zone); in copy_data_pages() 1462 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in copy_data_pages()
|
/linux/arch/parisc/mm/ |
A D | init.c | 671 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in parisc_bootmem_free() local 673 max_zone_pfn[0] = memblock_end_of_DRAM(); in parisc_bootmem_free() 675 free_area_init(max_zone_pfn); in parisc_bootmem_free()
|
/linux/arch/sparc/mm/ |
A D | srmmu.c | 975 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in srmmu_paging_init() local 977 max_zone_pfn[ZONE_DMA] = max_low_pfn; in srmmu_paging_init() 978 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in srmmu_paging_init() 979 max_zone_pfn[ZONE_HIGHMEM] = highend_pfn; in srmmu_paging_init() 981 free_area_init(max_zone_pfn); in srmmu_paging_init()
|
/linux/mm/ |
A D | huge_memory.c | 2874 unsigned long pfn, max_zone_pfn; in split_huge_pages_all() local 2879 max_zone_pfn = zone_end_pfn(zone); in split_huge_pages_all() 2880 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in split_huge_pages_all()
|
A D | page_alloc.c | 3258 unsigned long pfn, max_zone_pfn, page_count = WD_PAGE_COUNT; in mark_free_pages() local 3268 max_zone_pfn = zone_end_pfn(zone); in mark_free_pages() 3269 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in mark_free_pages() 7959 void __init free_area_init(unsigned long *max_zone_pfn) in free_area_init() argument 7983 end_pfn = max(max_zone_pfn[zone], start_pfn); in free_area_init()
|
/linux/include/linux/ |
A D | mm.h | 2562 void free_area_init(unsigned long *max_zone_pfn);
|