Searched refs:max_zone_pfns (Results 1 – 11 of 11) sorted by relevance
/linux-6.1.9/arch/ia64/mm/ |
D | contig.c | 197 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 199 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 201 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init() 202 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 206 free_area_init(max_zone_pfns); in paging_init()
|
D | discontig.c | 597 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 603 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 604 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init() 605 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 606 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.1.9/arch/s390/mm/ |
D | init.c | 94 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 128 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 129 max_zone_pfns[ZONE_DMA] = PFN_DOWN(MAX_DMA_ADDRESS); in paging_init() 130 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 131 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.1.9/arch/loongarch/mm/ |
D | init.c | 90 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 93 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init() 96 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init() 98 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 100 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.1.9/arch/powerpc/mm/ |
D | mem.c | 221 static unsigned long max_zone_pfns[MAX_NR_ZONES]; variable 257 max_zone_pfns[ZONE_DMA] = min(max_low_pfn, in paging_init() 260 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 262 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in paging_init() 265 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.1.9/arch/arm64/mm/ |
D | init.c | 215 unsigned long max_zone_pfns[MAX_NR_ZONES] = {0}; in zone_sizes_init() local 225 max_zone_pfns[ZONE_DMA] = PFN_DOWN(arm64_dma_phys_limit); in zone_sizes_init() 228 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init() 232 max_zone_pfns[ZONE_NORMAL] = max_pfn; in zone_sizes_init() 234 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux-6.1.9/arch/mips/mm/ |
D | init.c | 400 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 405 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init() 408 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init() 410 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 412 max_zone_pfns[ZONE_HIGHMEM] = highend_pfn; in paging_init() 418 max_zone_pfns[ZONE_HIGHMEM] = max_low_pfn; in paging_init() 422 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.1.9/arch/sh/mm/ |
D | init.c | 280 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()
|
/linux-6.1.9/arch/x86/mm/ |
D | init.c | 1023 unsigned long max_zone_pfns[MAX_NR_ZONES]; in zone_sizes_init() local 1025 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in zone_sizes_init() 1028 max_zone_pfns[ZONE_DMA] = min(MAX_DMA_PFN, max_low_pfn); in zone_sizes_init() 1031 max_zone_pfns[ZONE_DMA32] = min(MAX_DMA32_PFN, max_low_pfn); in zone_sizes_init() 1033 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 1035 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in zone_sizes_init() 1038 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux-6.1.9/arch/riscv/mm/ |
D | init.c | 68 unsigned long max_zone_pfns[MAX_NR_ZONES] = { 0, }; in zone_sizes_init() local 71 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init() 73 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 75 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux-6.1.9/arch/sparc/mm/ |
D | init_64.c | 2452 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 2454 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 2456 max_zone_pfns[ZONE_NORMAL] = end_pfn; in paging_init() 2458 free_area_init(max_zone_pfns); in paging_init()
|