Searched refs:max_zone_pfns (Results 1 – 10 of 10) sorted by relevance
/arch/ia64/mm/ |
D | contig.c | 179 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 181 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 184 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init() 186 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 213 free_area_init_nodes(max_zone_pfns); in paging_init()
|
D | discontig.c | 600 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 625 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 627 max_zone_pfns[ZONE_DMA32] = max_dma; in paging_init() 629 max_zone_pfns[ZONE_NORMAL] = max_pfn; in paging_init() 630 free_area_init_nodes(max_zone_pfns); in paging_init()
|
/arch/s390/mm/ |
D | init.c | 90 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 121 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init() 122 max_zone_pfns[ZONE_DMA] = PFN_DOWN(MAX_DMA_ADDRESS); in paging_init() 123 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 124 free_area_init_nodes(max_zone_pfns); in paging_init()
|
/arch/mips/mm/ |
D | init.c | 396 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local 404 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init() 407 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init() 409 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 411 max_zone_pfns[ZONE_HIGHMEM] = highend_pfn; in paging_init() 417 max_zone_pfns[ZONE_HIGHMEM] = max_low_pfn; in paging_init() 426 free_area_init_nodes(max_zone_pfns); in paging_init()
|
/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_nodes(max_zone_pfns); in paging_init()
|
/arch/powerpc/mm/ |
D | mem.c | 232 static unsigned long max_zone_pfns[MAX_NR_ZONES]; variable 264 max_zone_pfns[ZONE_DMA] = min(max_low_pfn, in paging_init() 267 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init() 269 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in paging_init() 272 free_area_init_nodes(max_zone_pfns); in paging_init()
|
/arch/x86/mm/ |
D | init.c | 964 unsigned long max_zone_pfns[MAX_NR_ZONES]; in zone_sizes_init() local 966 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in zone_sizes_init() 969 max_zone_pfns[ZONE_DMA] = min(MAX_DMA_PFN, max_low_pfn); in zone_sizes_init() 972 max_zone_pfns[ZONE_DMA32] = min(MAX_DMA32_PFN, max_low_pfn); in zone_sizes_init() 974 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 976 max_zone_pfns[ZONE_HIGHMEM] = max_pfn; in zone_sizes_init() 979 free_area_init_nodes(max_zone_pfns); in zone_sizes_init()
|
/arch/arm64/mm/ |
D | init.c | 187 unsigned long max_zone_pfns[MAX_NR_ZONES] = {0}; in zone_sizes_init() local 190 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(max_zone_dma_phys()); in zone_sizes_init() 192 max_zone_pfns[ZONE_NORMAL] = max; in zone_sizes_init() 194 free_area_init_nodes(max_zone_pfns); in zone_sizes_init()
|
/arch/riscv/mm/ |
D | init.c | 32 unsigned long max_zone_pfns[MAX_NR_ZONES] = { 0, }; in zone_sizes_init() local 35 max_zone_pfns[ZONE_DMA32] = PFN_DOWN(min(4UL * SZ_1G, in zone_sizes_init() 38 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init() 40 free_area_init_nodes(max_zone_pfns); in zone_sizes_init()
|
/arch/sparc/mm/ |
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_nodes(max_zone_pfns); in paging_init()
|