/linux-6.1.9/arch/csky/kernel/ |
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-6.1.9/arch/arc/mm/ |
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-6.1.9/arch/m68k/mm/ |
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()
|
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()
|
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()
|
D | motorola.c | 420 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local 511 max_zone_pfn[ZONE_DMA] = memblock_end_of_DRAM(); in paging_init() 512 free_area_init(max_zone_pfn); in paging_init()
|
/linux-6.1.9/arch/nios2/mm/ |
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-6.1.9/arch/alpha/mm/ |
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-6.1.9/arch/openrisc/mm/ |
D | init.c | 43 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local 48 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 50 free_area_init(max_zone_pfn); in zone_sizes_init()
|
/linux-6.1.9/arch/arm/mm/ |
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-6.1.9/arch/hexagon/mm/ |
D | init.c | 91 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local 101 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in paging_init() 103 free_area_init(max_zone_pfn); /* sets up the zonelists and mem_map */ in paging_init()
|
/linux-6.1.9/arch/um/kernel/ |
D | mem.c | 169 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local 178 max_zone_pfn[ZONE_NORMAL] = end_iomem >> PAGE_SHIFT; in paging_init() 179 free_area_init(max_zone_pfn); in paging_init()
|
/linux-6.1.9/arch/arm64/kernel/ |
D | hibernate.c | 259 unsigned long pfn, max_zone_pfn; in swsusp_mte_save_tags() local 267 max_zone_pfn = zone_end_pfn(zone); in swsusp_mte_save_tags() 268 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in swsusp_mte_save_tags()
|
/linux-6.1.9/arch/xtensa/mm/ |
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-6.1.9/kernel/power/ |
D | snapshot.c | 1291 unsigned long pfn, max_zone_pfn; in count_highmem_pages() local 1297 max_zone_pfn = zone_end_pfn(zone); in count_highmem_pages() 1298 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_highmem_pages() 1356 unsigned long pfn, max_zone_pfn; in count_data_pages() local 1364 max_zone_pfn = zone_end_pfn(zone); in count_data_pages() 1365 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_data_pages() 1455 unsigned long max_zone_pfn; in copy_data_pages() local 1458 max_zone_pfn = zone_end_pfn(zone); in copy_data_pages() 1459 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in copy_data_pages()
|
/linux-6.1.9/arch/parisc/mm/ |
D | init.c | 676 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in parisc_bootmem_free() local 678 max_zone_pfn[0] = memblock_end_of_DRAM(); in parisc_bootmem_free() 680 free_area_init(max_zone_pfn); in parisc_bootmem_free()
|
/linux-6.1.9/arch/sparc/mm/ |
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-6.1.9/mm/ |
D | huge_memory.c | 2918 unsigned long pfn, max_zone_pfn; in split_huge_pages_all() local 2925 max_zone_pfn = zone_end_pfn(zone); in split_huge_pages_all() 2926 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in split_huge_pages_all()
|
D | page_alloc.c | 3336 unsigned long pfn, max_zone_pfn, page_count = WD_PAGE_COUNT; in mark_free_pages() local 3346 max_zone_pfn = zone_end_pfn(zone); in mark_free_pages() 3347 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in mark_free_pages() 8290 void __init free_area_init(unsigned long *max_zone_pfn) in free_area_init() argument 8314 end_pfn = max(max_zone_pfn[zone], start_pfn); in free_area_init()
|
/linux-6.1.9/include/linux/ |
D | mm.h | 2586 void free_area_init(unsigned long *max_zone_pfn);
|