/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
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-5.10/arch/powerpc/include/asm/nohash/ |
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()
|
D | pgtable.h | 91 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()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/32/ |
D | pte-40x.h | 45 #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)
|
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)
|
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-5.10/arch/xtensa/include/asm/ |
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)); } while (0) [all …]
|
/kernel/linux/linux-5.10/arch/um/include/asm/ |
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()
|
D | pgtable-3level.h | 57 #define pud_bad(x) ((pud_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE)
|
/kernel/linux/linux-5.10/arch/microblaze/include/asm/ |
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; return pte; } in pte_mkread() [all …]
|
/kernel/linux/linux-5.10/arch/parisc/include/asm/ |
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-5.10/arch/powerpc/include/asm/book3s/32/ |
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) 475 return __pte(pte_val(pte) & ~_PAGE_USER); in pte_mkprivileged() 480 return __pte(pte_val(pte) | _PAGE_USER); in pte_mkuser()
|
D | hash.h | 22 #define _PAGE_USER 0x004 /* usermode access allowed */ macro
|
/kernel/linux/linux-5.10/arch/riscv/include/asm/ |
D | pgtable-bits.h | 21 #define _PAGE_USER (1 << 4) /* User */ macro 41 _PAGE_USER | _PAGE_GLOBAL))
|
/kernel/linux/linux-5.10/arch/x86/entry/vsyscall/ |
D | vsyscall_64.c | 365 set_pgd(pgd, __pgd(pgd_val(*pgd) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits() 368 set_p4d(p4d, __p4d(p4d_val(*p4d) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits() 371 set_pud(pud, __pud(pud_val(*pud) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits() 373 set_pmd(pmd, __pmd(pmd_val(*pmd) | _PAGE_USER)); in set_vsyscall_pgtable_user_bits()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ptdump/ |
D | shared.c | 14 .mask = _PAGE_USER, 15 .val = _PAGE_USER,
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
D | pgtable_32.h | 48 #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 | \
|
D | pgtable.h | 157 u64 prot = _PAGE_PRESENT | _PAGE_USER; in pte_access_permitted()
|
/kernel/linux/linux-5.10/arch/x86/mm/ |
D | pti.c | 157 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()
|
D | dump_pagetables.c | 188 if (pr & _PAGE_USER) in printk_prot() 260 effective = (higher_prot & prot & (_PAGE_USER | _PAGE_RW)) | in effective_prot()
|
/kernel/linux/linux-5.10/arch/riscv/mm/ |
D | ptdump.c | 132 .mask = _PAGE_USER, 133 .val = _PAGE_USER,
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | pgtable_types.h | 45 #define _PAGE_USER (_AT(pteval_t, 1) << _PAGE_BIT_USER) macro 106 #define _PAGE_SWP_UFFD_WP _PAGE_USER 165 #define _USR _PAGE_USER
|
D | pgtable.h | 849 return (pmd_flags(pmd) & ~_PAGE_USER) != _KERNPG_TABLE; in pmd_bad() 888 return (pud_flags(pud) & ~(_KERNPG_TABLE | _PAGE_USER)) != 0; in pud_bad() 922 unsigned long ignore_flags = _KERNPG_TABLE | _PAGE_USER; in p4d_bad() 965 unsigned long ignore_flags = _PAGE_USER; in pgd_bad() 1418 unsigned long need_pte_bits = _PAGE_PRESENT|_PAGE_USER; in __pte_access_permitted()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s32/ |
D | mmu.c | 127 if (flags & _PAGE_USER) in setibat() 287 if (flags & _PAGE_USER) in setbat()
|
/kernel/linux/linux-5.10/arch/microblaze/mm/ |
D | pgtable.c | 178 f |= _PAGE_USER; in mapin_ram()
|