Lines Matching refs:PAGE_SHIFT
31 # define PAGE_SHIFT 12 macro
33 # define PAGE_SHIFT 13 macro
35 # define PAGE_SHIFT 14 macro
37 # define PAGE_SHIFT 16 macro
42 #define PAGE_SIZE (__IA64_UL_CONST(1) << PAGE_SHIFT)
96 #define virt_addr_valid(kaddr) pfn_valid(__pa(kaddr) >> PAGE_SHIFT)
104 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)
105 #define virt_to_page(kaddr) pfn_to_page(__pa(kaddr) >> PAGE_SHIFT)
106 #define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
131 | (REGION_OFFSET(x) >> (HPAGE_SHIFT-PAGE_SHIFT)))
132 # define HUGETLB_PAGE_ORDER (HPAGE_SHIFT - PAGE_SHIFT)
143 order = order - PAGE_SHIFT - 0xffff + 1; in get_order()