Searched refs:max_zone_pfns (Results 1 – 10 of 10) sorted by relevance
/linux/arch/ia64/mm/ |
A 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()
|
A 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/arch/s390/mm/ |
A D | init.c | 93 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 127 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 128 max_zone_pfns[ZONE_DMA] = PFN_DOWN(MAX_DMA_ADDRESS); in paging_init() 129 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 130 free_area_init(max_zone_pfns); in paging_init()
|
/linux/arch/arm64/mm/ |
A D | init.c | 139 unsigned long max_zone_pfns[MAX_NR_ZONES] = {0}; in zone_sizes_init() local 149 max_zone_pfns[ZONE_DMA] = PFN_DOWN(arm64_dma_phys_limit); in zone_sizes_init() 152 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init() 158 max_zone_pfns[ZONE_NORMAL] = max; in zone_sizes_init() 160 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux/arch/powerpc/mm/ |
A D | mem.c | 186 static unsigned long max_zone_pfns[MAX_NR_ZONES]; variable 222 max_zone_pfns[ZONE_DMA] = min(max_low_pfn, in paging_init() 225 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 227 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in paging_init() 230 free_area_init(max_zone_pfns); in paging_init()
|
/linux/arch/mips/mm/ |
A 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/arch/sh/mm/ |
A 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/arch/x86/mm/ |
A D | init.c | 1009 unsigned long max_zone_pfns[MAX_NR_ZONES]; in zone_sizes_init() local 1011 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in zone_sizes_init() 1014 max_zone_pfns[ZONE_DMA] = min(MAX_DMA_PFN, max_low_pfn); in zone_sizes_init() 1017 max_zone_pfns[ZONE_DMA32] = min(MAX_DMA32_PFN, max_low_pfn); in zone_sizes_init() 1019 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 1021 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in zone_sizes_init() 1024 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux/arch/riscv/mm/ |
A D | init.c | 69 unsigned long max_zone_pfns[MAX_NR_ZONES] = { 0, }; in zone_sizes_init() local 72 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init() 74 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 76 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux/arch/sparc/mm/ |
A D | init_64.c | 2451 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 2453 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 2455 max_zone_pfns[ZONE_NORMAL] = end_pfn; in paging_init() 2457 free_area_init(max_zone_pfns); in paging_init()
|
Completed in 18 milliseconds