Lines Matching refs:pte_low
91 #define pte_none(pte) (!(((pte).pte_low | (pte).pte_high) & ~_PAGE_GLOBAL))
92 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
98 ptep->pte_low = pte.pte_low; in set_pte()
101 if (pte.pte_low & _PAGE_GLOBAL) { in set_pte()
108 buddy->pte_low |= _PAGE_GLOBAL; in set_pte()
120 if (ptep_buddy(ptep)->pte_low & _PAGE_GLOBAL) in pte_clear()
121 null.pte_low = null.pte_high = _PAGE_GLOBAL; in pte_clear()
193 static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; } in pte_write()
194 static inline int pte_dirty(pte_t pte) { return pte.pte_low & _PAGE_MODIFIED; } in pte_dirty()
195 static inline int pte_young(pte_t pte) { return pte.pte_low & _PAGE_ACCESSED; } in pte_young()
196 static inline int pte_file(pte_t pte) { return pte.pte_low & _PAGE_FILE; } in pte_file()
200 pte.pte_low &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); in pte_wrprotect()
207 pte.pte_low &= ~(_PAGE_MODIFIED | _PAGE_SILENT_WRITE); in pte_mkclean()
214 pte.pte_low &= ~(_PAGE_ACCESSED | _PAGE_SILENT_READ); in pte_mkold()
221 pte.pte_low |= _PAGE_WRITE; in pte_mkwrite()
222 if (pte.pte_low & _PAGE_MODIFIED) { in pte_mkwrite()
223 pte.pte_low |= _PAGE_SILENT_WRITE; in pte_mkwrite()
231 pte.pte_low |= _PAGE_MODIFIED; in pte_mkdirty()
232 if (pte.pte_low & _PAGE_WRITE) { in pte_mkdirty()
233 pte.pte_low |= _PAGE_SILENT_WRITE; in pte_mkdirty()
241 pte.pte_low |= _PAGE_ACCESSED; in pte_mkyoung()
242 if (pte.pte_low & _PAGE_READ) { in pte_mkyoung()
243 pte.pte_low |= _PAGE_SILENT_READ; in pte_mkyoung()
325 pte.pte_low &= _PAGE_CHG_MASK; in pte_modify()
327 pte.pte_low |= pgprot_val(newprot); in pte_modify()