Searched refs:max_mapnr (Results 1 – 17 of 17) sorted by relevance
26 extern unsigned long max_mapnr; in pfn_valid()29 return pfn >= pfn_offset && (pfn - pfn_offset) < max_mapnr; in pfn_valid()
113 max_mapnr = memory_size >> PAGE_SHIFT; in setup_memory()117 pr_info("%s: max_mapnr: %#lx\n", __func__, max_mapnr); in setup_memory()
427 max_mapnr = max_low_pfn; in paging_init()429 max_mapnr = highend_pfn; in paging_init()431 max_mapnr = max_low_pfn; in paging_init()434 max_mapnr = max_low_pfn; in paging_init()
159 max_mapnr = max_low_pfn; in setup_arch()
54 max_zone_pfn[ZONE_NORMAL] = max_mapnr; in paging_init()
160 max_mapnr = max_low_pfn - min_low_pfn; in setup_arch_memory()
133 #define virt_addr_valid(kaddr) ((((unsigned long)(kaddr)-PAGE_OFFSET)>>PAGE_SHIFT) < max_mapnr)
196 max_mapnr = max_low_pfn; in mem_init()
117 max_mapnr = max_pfn - ARCH_PFN_OFFSET; in mem_init()
39 max_mapnr = total_pages; in mem_total_pages()
81 max_mapnr = max_low_pfn; in mem_init()
278 max_mapnr = last_valid_pfn - pfn_base; in mem_init()
305 for (pfn = highmem_mapnr; pfn < max_mapnr; ++pfn) { in mem_init()
48 unsigned long max_mapnr; variable49 EXPORT_SYMBOL(max_mapnr);
100 unsigned long max_mapnr; variable101 EXPORT_SYMBOL(max_mapnr);
654 max_mapnr = IS_ENABLED(CONFIG_HIGHMEM) ? highend_pfn : max_low_pfn; in initmem_init()
48 extern unsigned long max_mapnr;52 max_mapnr = limit; in set_max_mapnr()