Searched refs:PHYS_PFN_OFFSET (Results 1 – 6 of 6) sorted by relevance
86 #define PHYS_PFN_OFFSET (CONFIG_PHYS_OFFSET >> PAGE_SHIFT) macro88 #define pfn_to_page(pfn) (mem_map + ((pfn) - PHYS_PFN_OFFSET))89 #define page_to_pfn(page) ((unsigned long)((page) - mem_map) + PHYS_PFN_OFFSET)90 #define pfn_valid(pfn) ((pfn) >= PHYS_PFN_OFFSET && (pfn) < (PHYS_PFN_OFFSET + max_mapnr))
149 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) macro168 #define PHYS_PFN_OFFSET (__pv_phys_pfn_offset) macro172 PHYS_PFN_OFFSET)233 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) macro247 PHYS_PFN_OFFSET)329 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET
51 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro52 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET
83 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro101 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET
169 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro201 #define ARCH_PFN_OFFSET ((unsigned long)PHYS_PFN_OFFSET)
312 max_low_pfn = max_low - PHYS_PFN_OFFSET; in bootmem_init()313 max_pfn = max_high - PHYS_PFN_OFFSET; in bootmem_init()383 max_mapnr = pfn_to_page(max_pfn + PHYS_PFN_OFFSET) - mem_map; in mem_init()