Searched refs:max_mapnr (Results 1 – 25 of 34) sorted by relevance
12
92 extern unsigned long max_mapnr; in pfn_valid()95 return pfn >= pfn_offset && pfn < max_mapnr; in pfn_valid()
90 extern unsigned long max_mapnr; in pfn_valid()93 return pfn >= pfn_offset && pfn < max_mapnr; in pfn_valid()
133 #define pfn_valid(pfn) (((pfn) >= (pfn_base)) && (((pfn)-(pfn_base)) < max_mapnr))134 #define virt_addr_valid(kaddr) ((((unsigned long)(kaddr)-PAGE_OFFSET)>>PAGE_SHIFT) < max_mapnr)
121 extern unsigned long max_mapnr;126 return pfn >= min_pfn && pfn < max_mapnr; in pfn_valid()
232 extern unsigned long max_mapnr; in pfn_valid()235 return pfn >= pfn_offset && pfn < 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()
19 #define pfn_valid(pfn) ((pfn) < max_mapnr)
31 #define pfn_valid(pfn) ((pfn) < max_mapnr)
83 #define pfn_valid(pfn) ((pfn) < max_mapnr)
164 max_mapnr = max_low_pfn; in setup_arch()
87 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
91 #define pfn_valid(pfn) ((pfn) < max_mapnr)
112 #define pfn_valid(pfn) (((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
98 #define pfn_valid(pfn) ((pfn) < max_mapnr)
53 max_zone_pfn[ZONE_NORMAL] = max_mapnr; in paging_init()
42 #define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
115 # define pfn_valid(pfn) ((pfn) >= ARCH_PFN_OFFSET && (pfn) < (max_mapnr + ARCH_PFN_OFFSET))
164 max_mapnr = max_low_pfn - min_low_pfn; in setup_arch_memory()
111 #define pfn_valid(pfn) ((pfn) < max_mapnr)
198 max_mapnr = max_low_pfn; in mem_init()
193 ((pfn) >= ARCH_PFN_OFFSET && ((pfn) - ARCH_PFN_OFFSET) < max_mapnr)
159 #define pfn_valid(pfn) ((pfn) < max_mapnr)
117 max_mapnr = max_pfn - ARCH_PFN_OFFSET; in mem_init()
38 max_mapnr = total_pages; in mem_total_pages()
457 max_mapnr = highend_pfn ? highend_pfn : max_low_pfn; in mem_init()459 max_mapnr = max_low_pfn; in mem_init()