Searched refs:max_zone_pfns (Results 1 – 9 of 9) sorted by relevance
/linux-6.12.1/arch/s390/mm/ |
D | init.c | 96 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 101 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 102 max_zone_pfns[ZONE_DMA] = virt_to_pfn(MAX_DMA_ADDRESS); in paging_init() 103 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 104 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.12.1/arch/loongarch/mm/ |
D | init.c | 66 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 69 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init() 72 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init() 74 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 76 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.12.1/arch/sh/mm/ |
D | init.c | 275 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 331 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 332 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 333 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.12.1/arch/mips/mm/ |
D | init.c | 407 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 412 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init() 415 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init() 417 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 419 max_zone_pfns[ZONE_HIGHMEM] = highend_pfn; in paging_init() 425 max_zone_pfns[ZONE_HIGHMEM] = max_low_pfn; in paging_init() 438 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.12.1/arch/arm64/mm/ |
D | init.c | 133 unsigned long max_zone_pfns[MAX_NR_ZONES] = {0}; in zone_sizes_init() local 144 max_zone_pfns[ZONE_DMA] = PFN_DOWN(arm64_dma_phys_limit); in zone_sizes_init() 147 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init() 153 max_zone_pfns[ZONE_NORMAL] = max_pfn; in zone_sizes_init() 155 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux-6.12.1/arch/powerpc/mm/ |
D | mem.c | 224 static unsigned long max_zone_pfns[MAX_NR_ZONES]; variable 263 max_zone_pfns[ZONE_DMA] = min(max_low_pfn, in paging_init() 266 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 268 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in paging_init() 271 free_area_init(max_zone_pfns); in paging_init()
|
/linux-6.12.1/arch/x86/mm/ |
D | init.c | 992 unsigned long max_zone_pfns[MAX_NR_ZONES]; in zone_sizes_init() local 994 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in zone_sizes_init() 997 max_zone_pfns[ZONE_DMA] = min(MAX_DMA_PFN, max_low_pfn); in zone_sizes_init() 1000 max_zone_pfns[ZONE_DMA32] = min(MAX_DMA32_PFN, max_low_pfn); in zone_sizes_init() 1002 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 1004 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in zone_sizes_init() 1007 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux-6.12.1/arch/riscv/mm/ |
D | init.c | 77 unsigned long max_zone_pfns[MAX_NR_ZONES] = { 0, }; in zone_sizes_init() local 80 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(dma32_phys_limit); in zone_sizes_init() 82 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 84 free_area_init(max_zone_pfns); in zone_sizes_init()
|
/linux-6.12.1/arch/sparc/mm/ |
D | init_64.c | 2458 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 2460 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 2462 max_zone_pfns[ZONE_NORMAL] = end_pfn; in paging_init() 2464 free_area_init(max_zone_pfns); in paging_init()
|