Home
last modified time | relevance | path

Searched refs:max_zone_pfns (Results 1 – 11 of 11) sorted by relevance

/arch/ia64/mm/
Dcontig.c249 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
254 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
257 max_zone_pfns[ZONE_DMA] = max_dma; in paging_init()
259 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init()
266 free_area_init_nodes(max_zone_pfns); in paging_init()
284 free_area_init_nodes(max_zone_pfns); in paging_init()
290 free_area_init_nodes(max_zone_pfns); in paging_init()
Ddiscontig.c659 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
687 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
689 max_zone_pfns[ZONE_DMA] = max_dma; in paging_init()
691 max_zone_pfns[ZONE_NORMAL] = max_pfn; in paging_init()
692 free_area_init_nodes(max_zone_pfns); in paging_init()
/arch/s390/mm/
Dinit.c51 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
76 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
78 max_zone_pfns[ZONE_DMA] = PFN_DOWN(MAX_DMA_ADDRESS); in paging_init()
80 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init()
81 free_area_init_nodes(max_zone_pfns); in paging_init()
/arch/sh/mm/
Dinit.c139 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
162 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
171 if (max_zone_pfns[ZONE_NORMAL] < low) in paging_init()
172 max_zone_pfns[ZONE_NORMAL] = low; in paging_init()
178 free_area_init_nodes(max_zone_pfns); in paging_init()
/arch/powerpc/mm/
Dmem.c277 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
299 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
301 max_zone_pfns[ZONE_DMA] = lowmem_end_addr >> PAGE_SHIFT; in paging_init()
302 max_zone_pfns[ZONE_HIGHMEM] = top_of_ram >> PAGE_SHIFT; in paging_init()
304 max_zone_pfns[ZONE_DMA] = top_of_ram >> PAGE_SHIFT; in paging_init()
306 free_area_init_nodes(max_zone_pfns); in paging_init()
Dnuma.c1017 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
1018 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
1019 max_zone_pfns[ZONE_DMA] = lmb_end_of_DRAM() >> PAGE_SHIFT; in paging_init()
1020 free_area_init_nodes(max_zone_pfns); in paging_init()
/arch/mips/mm/
Dinit.c347 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
358 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init()
361 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init()
363 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in paging_init()
366 max_zone_pfns[ZONE_HIGHMEM] = highend_pfn; in paging_init()
373 max_zone_pfns[ZONE_HIGHMEM] = max_low_pfn; in paging_init()
378 free_area_init_nodes(max_zone_pfns); in paging_init()
/arch/x86/mm/
Dnuma_64.c571 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
573 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
574 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init()
575 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init()
576 max_zone_pfns[ZONE_NORMAL] = max_pfn; in paging_init()
581 free_area_init_nodes(max_zone_pfns); in paging_init()
Dinit_32.c781 unsigned long max_zone_pfns[MAX_NR_ZONES]; in zone_sizes_init() local
782 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in zone_sizes_init()
783 max_zone_pfns[ZONE_DMA] = in zone_sizes_init()
785 max_zone_pfns[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init()
787 max_zone_pfns[ZONE_HIGHMEM] = highend_pfn; in zone_sizes_init()
790 free_area_init_nodes(max_zone_pfns); in zone_sizes_init()
Dinit_64.c829 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
831 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
832 max_zone_pfns[ZONE_DMA] = MAX_DMA_PFN; in paging_init()
833 max_zone_pfns[ZONE_DMA32] = MAX_DMA32_PFN; in paging_init()
834 max_zone_pfns[ZONE_NORMAL] = max_pfn; in paging_init()
838 free_area_init_nodes(max_zone_pfns); in paging_init()
/arch/sparc/mm/
Dinit_64.c1832 unsigned long max_zone_pfns[MAX_NR_ZONES]; in paging_init() local
1834 memset(max_zone_pfns, 0, sizeof(max_zone_pfns)); in paging_init()
1836 max_zone_pfns[ZONE_NORMAL] = end_pfn; in paging_init()
1838 free_area_init_nodes(max_zone_pfns); in paging_init()