Lines Matching refs:xlate_pabit
138 #define xlate_pabit(x) (31 - x) macro
140 #define _PAGE_READ (1 << xlate_pabit(_PAGE_READ_BIT))
141 #define _PAGE_WRITE (1 << xlate_pabit(_PAGE_WRITE_BIT))
143 #define _PAGE_EXEC (1 << xlate_pabit(_PAGE_EXEC_BIT))
144 #define _PAGE_GATEWAY (1 << xlate_pabit(_PAGE_GATEWAY_BIT))
145 #define _PAGE_DMB (1 << xlate_pabit(_PAGE_DMB_BIT))
146 #define _PAGE_DIRTY (1 << xlate_pabit(_PAGE_DIRTY_BIT))
147 #define _PAGE_REFTRAP (1 << xlate_pabit(_PAGE_REFTRAP_BIT))
148 #define _PAGE_NO_CACHE (1 << xlate_pabit(_PAGE_NO_CACHE_BIT))
149 #define _PAGE_ACCESSED (1 << xlate_pabit(_PAGE_ACCESSED_BIT))
150 #define _PAGE_PRESENT (1 << xlate_pabit(_PAGE_PRESENT_BIT))
151 #define _PAGE_FLUSH (1 << xlate_pabit(_PAGE_FLUSH_BIT))
152 #define _PAGE_USER (1 << xlate_pabit(_PAGE_USER_BIT))
370 return test_and_clear_bit(xlate_pabit(_PAGE_ACCESSED_BIT), ptep); in ptep_test_and_clear_young()
383 return test_and_clear_bit(xlate_pabit(_PAGE_DIRTY_BIT), ptep); in ptep_test_and_clear_dirty()
432 set_bit(xlate_pabit(_PAGE_DIRTY_BIT), ptep); in ptep_mkdirty()