/openbmc/linux/arch/ia64/mm/ |
H 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()
|
H 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()
|
/openbmc/linux/arch/s390/mm/ |
H A D | init.c | 95 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 100 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 101 max_zone_pfns[ZONE_DMA] = virt_to_pfn(MAX_DMA_ADDRESS); in paging_init() 102 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 103 free_area_init(max_zone_pfns); in paging_init()
|
/openbmc/linux/arch/loongarch/mm/ |
H A D | init.c | 65 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 68 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init() 71 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init() 73 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 75 free_area_init(max_zone_pfns); in paging_init()
|
/openbmc/linux/arch/powerpc/mm/ |
H A 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()
|
/openbmc/linux/arch/mips/mm/ |
H A D | init.c | 405 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 410 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init() 413 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init() 415 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 417 max_zone_pfns[ZONE_HIGHMEM] = highend_pfn; in paging_init() 423 max_zone_pfns[ZONE_HIGHMEM] = max_low_pfn; in paging_init() 432 free_area_init(max_zone_pfns); in paging_init()
|
/openbmc/linux/arch/arm64/mm/ |
H A D | init.c | 259 unsigned long max_zone_pfns[MAX_NR_ZONES] = {0}; in zone_sizes_init() local 269 max_zone_pfns[ZONE_DMA] = PFN_DOWN(arm64_dma_phys_limit); in zone_sizes_init() 272 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init() 278 max_zone_pfns[ZONE_NORMAL] = max_pfn; in zone_sizes_init() 280 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/openbmc/linux/arch/sh/mm/ |
H A D | init.c | 280 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 336 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 337 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 338 free_area_init(max_zone_pfns); in paging_init()
|
/openbmc/linux/arch/x86/mm/ |
H A D | init.c | 1038 unsigned long max_zone_pfns[MAX_NR_ZONES]; in zone_sizes_init() local 1040 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in zone_sizes_init() 1043 max_zone_pfns[ZONE_DMA] = min(MAX_DMA_PFN, max_low_pfn); in zone_sizes_init() 1046 max_zone_pfns[ZONE_DMA32] = min(MAX_DMA32_PFN, max_low_pfn); in zone_sizes_init() 1048 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 1050 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in zone_sizes_init() 1053 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/openbmc/linux/arch/riscv/mm/ |
H A D | init.c | 80 unsigned long max_zone_pfns[MAX_NR_ZONES] = { 0, }; in zone_sizes_init() local 83 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init() 85 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 87 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/openbmc/linux/arch/sparc/mm/ |
H A D | init_64.c | 2465 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 2467 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 2469 max_zone_pfns[ZONE_NORMAL] = end_pfn; in paging_init() 2471 free_area_init(max_zone_pfns); in paging_init()
|