Home
last modified time | relevance | path

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

12

/arch/powerpc/include/asm/
Dpgtable-ppc32.h172 #define _PAGE_RW 0x040 /* software: Writes permitted */ macro
260 #define _PAGE_RW 0x00000002 /* S: Write permission */ macro
301 #define _PAGE_RW 0x00004 /* S: Write permission (SW) */ macro
337 #define _PAGE_RW 0x0040 /* software: user write access allowed */ macro
370 #define _PAGE_RW 0x400 /* software: user write access allowed */ macro
439 _PAGE_RW | _PAGE_HWWRITE | _PAGE_DIRTY | \
455 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY | _PAGE_HWWRITE)
482 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
483 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
554 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW; } in pte_write()
[all …]
Dpgtable-ppc64.h93 #define _PAGE_RW 0x0200 /* software: user write access allowed */ macro
101 #define _PAGE_WRENABLE (_PAGE_RW | _PAGE_DIRTY)
106 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_USER)
107 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_RW | _PAGE_USER | _PAGE_EXEC)
122 _PAGE_4K_PFN | _PAGE_RW | _PAGE_USER | \
242 static inline int pte_write(pte_t pte) { return pte_val(pte) & _PAGE_RW;} in pte_write()
249 pte_val(pte) &= ~(_PAGE_RW); return pte; } in pte_wrprotect()
255 pte_val(pte) |= _PAGE_RW; return pte; } in pte_mkwrite()
317 if ((pte_val(*ptep) & _PAGE_RW) == 0) in ptep_set_wrprotect()
319 old = pte_update(mm, addr, ptep, _PAGE_RW, 0); in ptep_set_wrprotect()
[all …]
/arch/um/include/asm/
Dpgtable.h16 #define _PAGE_RW 0x020 macro
57 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
58 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
62 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
145 return((pte_get_bits(pte, _PAGE_RW)) && in pte_write()
208 pte_clear_bits(pte, _PAGE_RW); in pte_wrprotect()
232 pte_set_bits(pte, _PAGE_RW); in pte_mkwrite()
/arch/sh/include/asm/
Dpgtable_32.h48 #define _PAGE_RW 0x020 /* PR0-bit : write access allowed */ macro
57 #define _PAGE_PR_MASK (_PAGE_RW | _PAGE_USER)
229 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
243 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_CACHABLE | \
248 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
257 __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
336 #define pte_write(pte) ((pte).pte_low & _PAGE_RW)
352 PTE_BIT_FUNC(low, wrprotect, &= ~_PAGE_RW);
353 PTE_BIT_FUNC(low, mkwrite, |= _PAGE_RW);
/arch/x86/include/asm/
Dpgtable.h31 #define _PAGE_RW (_AT(pteval_t, 1) << _PAGE_BIT_RW) macro
57 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
59 #define _KERNPG_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | \
73 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
76 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | \
89 (_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED | _PAGE_GLOBAL)
92 #define __PAGE_KERNEL_RO (__PAGE_KERNEL & ~_PAGE_RW)
93 #define __PAGE_KERNEL_RX (__PAGE_KERNEL_EXEC & ~_PAGE_RW)
202 return pte_flags(pte) & _PAGE_RW; in pte_write()
255 return __pte(pte_val(pte) & ~_PAGE_RW); in pte_wrprotect()
[all …]
/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/powerpc/mm/
Dfsl_booke_mmu.c128 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_SW : 0); in settlbcam()
133 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_UW : 0); in settlbcam()
137 TLBCAM[index].MAS3 |= ((flags & _PAGE_RW) ? MAS3_UW : 0); in settlbcam()
Dppc_mmu_32.c136 wimgxpp |= (flags & _PAGE_RW)? BPP_RW: BPP_RX; in setbat()
156 wimgxpp |= (flags & _PAGE_RW)? in setbat()
Dgup.c30 result |= _PAGE_RW; in gup_pte_range()
74 mask |= _PAGE_RW; in gup_huge_pte()
Dpgtable_64.c203 if (flags & _PAGE_RW) in ioremap_flags()
Dpgtable_32.c140 if (flags & _PAGE_RW) in ioremap_flags()
Dhash_utils_64.c165 if ((pteflags & _PAGE_USER) && !((pteflags & _PAGE_RW) && in htab_convert_pte_flags()
838 spp = ((spp & 2) ? _PAGE_USER : 0) | ((spp & 1) ? _PAGE_RW : 0); in subpage_protection()
Dhugetlbpage.c604 rflags = 0x2 | (!(new_pte & _PAGE_RW)); in hash_huge_page()
/arch/x86/mm/
Dgup.c78 mask |= _PAGE_RW; in gup_pte_range()
118 mask |= _PAGE_RW; in gup_huge_pmd()
175 mask |= _PAGE_RW; in gup_huge_pud()
Dpageattr.c271 pgprot_val(forbidden) |= _PAGE_RW; in static_protections()
1021 return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_RW), 0); in set_memory_ro()
1027 return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_RW), 0); in set_memory_rw()
1095 .mask_set = __pgprot(_PAGE_PRESENT | _PAGE_RW), in __set_pages_p()
1114 .mask_clr = __pgprot(_PAGE_PRESENT | _PAGE_RW), in __set_pages_np()
Ddump_pagetables.c86 if (pr & _PAGE_RW) in printk_prot()
/arch/avr32/mm/
Dioremap.c55 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.c146 access |= (dsisr & MFC_DSISR_ACCESS_PUT) ? _PAGE_RW : 0UL; in spufs_handle_class1()
/arch/x86/mach-voyager/
Dvoyager_basic.c141 pg0[0] = ((map_addr & PAGE_MASK) | _PAGE_RW | _PAGE_PRESENT); in voyager_memory_detect()
/arch/x86/kernel/
Drelocate_kernel_64.S20 #define PAGE_ATTR (_PAGE_PRESENT | _PAGE_RW | _PAGE_ACCESSED | _PAGE_DIRTY)
/arch/x86/xen/
Denlighten.c980 (unsigned long)pgprot_val(prot) & _PAGE_RW ? "WRITE" : "READ"); in xen_kmap_atomic_pte()
991 pte = __pte_ma(((pte_val_ma(*ptep) & _PAGE_RW) | ~_PAGE_RW) & in mask_rw_pte()
/arch/parisc/include/asm/
Dpgtable.h160 #define _PAGE_RW (_PAGE_READ | _PAGE_WRITE) macro
/arch/powerpc/kernel/
Dhead_8xx.S524 andi. r11, r10, _PAGE_RW /* Is it writeable? */
Dhead_40x.S322 andi. r9, r11, _PAGE_RW /* Is it writeable? */

12