Home
last modified time | relevance | path

Searched refs:PHYS_PFN_OFFSET (Results 1 – 6 of 6) sorted by relevance

/arch/avr32/include/asm/
Dpage.h86 #define PHYS_PFN_OFFSET (CONFIG_PHYS_OFFSET >> PAGE_SHIFT) macro
88 #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))
/arch/arm/include/asm/
Dmemory.h149 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) macro
168 #define PHYS_PFN_OFFSET (__pv_phys_pfn_offset) macro
172 PHYS_PFN_OFFSET)
233 #define PHYS_PFN_OFFSET ((unsigned long)(PHYS_OFFSET >> PAGE_SHIFT)) macro
247 PHYS_PFN_OFFSET)
329 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET
/arch/hexagon/include/asm/
Dmem-layout.h51 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro
52 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET
/arch/unicore32/include/asm/
Dmemory.h83 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro
101 #define ARCH_PFN_OFFSET PHYS_PFN_OFFSET
/arch/arm64/include/asm/
Dmemory.h169 #define PHYS_PFN_OFFSET (PHYS_OFFSET >> PAGE_SHIFT) macro
201 #define ARCH_PFN_OFFSET ((unsigned long)PHYS_PFN_OFFSET)
/arch/unicore32/mm/
Dinit.c312 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()