Lines Matching refs:PAGE_SHIFT
16 #define PAGE_SHIFT 12 macro
21 #define PAGE_SHIFT 14 macro
26 #define PAGE_SHIFT 16 macro
31 #define PAGE_SHIFT 18 macro
36 #define PAGE_SHIFT 20 macro
49 #define HUGETLB_PAGE_ORDER (HPAGE_SHIFT-PAGE_SHIFT)
53 #define PAGE_SIZE (1UL << PAGE_SHIFT)
54 #define PAGE_MASK (~((1 << PAGE_SHIFT) - 1))
99 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
127 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
129 #define virt_to_pfn(kaddr) (__pa(kaddr) >> PAGE_SHIFT)
130 #define pfn_to_virt(pfn) __va((pfn) << PAGE_SHIFT)