Lines Matching defs:_PAGE_USER
103 #define _PAGE_USER (1<<4) /* user access (ring=1) */
118 # define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_RW)
119 # define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
120 # define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
122 # define PAGE_INVALID __pgprot(_PAGE_USER)
187 #define pte_none(pte) (!(pte_val(pte) ^ _PAGE_USER))
190 do { update_pte(ptep, __pte(_PAGE_USER)); } while(0)
197 /* Note: We use the _PAGE_USER bit to indicate write-protect kernel memory */
199 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; }
205 static inline pte_t pte_rdprotect(pte_t pte) { pte_val(pte) &= ~_PAGE_USER; return pte; }
208 static inline pte_t pte_mkread(pte_t pte) { pte_val(pte) |= _PAGE_USER; return pte; }