Home
last modified time | relevance | path

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

/linux-6.1.9/arch/alpha/mm/
Dinit.c285 [VM_NONE] = _PAGE_P(_PAGE_FOE | _PAGE_FOW |
287 [VM_READ] = _PAGE_P(_PAGE_FOE | _PAGE_FOW),
290 [VM_EXEC] = _PAGE_P(_PAGE_FOW | _PAGE_FOR),
291 [VM_EXEC | VM_READ] = _PAGE_P(_PAGE_FOW),
294 [VM_SHARED] = _PAGE_S(_PAGE_FOE | _PAGE_FOW |
296 [VM_SHARED | VM_READ] = _PAGE_S(_PAGE_FOE | _PAGE_FOW),
299 [VM_SHARED | VM_EXEC] = _PAGE_S(_PAGE_FOW | _PAGE_FOR),
300 [VM_SHARED | VM_EXEC | VM_READ] = _PAGE_S(_PAGE_FOW),
/linux-6.1.9/arch/alpha/include/asm/
Dpgtable.h65 #define _PAGE_FOW 0x0004 /* used for page protection (fault on write) */ macro
100 #define PAGE_NONE __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE)
102 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
103 #define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
108 #define _PAGE_P(x) _PAGE_NORMAL((x) | (((x) & _PAGE_FOW)?0:_PAGE_FOW))
249 extern inline int pte_write(pte_t pte) { return !(pte_val(pte) & _PAGE_FOW); } in pte_write()
253 extern inline pte_t pte_wrprotect(pte_t pte) { pte_val(pte) |= _PAGE_FOW; return pte; } in pte_wrprotect()
256 extern inline pte_t pte_mkwrite(pte_t pte) { pte_val(pte) &= ~_PAGE_FOW; return pte; } in pte_mkwrite()