Home
last modified time | relevance | path

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

/linux/arch/csky/kernel/
A 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()
/linux/arch/h8300/mm/
A Dinit.c85 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local
87 max_zone_pfn[ZONE_NORMAL] = end_mem >> PAGE_SHIFT; in paging_init()
88 free_area_init(max_zone_pfn); in paging_init()
/linux/arch/arc/mm/
A Dinit.c90 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in setup_arch_memory() local
130 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in setup_arch_memory()
155 max_zone_pfn[ZONE_HIGHMEM] = max_high_pfn; in setup_arch_memory()
168 free_area_init(max_zone_pfn); in setup_arch_memory()
/linux/arch/m68k/mm/
A 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()
A 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()
A Dmcfmmu.c42 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local
82 max_zone_pfn[ZONE_DMA] = PFN_DOWN(_ramend); in paging_init()
83 free_area_init(max_zone_pfn); in paging_init()
A Dmotorola.c392 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in paging_init() local
481 max_zone_pfn[ZONE_DMA] = memblock_end_of_DRAM(); in paging_init()
482 free_area_init(max_zone_pfn); in paging_init()
/linux/arch/nios2/mm/
A 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()
/linux/arch/alpha/mm/
A 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()
/linux/arch/hexagon/mm/
A Dinit.c93 unsigned long max_zone_pfn[MAX_NR_ZONES] = {0, }; in paging_init() local
103 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in paging_init()
105 free_area_init(max_zone_pfn); /* sets up the zonelists and mem_map */ in paging_init()
/linux/arch/openrisc/mm/
A Dinit.c45 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local
50 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init()
52 free_area_init(max_zone_pfn); in zone_sizes_init()
/linux/arch/nds32/mm/
A Dinit.c34 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in zone_sizes_init() local
36 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in zone_sizes_init()
38 max_zone_pfn[ZONE_HIGHMEM] = max_pfn; in zone_sizes_init()
40 free_area_init(max_zone_pfn); in zone_sizes_init()
/linux/arch/arm/mm/
A 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()
/linux/arch/um/kernel/
A Dmem.c151 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in paging_init() local
160 max_zone_pfn[ZONE_NORMAL] = end_iomem >> PAGE_SHIFT; in paging_init()
161 free_area_init(max_zone_pfn); in paging_init()
/linux/arch/arm64/kernel/
A Dhibernate.c263 unsigned long pfn, max_zone_pfn; in swsusp_mte_save_tags() local
271 max_zone_pfn = zone_end_pfn(zone); in swsusp_mte_save_tags()
272 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in swsusp_mte_save_tags()
/linux/arch/xtensa/mm/
A Dinit.c73 unsigned long max_zone_pfn[MAX_NR_ZONES] = { in zones_init() local
79 free_area_init(max_zone_pfn); in zones_init()
/linux/kernel/power/
A Dsnapshot.c1294 unsigned long pfn, max_zone_pfn; in count_highmem_pages() local
1300 max_zone_pfn = zone_end_pfn(zone); in count_highmem_pages()
1301 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_highmem_pages()
1359 unsigned long pfn, max_zone_pfn; in count_data_pages() local
1367 max_zone_pfn = zone_end_pfn(zone); in count_data_pages()
1368 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in count_data_pages()
1458 unsigned long max_zone_pfn; in copy_data_pages() local
1461 max_zone_pfn = zone_end_pfn(zone); in copy_data_pages()
1462 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in copy_data_pages()
/linux/arch/parisc/mm/
A Dinit.c671 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0, }; in parisc_bootmem_free() local
673 max_zone_pfn[0] = memblock_end_of_DRAM(); in parisc_bootmem_free()
675 free_area_init(max_zone_pfn); in parisc_bootmem_free()
/linux/arch/sparc/mm/
A Dsrmmu.c975 unsigned long max_zone_pfn[MAX_NR_ZONES] = { 0 }; in srmmu_paging_init() local
977 max_zone_pfn[ZONE_DMA] = max_low_pfn; in srmmu_paging_init()
978 max_zone_pfn[ZONE_NORMAL] = max_low_pfn; in srmmu_paging_init()
979 max_zone_pfn[ZONE_HIGHMEM] = highend_pfn; in srmmu_paging_init()
981 free_area_init(max_zone_pfn); in srmmu_paging_init()
/linux/mm/
A Dhuge_memory.c2874 unsigned long pfn, max_zone_pfn; in split_huge_pages_all() local
2879 max_zone_pfn = zone_end_pfn(zone); in split_huge_pages_all()
2880 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) { in split_huge_pages_all()
A Dpage_alloc.c3258 unsigned long pfn, max_zone_pfn, page_count = WD_PAGE_COUNT; in mark_free_pages() local
3268 max_zone_pfn = zone_end_pfn(zone); in mark_free_pages()
3269 for (pfn = zone->zone_start_pfn; pfn < max_zone_pfn; pfn++) in mark_free_pages()
7959 void __init free_area_init(unsigned long *max_zone_pfn) in free_area_init() argument
7983 end_pfn = max(max_zone_pfn[zone], start_pfn); in free_area_init()
/linux/include/linux/
A Dmm.h2562 void free_area_init(unsigned long *max_zone_pfn);

Completed in 59 milliseconds