Home
last modified time | relevance | path

Searched refs:max_zone_pfn (Results 1 – 16 of 16) sorted by relevance

/arch/csky/kernel/
Dsetup.c31 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in csky_memblock_init() local
55 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in csky_memblock_init()
60 max_zone_pfn[ZONE_HIGHMEM] = max_pfn; in csky_memblock_init()
69 free_area_init(max_zone_pfn); in csky_memblock_init()
/arch/m68k/mm/
Dinit.c67 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local
75 max_zone_pfn[ZONE_DMA] = end_mem >> PAGE_SHIFT; in paging_init()
76 free_area_init(max_zone_pfn); in paging_init()
Dsun3mmu.c44 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local
91 max_zone_pfn[ZONE_DMA] = ((unsigned long)high_memory) >> PAGE_SHIFT; in paging_init()
94 free_area_init(max_zone_pfn); in paging_init()
Dmcfmmu.c42 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local
83 max_zone_pfn[ZONE_DMA] = PFN_DOWN(_ramend); in paging_init()
84 free_area_init(max_zone_pfn); in paging_init()
Dmotorola.c420 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local
511 max_zone_pfn[ZONE_DMA] = memblock_end_of_DRAM(); in paging_init()
512 free_area_init(max_zone_pfn); in paging_init()
/arch/arc/mm/
Dinit.c86 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in setup_arch_memory() local
126 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in setup_arch_memory()
151 max_zone_pfn[ZONE_HIGHMEM] = max_high_pfn; in setup_arch_memory()
164 free_area_init(max_zone_pfn); in setup_arch_memory()
/arch/nios2/mm/
Dinit.c48 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local
53 max_zone_pfn[ZONE_NORMAL] = max_mapnr; in paging_init()
56 free_area_init(max_zone_pfn); in paging_init()
/arch/openrisc/mm/
Dinit.c43 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local
48 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init()
50 free_area_init(max_zone_pfn); in zone_sizes_init()
/arch/alpha/mm/
Dinit.c243 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local
249 max_zone_pfn[ZONE_DMA] = dma_pfn; in paging_init()
250 max_zone_pfn[ZONE_NORMAL] = max_pfn; in paging_init()
253 free_area_init(max_zone_pfn); in paging_init()
/arch/arm/mm/
Dinit.c112 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local
115 max_zone_pfn[ZONE_DMA] = min(arm_dma_pfn_limit, max_low); in zone_sizes_init()
117 max_zone_pfn[ZONE_NORMAL] = max_low; in zone_sizes_init()
119 max_zone_pfn[ZONE_HIGHMEM] = max_high; in zone_sizes_init()
121 free_area_init(max_zone_pfn); in zone_sizes_init()
/arch/hexagon/mm/
Dinit.c91 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local
101 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in paging_init()
103 free_area_init(max_zone_pfn); /* sets up the zonelists and mem_map */ in paging_init()
/arch/um/kernel/
Dmem.c169 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local
178 max_zone_pfn[ZONE_NORMAL] = end_iomem >> PAGE_SHIFT; in paging_init()
179 free_area_init(max_zone_pfn); in paging_init()
/arch/arm64/kernel/
Dhibernate.c258 unsigned long pfn, max_zone_pfn; in swsusp_mte_save_tags() local
266 max_zone_pfn = zone_end_pfn(zone); in swsusp_mte_save_tags()
267 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in swsusp_mte_save_tags()
/arch/xtensa/mm/
Dinit.c73 unsigned long max_zone_pfn[MAX_NR_ZONES] = { in zones_init() local
79 free_area_init(max_zone_pfn); in zones_init()
/arch/parisc/mm/
Dinit.c704 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in parisc_bootmem_free() local
706 max_zone_pfn[0] = memblock_end_of_DRAM(); in parisc_bootmem_free()
708 free_area_init(max_zone_pfn); in parisc_bootmem_free()
/arch/sparc/mm/
Dsrmmu.c976 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in srmmu_paging_init() local
978 max_zone_pfn[ZONE_DMA] = max_low_pfn; in srmmu_paging_init()
979 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in srmmu_paging_init()
980 max_zone_pfn[ZONE_HIGHMEM] = highend_pfn; in srmmu_paging_init()
982 free_area_init(max_zone_pfn); in srmmu_paging_init()