Home
last modified time | relevance | path

Searched refs:_PAGE_USER (Results 1 – 25 of 43) sorted by relevance

12

/arch/powerpc/include/asm/
Dpte-common.h98 _PAGE_USER | _PAGE_ACCESSED | \
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)
127 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
128 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
129 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
130 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
179 #define pte_user(val) ((val & _PAGE_USER) == _PAGE_USER)
Dpte-fsl-booke.h22 #define _PAGE_USER 0x00002 /* S: User page (maps to UR) */ macro
Dpte-44x.h85 #define _PAGE_USER 0x00000040 /* S: User page */ macro
Dpte-40x.h45 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro
Dpte-hash32.h22 #define _PAGE_USER 0x004 /* usermode access allowed */ macro
Dpte-8xx.h50 #define _PAGE_USER 0x0800 /* msb PP bits */ macro
Dpte-hash64.h18 #define _PAGE_USER 0x0002 /* matches one of the PP bits */ macro
Dpte-book3e.h56 #define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */ macro
Dpgtable-ppc32.h191 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update()
222 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update()
/arch/hexagon/include/asm/
Dpgtable.h51 #define _PAGE_USER __HVM_PTE_U macro
128 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \
130 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
133 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
136 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
152 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF)
153 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF)
156 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
158 #define __P101 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_EXECUTE | \
166 #define __S010 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
[all …]
/arch/x86/include/asm/
Dpgtable_types.h36 #define _PAGE_USER (_AT(pteval_t, 1) << _PAGE_BIT_USER) macro
87 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
104 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
108 _PAGE_USER | _PAGE_ACCESSED)
109 #define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
111 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
114 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
116 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
129 #define __PAGE_KERNEL_VSYSCALL (__PAGE_KERNEL_RX | _PAGE_USER)
130 #define __PAGE_KERNEL_VVAR (__PAGE_KERNEL_RO | _PAGE_USER)
/arch/um/include/asm/
Dpgtable.h17 #define _PAGE_USER 0x040 macro
60 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
66 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
67 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
68 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
107 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
141 return((pte_get_bits(pte, _PAGE_USER)) && in pte_read()
146 return((pte_get_bits(pte, _PAGE_USER)) && in pte_exec()
221 pte_set_bits(pte, _PAGE_USER); in pte_mkread()
Dpgtable-3level.h57 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
/arch/microblaze/include/asm/
Dpgtable.h217 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro
258 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
259 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
260 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
262 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
263 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
264 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
338 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read()
349 { pte_val(pte) &= ~_PAGE_USER; return pte; } in pte_rdprotect()
360 { pte_val(pte) |= _PAGE_USER; return pte; } in pte_mkread()
[all …]
/arch/xtensa/include/asm/
Dpgtable.h103 #define _PAGE_USER (1<<4) /* user access (ring=1) */ macro
123 #define PAGE_NONE __pgprot(_PAGE_INVALID | _PAGE_USER | _PAGE_PROTNONE)
124 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
125 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
126 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
127 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
128 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
130 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
/arch/blackfin/include/asm/
Dpgtable.h61 #define _PAGE_USER (CPLB_USER_RD | CPLB_USER_WR) macro
72 PTE_BIT_FUNC(exprotect, &= ~_PAGE_USER);
73 PTE_BIT_FUNC(mkexec, |= _PAGE_USER);
/arch/tile/include/asm/
Dpgtable.h81 #define _PAGE_USER HV_PTE_USER macro
98 _PAGE_USER \
105 _PAGE_USER | _PAGE_ACCESSED)
109 _PAGE_EXECUTABLE | _PAGE_USER | _PAGE_ACCESSED)
111 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_READABLE)
113 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | \
118 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_READABLE)
120 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | \
/arch/parisc/include/asm/
Dpgtable.h188 #define _PAGE_USER (1 << xlate_pabit(_PAGE_USER_BIT)) macro
216 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
217 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED)
221 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED)
222 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED)
223 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESS…
225 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC…
231 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_GATEWAY| _PAGE…
/arch/avr32/include/asm/
Dpgtable.h96 #define _PAGE_USER (1 << _PAGE_BIT_USER) macro
143 #define PAGE_READ (_PAGE_FLAGS_READ | _PAGE_USER)
144 #define PAGE_EXEC (_PAGE_FLAGS_READ | _PAGE_EXECUTE | _PAGE_USER)
145 #define PAGE_WRITE (_PAGE_FLAGS_WRITE | _PAGE_USER)
/arch/sh/include/asm/
Dpgtable_64.h69 #define pmd_bad(pmd_entry) ((pmd_val(pmd_entry) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
117 #define _PAGE_USER 0x200 /* PR3-bit : user space access allowed */ macro
172 #define _PAGE_TABLE (_KERNPG_TABLE | _PAGE_USER)
180 #define _PAGE_COMMON (_PAGE_PRESENT | _PAGE_USER | \
Dpgtable_32.h49 #define _PAGE_USER 0x040 /* PR1-bit : user space access allowed*/ macro
58 #define _PAGE_PR_MASK (_PAGE_RW | _PAGE_USER)
245 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
249 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
252 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
/arch/powerpc/mm/
Dpgtable.c50 (_PAGE_PRESENT | _PAGE_SPECIAL | _PAGE_NO_CACHE | _PAGE_USER)) == in pte_looks_normal()
51 (_PAGE_PRESENT | _PAGE_USER); in pte_looks_normal()
Dppc_mmu_32.c135 if (flags & _PAGE_USER) in setbat()
151 ((flags & _PAGE_USER)? PP_RWRW: PP_RWXX): PP_RXRX; in setbat()
/arch/x86/mm/
Dgup.c77 mask = _PAGE_PRESENT|_PAGE_USER; in gup_pte_range()
119 mask = _PAGE_PRESENT|_PAGE_USER; in gup_huge_pmd()
189 mask = _PAGE_PRESENT|_PAGE_USER; in gup_huge_pud()
/arch/sh/mm/
Dgup.c85 result = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in gup_pte_range()
89 result = _PAGE_PRESENT | _PAGE_USER; in gup_pte_range()

12