/arch/powerpc/include/asm/ |
D | pte-common.h | 98 _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)
|
D | pte-fsl-booke.h | 22 #define _PAGE_USER 0x00002 /* S: User page (maps to UR) */ macro
|
D | pte-44x.h | 85 #define _PAGE_USER 0x00000040 /* S: User page */ macro
|
D | pte-40x.h | 45 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro
|
D | pte-hash32.h | 22 #define _PAGE_USER 0x004 /* usermode access allowed */ macro
|
D | pte-8xx.h | 50 #define _PAGE_USER 0x0800 /* msb PP bits */ macro
|
D | pte-hash64.h | 18 #define _PAGE_USER 0x0002 /* matches one of the PP bits */ macro
|
D | pte-book3e.h | 56 #define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */ macro
|
D | pgtable-ppc32.h | 191 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/ |
D | pgtable.h | 51 #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/ |
D | pgtable_types.h | 36 #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/ |
D | pgtable.h | 17 #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()
|
D | pgtable-3level.h | 57 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
|
/arch/microblaze/include/asm/ |
D | pgtable.h | 217 #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/ |
D | pgtable.h | 103 #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/ |
D | pgtable.h | 61 #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/ |
D | pgtable.h | 81 #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/ |
D | pgtable.h | 188 #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/ |
D | pgtable.h | 96 #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/ |
D | pgtable_64.h | 69 #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 | \
|
D | pgtable_32.h | 49 #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/ |
D | pgtable.c | 50 (_PAGE_PRESENT | _PAGE_SPECIAL | _PAGE_NO_CACHE | _PAGE_USER)) == in pte_looks_normal() 51 (_PAGE_PRESENT | _PAGE_USER); in pte_looks_normal()
|
D | ppc_mmu_32.c | 135 if (flags & _PAGE_USER) in setbat() 151 ((flags & _PAGE_USER)? PP_RWRW: PP_RWXX): PP_RXRX; in setbat()
|
/arch/x86/mm/ |
D | gup.c | 77 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/ |
D | gup.c | 85 result = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ; in gup_pte_range() 89 result = _PAGE_PRESENT | _PAGE_USER; in gup_pte_range()
|