Home
last modified time | relevance | path

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

12

/linux/arch/hexagon/include/asm/
A Dpgtable.h36 #define _PAGE_USER __HVM_PTE_U macro
106 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \
108 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
111 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
130 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF)
134 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
144 #define __S010 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
148 #define __S100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
151 #define __S110 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
170 ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \
[all …]
/linux/arch/powerpc/include/asm/nohash/
A Dpte-book3e.h57 #define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */ macro
95 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
96 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_BAP_UX)
97 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
98 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_BAP_UX)
99 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
100 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_BAP_UX)
105 return __pte((pte_val(pte) & ~_PAGE_USER) | _PAGE_PRIVILEGED); in pte_mkprivileged()
112 return __pte((pte_val(pte) & ~_PAGE_PRIVILEGED) | _PAGE_USER); in pte_mkuser()
A Dpgtable.h91 return (pte_val(pte) & _PAGE_USER) == _PAGE_USER; in pte_user()
158 return __pte(pte_val(pte) & ~_PAGE_USER); in pte_mkprivileged()
165 return __pte(pte_val(pte) | _PAGE_USER); in pte_mkuser()
/linux/arch/powerpc/include/asm/nohash/32/
A Dpte-40x.h45 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro
80 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
81 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
82 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
83 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
84 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
85 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
A Dpte-44x.h81 #define _PAGE_USER 0x00000040 /* S: User page */ macro
120 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
121 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
122 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
123 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
124 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
125 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
A Dpte-fsl-booke.h21 #define _PAGE_USER 0x00002 /* S: User page (maps to UR) */ macro
66 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
67 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
68 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
69 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
70 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
71 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
A Dpgtable.h285 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update()
/linux/arch/xtensa/include/asm/
A Dpgtable.h154 #define _PAGE_USER (1<<4) /* user access (ring=1) */ macro
167 #define PAGE_NONE __pgprot(_PAGE_NONE | _PAGE_USER)
168 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
169 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
170 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
171 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
172 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
174 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
249 # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER))
258 do { update_pte(ptep, __pte(_PAGE_CA_INVALID | _PAGE_USER)); } while (0)
[all …]
/linux/arch/microblaze/include/asm/
A Dpgtable.h150 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro
191 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
192 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
193 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
195 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
196 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
197 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
259 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read()
269 { pte_val(pte) &= ~_PAGE_USER; return pte; } in pte_rdprotect()
280 { pte_val(pte) |= _PAGE_USER; return pte; } in pte_mkread()
[all …]
/linux/arch/um/include/asm/
A Dpgtable.h17 #define _PAGE_USER 0x040 macro
53 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY)
59 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
60 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
61 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
98 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
135 return((pte_get_bits(pte, _PAGE_USER)) && in pte_read()
140 return((pte_get_bits(pte, _PAGE_USER)) && in pte_exec()
205 if (unlikely(pte_get_bits(pte, _PAGE_USER))) in pte_mkread()
207 pte_set_bits(pte, _PAGE_USER); in pte_mkread()
A Dpgtable-3level.h56 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
/linux/arch/powerpc/include/asm/book3s/32/
A Dpgtable.h23 #define _PAGE_USER 0x004 /* usermode access allowed */ macro
58 return pte_val(pte) & _PAGE_USER; in pte_user()
105 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
106 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
107 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
108 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
109 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
110 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
513 return __pte(pte_val(pte) & ~_PAGE_USER); in pte_mkprivileged()
518 return __pte(pte_val(pte) | _PAGE_USER); in pte_mkuser()
/linux/arch/parisc/include/asm/
A Dpgtable.h221 #define _PAGE_USER (1 << xlate_pabit(_PAGE_USER_BIT)) macro
246 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER)
247 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
251 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
252 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE)
253 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
255 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
261 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
311 #define pte_user(x) (pte_val(x) & _PAGE_USER)
/linux/arch/riscv/include/asm/
A Dpgtable-bits.h21 #define _PAGE_USER (1 << 4) /* User */ macro
41 _PAGE_USER | _PAGE_GLOBAL))
/linux/arch/x86/entry/vsyscall/
A Dvsyscall_64.c366 set_pgd(pgd, __pgd(pgd_val(*pgd) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits()
369 set_p4d(p4d, __p4d(p4d_val(*p4d) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits()
372 set_pud(pud, __pud(pud_val(*pud) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits()
374 set_pmd(pmd, __pmd(pmd_val(*pmd) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits()
/linux/arch/sh/include/asm/
A Dpgtable_32.h48 #define _PAGE_USER 0x040 /* PR1-bit : user space access allowed*/ macro
56 #define _PAGE_PR_MASK (_PAGE_RW | _PAGE_USER)
242 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
246 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
249 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
A Dpgtable.h155 u64 prot = _PAGE_PRESENT | _PAGE_USER; in pte_access_permitted()
/linux/arch/powerpc/mm/ptdump/
A Dshared.c14 .mask = _PAGE_USER,
15 .val = _PAGE_USER,
/linux/arch/x86/mm/
A Dpti.c157 if ((pgd.pgd & (_PAGE_USER|_PAGE_PRESENT)) == (_PAGE_USER|_PAGE_PRESENT) && in __pti_set_user_pgtbl()
269 if (pte_flags(*pte) & _PAGE_USER) { in pti_user_pagetable_walk_pte()
A Ddump_pagetables.c188 if (pr & _PAGE_USER) in printk_prot()
260 effective = (higher_prot & prot & (_PAGE_USER | _PAGE_RW)) | in effective_prot()
/linux/arch/x86/include/asm/
A Dpgtable_types.h43 #define _PAGE_USER (_AT(pteval_t, 1) << _PAGE_BIT_USER) macro
104 #define _PAGE_SWP_UFFD_WP _PAGE_USER
163 #define _USR _PAGE_USER
A Dpgtable.h820 return (pmd_flags(pmd) & ~_PAGE_USER) != _KERNPG_TABLE; in pmd_bad()
859 return (pud_flags(pud) & ~(_KERNPG_TABLE | _PAGE_USER)) != 0; in pud_bad()
893 unsigned long ignore_flags = _KERNPG_TABLE | _PAGE_USER; in p4d_bad()
936 unsigned long ignore_flags = _PAGE_USER; in pgd_bad()
1363 unsigned long need_pte_bits = _PAGE_PRESENT|_PAGE_USER; in __pte_access_permitted()
/linux/arch/riscv/mm/
A Dptdump.c159 .mask = _PAGE_USER,
160 .val = _PAGE_USER,
/linux/arch/powerpc/mm/book3s32/
A Dmmu.c131 if (flags & _PAGE_USER) in setibat()
283 if (flags & _PAGE_USER) in setbat()
/linux/arch/microblaze/mm/
A Dpgtable.c180 f |= _PAGE_USER; in mapin_ram()

Completed in 33 milliseconds

12