Lines Matching refs:xlate_pabit
155 #define xlate_pabit(x) (31 - x) macro
160 #define PTE_SHIFT xlate_pabit(_PAGE_USER_BIT)
172 #define _PAGE_READ (1 << xlate_pabit(_PAGE_READ_BIT))
173 #define _PAGE_WRITE (1 << xlate_pabit(_PAGE_WRITE_BIT))
175 #define _PAGE_EXEC (1 << xlate_pabit(_PAGE_EXEC_BIT))
176 #define _PAGE_GATEWAY (1 << xlate_pabit(_PAGE_GATEWAY_BIT))
177 #define _PAGE_DMB (1 << xlate_pabit(_PAGE_DMB_BIT))
178 #define _PAGE_DIRTY (1 << xlate_pabit(_PAGE_DIRTY_BIT))
179 #define _PAGE_REFTRAP (1 << xlate_pabit(_PAGE_REFTRAP_BIT))
180 #define _PAGE_NO_CACHE (1 << xlate_pabit(_PAGE_NO_CACHE_BIT))
181 #define _PAGE_ACCESSED (1 << xlate_pabit(_PAGE_ACCESSED_BIT))
182 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT))
183 #define _PAGE_USER (1 << xlate_pabit(_PAGE_USER_BIT))
184 #define _PAGE_FILE (1 << xlate_pabit(_PAGE_FILE_BIT))
202 #define PxD_FLAG_PRESENT (1 << xlate_pabit(_PxD_PRESENT_BIT))
203 #define PxD_FLAG_ATTACHED (1 << xlate_pabit(_PxD_ATTACHED_BIT))
204 #define PxD_FLAG_VALID (1 << xlate_pabit(_PxD_VALID_BIT))
441 return test_and_clear_bit(xlate_pabit(_PAGE_ACCESSED_BIT), &pte_val(*ptep)); in ptep_test_and_clear_young()