Searched refs:max_zone_pfns (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/arch/ia64/mm/ |
D | contig.c | 177 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()
|
D | discontig.c | 599 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/ |
D | init.c | 91 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/ |
D | init.c | 401 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/ |
D | init.c | 222 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/ |
D | mem.c | 221 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/ |
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()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | init.c | 1001 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/ |
D | init.c | 49 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/ |
D | init_64.c | 2450 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()
|