Lines Matching refs:_PAGE_WRITE
27 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | \
37 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
285 static inline int pte_write(pte_t pte) { return pte.pte_low & _PAGE_WRITE; } in pte_write()
291 pte.pte_low &= ~_PAGE_WRITE; in pte_wrprotect()
312 pte.pte_low |= _PAGE_WRITE; in pte_mkwrite()
321 if (pte.pte_low & _PAGE_WRITE) in pte_mkdirty()
334 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_WRITE; } in pte_write()
340 pte_val(pte) &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); in pte_wrprotect()
358 pte_val(pte) |= _PAGE_WRITE; in pte_mkwrite()
367 if (pte_val(pte) & _PAGE_WRITE) in pte_mkdirty()
525 return !!(pmd_val(pmd) & _PAGE_WRITE); in pmd_write()
530 pmd_val(pmd) &= ~(_PAGE_WRITE | _PAGE_SILENT_WRITE); in pmd_wrprotect()
536 pmd_val(pmd) |= _PAGE_WRITE; in pmd_mkwrite()
557 if (pmd_val(pmd) & _PAGE_WRITE) in pmd_mkdirty()