Home
last modified time | relevance | path

Searched refs:_PAGE_RW (Results 1 – 25 of 40) sorted by relevance

12

/arch/powerpc/include/asm/
Dpte-common.h51 #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)
Dpte-8xx.h49 #define _PAGE_RW 0x0400 /* lsb PP bits, inverted in HW */ macro
64 #define _PAGE_KERNEL_RW (_PAGE_DIRTY | _PAGE_RW | _PAGE_HWWRITE)
Dpte-hash64.h27 #define _PAGE_RW 0x0200 /* software: user write access allowed */ macro
31 #define _PAGE_KERNEL_RW (_PAGE_RW | _PAGE_DIRTY) /* user access blocked by key */
Dpte-fsl-booke.h24 #define _PAGE_RW 0x00004 /* S: Write permission (SW) */ macro
Dpte-44x.h79 #define _PAGE_RW 0x00000002 /* S: Write permission */ macro
Dpte-40x.h47 #define _PAGE_RW 0x040 /* software: Writes permitted */ macro
Dpte-hash32.h29 #define _PAGE_RW 0x400 /* software: user write access allowed */ macro
Dpgtable-ppc64.h261 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()
Dpgtable.h31 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()
Dpte-book3e.h51 #define _PAGE_RW (_PAGE_BAP_SW | _PAGE_BAP_UW) /* User write permission */ macro
Dpgtable-ppc32.h260 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/
Dpgtable.h16 #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/
Dpgtable_types.h35 #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)
Dpgtable.h107 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/
Dpgtable_32.h48 #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/
Dpgtable.h95 #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/
Dpgtable.h218 #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/
Dhugetlbpage-hash64.c53 if (access & _PAGE_RW) in __hash_page_huge()
58 rflags = 0x2 | (!(new_pte & _PAGE_RW)); in __hash_page_huge()
Dfsl_booke_mmu.c132 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_SW : 0); in settlbcam()
139 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_UW : 0); in settlbcam()
Dppc_mmu_32.c132 wimgxpp |= (flags & _PAGE_RW)? BPP_RW: BPP_RX; in setbat()
150 wimgxpp |= (flags & _PAGE_RW)? in setbat()
/arch/x86/mm/
Dgup.c79 mask |= _PAGE_RW; in gup_pte_range()
121 mask |= _PAGE_RW; in gup_huge_pmd()
191 mask |= _PAGE_RW; in gup_huge_pud()
Dpageattr.c281 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/
Dioremap.c56 prot = __pgprot(_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_RW | _PAGE_DIRTY in __ioremap()
/arch/parisc/mm/
Dioremap.c66 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | in __ioremap()
/arch/powerpc/platforms/cell/spufs/
Dfault.c145 access |= (dsisr & MFC_DSISR_ACCESS_PUT) ? _PAGE_RW : 0UL; in spufs_handle_class1()

12