/arch/powerpc/include/asm/ |
D | pte-common.h | 51 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE) 54 #define _PAGE_KERNEL_RWX (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE | _PAGE_EXEC) 99 _PAGE_RW | _PAGE_HWWRITE | _PAGE_DIRTY | _PAGE_EXEC) 125 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 126 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
|
D | pte-8xx.h | 49 #define _PAGE_RW 0x0400 /* lsb PP bits, inverted in HW */ macro 64 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE)
|
D | pte-hash64.h | 27 #define _PAGE_RW 0x0200 /* software: user write access allowed */ macro 31 #define _PAGE_KERNEL_RW (_PAGE_RW | _PAGE_DIRTY) /* user access blocked by key */
|
D | pte-fsl-booke.h | 24 #define _PAGE_RW 0x00004 /* S: Write permission (SW) */ macro
|
D | pte-44x.h | 79 #define _PAGE_RW 0x00000002 /* S: Write permission */ macro
|
D | pte-40x.h | 47 #define _PAGE_RW 0x040 /* software: Writes permitted */ macro
|
D | pte-hash32.h | 29 #define _PAGE_RW 0x400 /* software: user write access allowed */ macro
|
D | pgtable-ppc64.h | 261 if ((pte_val(*ptep) & _PAGE_RW) == 0) in ptep_set_wrprotect() 264 pte_update(mm, addr, ptep, _PAGE_RW, 0); in ptep_set_wrprotect() 270 if ((pte_val(*ptep) & _PAGE_RW) == 0) in huge_ptep_set_wrprotect() 273 pte_update(mm, addr, ptep, _PAGE_RW, 1); in huge_ptep_set_wrprotect() 313 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags()
|
D | pgtable.h | 31 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write() 58 pte_val(pte) &= ~(_PAGE_RW | _PAGE_HWWRITE); return pte; } in pte_wrprotect() 64 pte_val(pte) |= _PAGE_RW; return pte; } in pte_mkwrite()
|
D | pte-book3e.h | 51 #define _PAGE_RW (_PAGE_BAP_SW | _PAGE_BAP_UW) /* User write permission */ macro
|
D | pgtable-ppc32.h | 260 pte_update(ptep, (_PAGE_RW | _PAGE_HWWRITE), 0); in ptep_set_wrprotect() 272 (_PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_RW | _PAGE_EXEC); in __ptep_set_access_flags()
|
/arch/um/include/asm/ |
D | pgtable.h | 16 #define _PAGE_RW 0x020 macro 60 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) 61 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY) 64 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) 66 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) 69 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) 152 return((pte_get_bits(pte, _PAGE_RW)) && in pte_write() 215 pte_clear_bits(pte, _PAGE_RW); in pte_wrprotect() 239 pte_set_bits(pte, _PAGE_RW); in pte_mkwrite()
|
/arch/x86/include/asm/ |
D | pgtable_types.h | 35 #define _PAGE_RW (_AT(pteval_t, 1) << _PAGE_BIT_RW) macro 67 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \ 69 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \ 84 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \ 87 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | \ 100 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL) 103 #define __PAGE_KERNEL_RO (__PAGE_KERNEL & ~_PAGE_RW) 104 #define __PAGE_KERNEL_RX (__PAGE_KERNEL_EXEC & ~_PAGE_RW)
|
D | pgtable.h | 107 return pte_flags(pte) & _PAGE_RW; in pte_write() 200 return pte_clear_flags(pte, _PAGE_RW); in pte_wrprotect() 220 return pte_set_flags(pte, _PAGE_RW); in pte_mkwrite() 269 return pmd_clear_flags(pmd, _PAGE_RW); in pmd_wrprotect() 289 return pmd_set_flags(pmd, _PAGE_RW); in pmd_mkwrite() 741 return pmd_flags(pmd) & _PAGE_RW; in pmd_write()
|
/arch/sh/include/asm/ |
D | pgtable_32.h | 48 #define _PAGE_RW 0x020 /* PR0-bit : write access allowed */ macro 58 #define _PAGE_PR_MASK (_PAGE_RW | _PAGE_USER) 245 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \ 259 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_CACHABLE | \ 264 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \ 273 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \ 353 #define pte_write(pte) ((pte).pte_low & _PAGE_RW) 369 PTE_BIT_FUNC(low, wrprotect, &= ~_PAGE_RW); 370 PTE_BIT_FUNC(low, mkwrite, |= _PAGE_RW);
|
/arch/avr32/include/asm/ |
D | pgtable.h | 95 #define _PAGE_RW (1 << _PAGE_BIT_RW) macro 137 #define _PAGE_FLAGS_WRITE (_PAGE_FLAGS_READ | _PAGE_RW | _PAGE_DIRTY) 149 #define _PAGE_P(x) _PAGE_NORMAL((x) & ~(_PAGE_RW | _PAGE_DIRTY)) 198 return pte_val(pte) & _PAGE_RW; in pte_write() 224 set_pte(&pte, __pte(pte_val(pte) & ~_PAGE_RW)); in pte_wrprotect() 239 set_pte(&pte, __pte(pte_val(pte) | _PAGE_RW)); in pte_mkwrite()
|
/arch/microblaze/include/asm/ |
D | pgtable.h | 218 #define _PAGE_RW 0x040 /* software: Writes permitted */ macro 256 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY | _PAGE_HWWRITE) 266 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 268 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 345 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write() 357 { pte_val(pte) &= ~(_PAGE_RW | _PAGE_HWWRITE); return pte; } in pte_wrprotect() 370 { pte_val(pte) |= _PAGE_RW; return pte; } in pte_mkwrite()
|
/arch/powerpc/mm/ |
D | hugetlbpage-hash64.c | 53 if (access & _PAGE_RW) in __hash_page_huge() 58 rflags = 0x2 | (!(new_pte & _PAGE_RW)); in __hash_page_huge()
|
D | fsl_booke_mmu.c | 132 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_SW : 0); in settlbcam() 139 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_UW : 0); in settlbcam()
|
D | ppc_mmu_32.c | 132 wimgxpp |= (flags & _PAGE_RW)? BPP_RW: BPP_RX; in setbat() 150 wimgxpp |= (flags & _PAGE_RW)? in setbat()
|
/arch/x86/mm/ |
D | gup.c | 79 mask |= _PAGE_RW; in gup_pte_range() 121 mask |= _PAGE_RW; in gup_huge_pmd() 191 mask |= _PAGE_RW; in gup_huge_pud()
|
D | pageattr.c | 281 pgprot_val(forbidden) |= _PAGE_RW; in static_protections() 316 pgprot_val(forbidden) |= _PAGE_RW; in static_protections() 1146 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_RW), 0); in set_memory_ro() 1152 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_RW), 0); in set_memory_rw() 1296 .mask_set = __pgprot(_PAGE_PRESENT | _PAGE_RW), in __set_pages_p() 1315 .mask_clr = __pgprot(_PAGE_PRESENT | _PAGE_RW), in __set_pages_np()
|
/arch/avr32/mm/ |
D | ioremap.c | 56 prot = __pgprot(_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_RW | _PAGE_DIRTY in __ioremap()
|
/arch/parisc/mm/ |
D | ioremap.c | 66 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | in __ioremap()
|
/arch/powerpc/platforms/cell/spufs/ |
D | fault.c | 145 access |= (dsisr & MFC_DSISR_ACCESS_PUT) ? _PAGE_RW : 0UL; in spufs_handle_class1()
|