/kernel/linux/linux-5.10/arch/loongarch/include/asm/ |
H A D | pgtable-bits.h | 51 #define _PAGE_USER (PLV_USER << _PAGE_PLV_SHIFT) macro 77 _PAGE_USER | _CACHE_CC) 79 _PAGE_USER | _CACHE_CC) 80 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _CACHE_CC) 89 #define __P000 __pgprot(_CACHE_CC | _PAGE_USER | _PAGE_PROTNONE | _PAGE_NO_EXEC | _PAGE_NO_READ) 90 #define __P001 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 91 #define __P010 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 92 #define __P011 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT | _PAGE_NO_EXEC) 93 #define __P100 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESENT) 94 #define __P101 __pgprot(_CACHE_CC | _PAGE_VALID | _PAGE_USER | _PAGE_PRESEN [all...] |
/kernel/linux/linux-6.6/arch/hexagon/mm/ |
H A D | init.c | 239 [VM_NONE] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 241 [VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 243 [VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 245 [VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 247 [VM_EXEC] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 249 [VM_EXEC | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 252 [VM_EXEC | VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 254 [VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 257 [VM_SHARED] = __pgprot(_PAGE_PRESENT | _PAGE_USER | 259 [VM_SHARED | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER | [all...] |
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
H A D | pgtable.h | 36 #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 | \ 114 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 130 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF) 131 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF) 134 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 136 #define __P101 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_EXECUTE | \ 144 #define __S010 __pgprot(_PAGE_PRESENT | _PAGE_USER | \ [all...] |
/kernel/linux/linux-6.6/arch/loongarch/mm/ |
H A D | cache.c | 162 [VM_NONE] = __pgprot(_CACHE_CC | _PAGE_USER | 166 _PAGE_USER | _PAGE_PRESENT | 169 _PAGE_USER | _PAGE_PRESENT | 172 _PAGE_USER | _PAGE_PRESENT | 175 _PAGE_USER | _PAGE_PRESENT), 177 _PAGE_USER | _PAGE_PRESENT), 179 _PAGE_USER | _PAGE_PRESENT), 181 _PAGE_USER | _PAGE_PRESENT), 182 [VM_SHARED] = __pgprot(_CACHE_CC | _PAGE_USER | 186 _PAGE_USER | _PAGE_PRESEN [all...] |
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/ |
H A D | pte-40x.h | 45 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro 77 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 78 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 79 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 80 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 81 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 82 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
H A D | pte-44x.h | 81 #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)
|
H A D | pte-fsl-booke.h | 21 #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)
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/32/ |
H A D | pte-44x.h | 71 #define _PAGE_USER 0x00000040 /* S: User page */ macro 110 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 111 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 112 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 113 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 114 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 115 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
H A D | pte-40x.h | 45 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro 77 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 78 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 79 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 80 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 81 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 82 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
|
H A D | pte-85xx.h | 21 #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)
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
H A D | pte-book3e.h | 57 #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_EXEC) 97 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 98 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 99 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 100 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 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()
|
/kernel/linux/linux-6.6/arch/powerpc/include/asm/nohash/ |
H A D | pte-e500.h | 56 #define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */ macro 94 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 95 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_BAP_UX) 96 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 97 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_BAP_UX) 98 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 99 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_BAP_UX) 104 return __pte((pte_val(pte) & ~_PAGE_USER) | _PAGE_PRIVILEGED); in pte_mkprivileged() 111 return __pte((pte_val(pte) & ~_PAGE_PRIVILEGED) | _PAGE_USER); in pte_mkuser()
|
/kernel/linux/linux-5.10/arch/xtensa/include/asm/ |
H A D | pgtable.h | 155 #define _PAGE_USER (1<<4) /* user access (ring=1) */ macro 168 #define PAGE_NONE __pgprot(_PAGE_NONE | _PAGE_USER) 169 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER) 170 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 171 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER) 172 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 173 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE) 175 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC) 250 # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER)) 259 do { update_pte(ptep, __pte(_PAGE_CA_INVALID | _PAGE_USER)); } whil [all...] |
/kernel/linux/linux-6.6/arch/microblaze/include/asm/ |
H A D | pgtable.h | 150 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro 194 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 195 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 196 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 198 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 199 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 200 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 245 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read() 255 { pte_val(pte) &= ~_PAGE_USER; return pte; } in pte_rdprotect() 266 { pte_val(pte) |= _PAGE_USER; retur in pte_mkread() [all...] |
/kernel/linux/linux-6.6/arch/xtensa/include/asm/ |
H A D | pgtable.h | 154 #define _PAGE_USER (1<<4) /* user access (ring=1) */ macro 170 #define PAGE_NONE __pgprot(_PAGE_NONE | _PAGE_USER) 171 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER) 172 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 173 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER) 174 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 175 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE) 177 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC) 235 # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER)) 244 do { update_pte(ptep, __pte(_PAGE_CA_INVALID | _PAGE_USER)); } whil [all...] |
/kernel/linux/linux-5.10/arch/um/include/asm/ |
H A D | pgtable.h | 17 #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() [all...] |
/kernel/linux/linux-6.6/arch/um/include/asm/ |
H A D | pgtable.h | 17 #define _PAGE_USER 0x040 macro 56 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) 62 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) 63 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 64 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 84 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE) 122 return((pte_get_bits(pte, _PAGE_USER)) && in pte_read() 127 return((pte_get_bits(pte, _PAGE_USER)) && in pte_exec() 192 if (unlikely(pte_get_bits(pte, _PAGE_USER))) in pte_mkread() 194 pte_set_bits(pte, _PAGE_USER); in pte_mkread() [all...] |
/kernel/linux/linux-6.6/arch/hexagon/include/asm/ |
H A D | pgtable.h | 36 #define _PAGE_USER __HVM_PTE_U macro 109 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 111 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 114 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 117 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 146 ((pte_val(pte) & (_PAGE_EXECUTE | _PAGE_USER)) == \ 147 (_PAGE_EXECUTE | _PAGE_USER))
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
H A D | pgtable.h | 193 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro 234 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 235 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 236 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 238 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 239 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 240 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 302 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read() 312 { pte_val(pte) &= ~_PAGE_USER; return pte; } in pte_rdprotect() 323 { pte_val(pte) |= _PAGE_USER; retur in pte_mkread() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 23 #define _PAGE_USER 0x004 /* usermode access allowed */ macro 45 /* We borrow the _PAGE_USER bit to store the exclusive marker in swap PTEs. */ 46 #define _PAGE_SWP_EXCLUSIVE _PAGE_USER 61 return pte_val(pte) & _PAGE_USER; in pte_user() 108 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 109 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 110 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 111 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 112 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 113 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXE [all...] |
/kernel/linux/linux-6.6/arch/loongarch/include/asm/ |
H A D | pgtable-bits.h | 55 #define _PAGE_USER (PLV_USER << _PAGE_PLV_SHIFT) macro 81 _PAGE_USER | _CACHE_CC) 83 _PAGE_USER | _CACHE_CC) 84 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _CACHE_CC)
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/book3s/32/ |
H A D | pgtable.h | 22 return pte_val(pte) & _PAGE_USER; in pte_user() 69 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 70 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 71 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 72 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 73 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 74 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 388 * A read-only access is controlled by _PAGE_USER bit. in pte_access_permitted() 475 return __pte(pte_val(pte) & ~_PAGE_USER); in pte_mkprivileged() 480 return __pte(pte_val(pte) | _PAGE_USER); in pte_mkuser() [all...] |
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
H A D | pgtable.h | 223 #define _PAGE_USER (1 << xlate_pabit(_PAGE_USER_BIT)) macro 248 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER) 249 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE) 253 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ) 254 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE) 255 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) 257 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 263 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ) 313 #define pte_user(x) (pte_val(x) & _PAGE_USER)
|
/kernel/linux/linux-6.6/arch/parisc/include/asm/ |
H A D | pgtable.h | 202 #define _PAGE_USER (1 << xlate_pabit(_PAGE_USER_BIT)) macro 231 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER) 232 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE) 236 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ) 237 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE) 238 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC) 240 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC) 246 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ) 278 #define pte_user(x) (pte_val(x) & _PAGE_USER)
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
H A D | pgtable-bits.h | 21 #define _PAGE_USER (1 << 4) /* User */ macro 41 _PAGE_USER | _PAGE_GLOBAL))
|