Lines Matching refs:PAGE_SHIFT
86 #define PGDIR_SHIFT (PAGE_SHIFT + 2*(PAGE_SHIFT-3))
89 #define PTRS_PER_PGD (__IA64_UL(1) << (PAGE_SHIFT-3))
99 #define PMD_SHIFT (PAGE_SHIFT + (PAGE_SHIFT-3))
102 #define PTRS_PER_PMD (__IA64_UL(1) << (PAGE_SHIFT-3))
107 #define PTRS_PER_PTE (__IA64_UL(1) << (PAGE_SHIFT-3))
199 #define VMALLOC_END_INIT (0xa000000000000000 + (1UL << (4*PAGE_SHIFT - 9)))
211 pte_val(__pte) = ((page - mem_map) << PAGE_SHIFT) | pgprot_val(pgprot); \
229 #define pte_page(pte) (mem_map + (unsigned long) ((pte_val(pte) & _PFN_MASK) >> PAGE_SHIFT))
311 return (region << (PAGE_SHIFT - 6)) | l1index; in pgd_index()
333 ((pte_t *) pmd_page(*(dir)) + (((addr) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)))
436 #define HUGETLB_PGDIR_SHIFT (HPAGE_SHIFT + 2*(PAGE_SHIFT-3))