Lines Matching refs:pte_low
136 #define pte_present(pte) ((pte).pte_low & _PAGE_PRESENT)
137 #define pte_no_exec(pte) ((pte).pte_low & _PAGE_NO_EXEC)
143 ptep->pte_low = pte.pte_low; in set_pte()
285 static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; } in pte_write()
286 static inline int pte_dirty(pte_t pte) { return pte.pte_low & _PAGE_MODIFIED; } in pte_dirty()
287 static inline int pte_young(pte_t pte) { return pte.pte_low & _PAGE_ACCESSED; } in pte_young()
291 pte.pte_low &= ~_PAGE_WRITE; in pte_wrprotect()
298 pte.pte_low &= ~_PAGE_MODIFIED; in pte_mkclean()
305 pte.pte_low &= ~_PAGE_ACCESSED; in pte_mkold()
312 pte.pte_low |= _PAGE_WRITE; in pte_mkwrite()
313 if (pte.pte_low & _PAGE_MODIFIED) in pte_mkwrite()
320 pte.pte_low |= _PAGE_MODIFIED; in pte_mkdirty()
321 if (pte.pte_low & _PAGE_WRITE) in pte_mkdirty()
328 pte.pte_low |= _PAGE_ACCESSED; in pte_mkyoung()
329 if (pte.pte_low & _PAGE_READ) in pte_mkyoung()
436 pte.pte_low &= (_PAGE_MODIFIED | _PAGE_ACCESSED | _PFNX_MASK); in pte_modify()
438 pte.pte_low |= pgprot_val(newprot) & ~_PFNX_MASK; in pte_modify()