Lines Matching refs:_PAGE_FOW
66 #define _PAGE_FOW 0x0004 /* used for page protection (fault on write) */ macro
101 #define PAGE_NONE __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE)
103 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
104 #define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
109 #define _PAGE_P(x) _PAGE_NORMAL((x) | (((x) & _PAGE_FOW)?0:_PAGE_FOW))
120 #define __P000 _PAGE_P(_PAGE_FOE | _PAGE_FOW | _PAGE_FOR)
121 #define __P001 _PAGE_P(_PAGE_FOE | _PAGE_FOW)
124 #define __P100 _PAGE_P(_PAGE_FOW | _PAGE_FOR)
125 #define __P101 _PAGE_P(_PAGE_FOW)
129 #define __S000 _PAGE_S(_PAGE_FOE | _PAGE_FOW | _PAGE_FOR)
130 #define __S001 _PAGE_S(_PAGE_FOE | _PAGE_FOW)
133 #define __S100 _PAGE_S(_PAGE_FOW | _PAGE_FOR)
134 #define __S101 _PAGE_S(_PAGE_FOW)
268 extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } in pte_write()
272 extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } in pte_wrprotect()
275 extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_FOW; return pte; } in pte_mkwrite()