Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/c6x/mm/
Dinit.c36 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local
52 max_zone_pfn[ZONE_NORMAL] = memory_end >> PAGE_SHIFT; in paging_init()
54 free_area_init(max_zone_pfn); in paging_init()
/kernel/linux/linux-5.10/arch/csky/kernel/
Dsetup.c31 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in csky_memblock_init() local
53 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in csky_memblock_init()
56 max_zone_pfn[ZONE_HIGHMEM] = max_pfn; in csky_memblock_init()
65 free_area_init(max_zone_pfn); in csky_memblock_init()
/kernel/linux/linux-5.10/arch/h8300/mm/
Dinit.c85 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()
/kernel/linux/linux-5.10/arch/arc/mm/
Dinit.c93 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in setup_arch_memory() local
141 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in setup_arch_memory()
170 max_zone_pfn[ZONE_HIGHMEM] = max_high_pfn; in setup_arch_memory()
176 free_area_init(max_zone_pfn); in setup_arch_memory()
/kernel/linux/linux-5.10/arch/m68k/mm/
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()
Dinit.c87 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local
101 max_zone_pfn[ZONE_DMA] = end_mem >> PAGE_SHIFT; in paging_init()
102 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.c392 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local
479 max_zone_pfn[ZONE_DMA] = memblock_end_of_DRAM(); in paging_init()
480 free_area_init(max_zone_pfn); in paging_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/alpha/mm/
Dnuma.c204 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local
216 max_zone_pfn[ZONE_DMA] = dma_local_pfn; in paging_init()
217 max_zone_pfn[ZONE_NORMAL] = max_pfn; in paging_init()
219 free_area_init(max_zone_pfn); in paging_init()
Dinit.c245 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local
251 max_zone_pfn[ZONE_DMA] = dma_pfn; in paging_init()
252 max_zone_pfn[ZONE_NORMAL] = max_pfn; in paging_init()
255 free_area_init(max_zone_pfn); in paging_init()
/kernel/linux/linux-5.10/arch/hexagon/mm/
Dinit.c94 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local
104 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in paging_init()
106 free_area_init(max_zone_pfn); /* sets up the zonelists and mem_map */ in paging_init()
/kernel/linux/linux-5.10/arch/openrisc/mm/
Dinit.c47 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local
52 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init()
54 free_area_init(max_zone_pfn); in zone_sizes_init()
/kernel/linux/linux-5.10/arch/nds32/mm/
Dinit.c34 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()
/kernel/linux/linux-5.10/arch/um/kernel/
Dmem.c153 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local
162 max_zone_pfn[ZONE_NORMAL] = end_iomem >> PAGE_SHIFT; in paging_init()
163 free_area_init(max_zone_pfn); in paging_init()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dhibernate.c330 unsigned long pfn, max_zone_pfn; in swsusp_mte_save_tags() local
338 max_zone_pfn = zone_end_pfn(zone); in swsusp_mte_save_tags()
339 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in swsusp_mte_save_tags()
/kernel/linux/linux-5.10/kernel/power/
Dsnapshot.c1245 unsigned long pfn, max_zone_pfn; in count_highmem_pages() local
1251 max_zone_pfn = zone_end_pfn(zone); in count_highmem_pages()
1252 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_highmem_pages()
1310 unsigned long pfn, max_zone_pfn; in count_data_pages() local
1318 max_zone_pfn = zone_end_pfn(zone); in count_data_pages()
1319 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_data_pages()
1409 unsigned long max_zone_pfn; in copy_data_pages() local
1412 max_zone_pfn = zone_end_pfn(zone); in copy_data_pages()
1413 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in copy_data_pages()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dsrmmu.c977 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in srmmu_paging_init() local
979 max_zone_pfn[ZONE_DMA] = max_low_pfn; in srmmu_paging_init()
980 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in srmmu_paging_init()
981 max_zone_pfn[ZONE_HIGHMEM] = highend_pfn; in srmmu_paging_init()
983 free_area_init(max_zone_pfn); in srmmu_paging_init()
/kernel/linux/linux-5.10/mm/
Dhuge_memory.c2903 unsigned long pfn, max_zone_pfn; in split_huge_pages_set() local
2910 max_zone_pfn = zone_end_pfn(zone); in split_huge_pages_set()
2911 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in split_huge_pages_set()
Dpage_alloc.c3142 unsigned long pfn, max_zone_pfn, page_count = WD_PAGE_COUNT; in mark_free_pages() local
3152 max_zone_pfn = zone_end_pfn(zone); in mark_free_pages()
3153 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in mark_free_pages()
7600 void __init free_area_init(unsigned long *max_zone_pfn) in free_area_init() argument
7624 end_pfn = max(max_zone_pfn[zone], start_pfn); in free_area_init()
/kernel/linux/linux-5.10/include/linux/
Dmm.h2480 void free_area_init(unsigned long *max_zone_pfn);