Home
last modified time | relevance | path

Searched refs:_PAGE_M_MASK (Results 1 – 1 of 1) sorted by relevance

/arch/nds32/include/asm/
Dpgtable.h110 #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()
[all …]