Home
last modified time | relevance | path

Searched refs:max_zone_pfns (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/arch/ia64/mm/
Dcontig.c177 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
179 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
182 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init()
184 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init()
211 free_area_init(max_zone_pfns); in paging_init()
Ddiscontig.c599 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
623 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
625 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init()
627 max_zone_pfns[ZONE_NORMAL] = max_pfn; in paging_init()
628 free_area_init(max_zone_pfns); in paging_init()
/kernel/linux/linux-5.10/arch/s390/mm/
Dinit.c91 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
122 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
123 max_zone_pfns[ZONE_DMA] = PFN_DOWN(MAX_DMA_ADDRESS); in paging_init()
124 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init()
125 free_area_init(max_zone_pfns); in paging_init()
/kernel/linux/linux-5.10/arch/mips/mm/
Dinit.c401 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
409 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init()
412 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init()
414 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init()
416 max_zone_pfns[ZONE_HIGHMEM] = highend_pfn; in paging_init()
422 max_zone_pfns[ZONE_HIGHMEM] = max_low_pfn; in paging_init()
426 free_area_init(max_zone_pfns); in paging_init()
/kernel/linux/linux-5.10/arch/arm64/mm/
Dinit.c222 unsigned long max_zone_pfns[MAX_NR_ZONES] = {0}; in zone_sizes_init() local
232 max_zone_pfns[ZONE_DMA] = PFN_DOWN(arm64_dma_phys_limit); in zone_sizes_init()
235 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init()
239 max_zone_pfns[ZONE_NORMAL] = max; in zone_sizes_init()
241 free_area_init(max_zone_pfns); in zone_sizes_init()
/kernel/linux/linux-5.10/arch/powerpc/mm/
Dmem.c221 static unsigned long max_zone_pfns[MAX_NR_ZONES]; variable
259 max_zone_pfns[ZONE_DMA] = min(max_low_pfn, in paging_init()
262 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init()
264 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in paging_init()
267 free_area_init(max_zone_pfns); in paging_init()
/kernel/linux/linux-5.10/arch/sh/mm/
Dinit.c280 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
335 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
336 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init()
337 free_area_init(max_zone_pfns); in paging_init()
/kernel/linux/linux-5.10/arch/x86/mm/
Dinit.c1001 unsigned long max_zone_pfns[MAX_NR_ZONES]; in zone_sizes_init() local
1003 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in zone_sizes_init()
1006 max_zone_pfns[ZONE_DMA] = min(MAX_DMA_PFN, max_low_pfn); in zone_sizes_init()
1009 max_zone_pfns[ZONE_DMA32] = min(MAX_DMA32_PFN, max_low_pfn); in zone_sizes_init()
1011 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init()
1013 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in zone_sizes_init()
1016 free_area_init(max_zone_pfns); in zone_sizes_init()
/kernel/linux/linux-5.10/arch/riscv/mm/
Dinit.c49 unsigned long max_zone_pfns[MAX_NR_ZONES] = { 0, }; in zone_sizes_init() local
52 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init()
54 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init()
56 free_area_init(max_zone_pfns); in zone_sizes_init()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dinit_64.c2450 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
2452 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
2454 max_zone_pfns[ZONE_NORMAL] = end_pfn; in paging_init()
2456 free_area_init(max_zone_pfns); in paging_init()