Lines Matching refs:_PAGE_M_MASK
110 #define _PAGE_M_MASK _PAGE_M_KRW macro
250 #define pte_write(pte) ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_URW_KRW)
251 #define pte_read(pte) (((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_UR_KR) || \
252 ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_UR_KRW) || \
253 ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_URW_KRW))
254 #define pte_kernel_write(pte) (((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_URW_KRW) || \
255 ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_UR_KRW) || \
256 ((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_KRW) || \
257 (((pte_val(pte) & _PAGE_M_MASK) == _PAGE_M_XKRW) && pte_exec(pte)))
276 pte_val(pte) = pte_val(pte) & ~_PAGE_M_MASK; in pte_wrprotect()
283 pte_val(pte) = pte_val(pte) & ~_PAGE_M_MASK; in pte_mkwrite()