Searched refs:PHYS_PFN_OFFSET (Results 1 – 4 of 4) sorted by relevance
26 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro70 #define page_to_pfn(page) (((page) - mem_map) + PHYS_PFN_OFFSET)71 #define pfn_to_page(pfn) ((mem_map + (pfn)) - PHYS_PFN_OFFSET)72 #define pfn_valid(pfn) ((pfn) >= PHYS_PFN_OFFSET && (pfn) < (PHYS_PFN_OFFSET + max_mapnr))
87 #define PFN_TO_NID(pfn) (((pfn) - PHYS_PFN_OFFSET) >> (27 - PAGE_SHIFT))
106 (((pfn) - PHYS_PFN_OFFSET) >> (NODE_MAX_MEM_SHIFT - PAGE_SHIFT))
124 (((pfn) - PHYS_PFN_OFFSET) >> (NODE_MAX_MEM_SHIFT - PAGE_SHIFT))