Home
last modified time | relevance | path

Searched refs:max_zone_pfn (Results 1 – 20 of 20) sorted by relevance

/linux-6.1.9/arch/csky/kernel/
Dsetup.c31 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/
Dinit.c90 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/
Dinit.c67 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()
Dsun3mmu.c44 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()
Dmcfmmu.c42 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()
Dmotorola.c420 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/
Dinit.c48 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/
Dinit.c243 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/
Dinit.c43 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/
Dinit.c112 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/
Dinit.c91 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/
Dmem.c169 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/
Dhibernate.c259 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/
Dinit.c73 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/
Dsnapshot.c1291 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/
Dinit.c676 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/
Dsrmmu.c975 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/
Dhuge_memory.c2918 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()
Dpage_alloc.c3336 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/
Dmm.h2586 void free_area_init(unsigned long *max_zone_pfn);