/linux-4.4.14/arch/hexagon/include/asm/ |
D | pgtable.h | 51 #define _PAGE_USER __HVM_PTE_U macro 121 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 123 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 126 #define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 129 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \ 145 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF) 146 #define __P001 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | CACHEDEF) 149 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 151 #define __P101 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_EXECUTE | \ 159 #define __S010 __pgprot(_PAGE_PRESENT | _PAGE_USER | \ [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | pte-common.h | 102 _PAGE_USER | _PAGE_ACCESSED | _PAGE_RO | \ 130 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 131 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | \ 133 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO) 134 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO | \ 136 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO) 137 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO | \ 187 #define pte_user(val) ((val & _PAGE_USER) == _PAGE_USER)
|
D | pte-44x.h | 80 #define _PAGE_USER 0x00000040 /* S: User page */ macro
|
D | pte-fsl-booke.h | 20 #define _PAGE_USER 0x00002 /* S: User page (maps to UR) */ macro
|
D | pte-40x.h | 44 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro
|
D | pte-hash32.h | 21 #define _PAGE_USER 0x004 /* usermode access allowed */ macro
|
D | pte-hash64.h | 18 #define _PAGE_USER 0x0002 /* matches one of the PP bits */ macro
|
D | pte-8xx.h | 41 #define _PAGE_USER 0x0020 /* Copied to L1 APG lsb */ macro
|
D | pte-book3e.h | 56 #define _PAGE_USER (_PAGE_BAP_UR | _PAGE_BAP_SR) /* Can be read */ macro
|
D | pgtable-ppc32.h | 189 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update() 220 if ((old & _PAGE_USER) && (old & _PAGE_EXEC)) in pte_update()
|
D | pgtable.h | 50 (_PAGE_PRESENT | _PAGE_USER)) == _PAGE_PRESENT; in pte_protnone()
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | pgtable.h | 149 #define _PAGE_USER (1<<4) /* user access (ring=1) */ macro 162 #define PAGE_NONE __pgprot(_PAGE_NONE | _PAGE_USER) 163 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER) 164 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 165 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER) 166 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 167 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE) 169 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC) 244 # define pte_none(pte) (pte_val(pte) == (_PAGE_CA_INVALID | _PAGE_USER)) 253 do { update_pte(ptep, __pte(_PAGE_CA_INVALID | _PAGE_USER)); } while (0) [all …]
|
/linux-4.4.14/arch/um/include/asm/ |
D | pgtable.h | 17 #define _PAGE_USER 0x040 macro 55 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED | _PAGE_DIRTY) 61 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED) 62 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 63 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 100 #define pmd_bad(x) ((pmd_val(x) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE) 134 return((pte_get_bits(pte, _PAGE_USER)) && in pte_read() 139 return((pte_get_bits(pte, _PAGE_USER)) && in pte_exec() 206 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)
|
/linux-4.4.14/arch/x86/include/asm/ |
D | pgtable_types.h | 36 #define _PAGE_USER (_AT(pteval_t, 1) << _PAGE_BIT_USER) macro 94 #define _PAGE_TABLE (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \ 129 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \ 133 _PAGE_USER | _PAGE_ACCESSED) 134 #define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 136 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 139 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 141 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \ 151 #define __PAGE_KERNEL_VSYSCALL (__PAGE_KERNEL_RX | _PAGE_USER) 152 #define __PAGE_KERNEL_VVAR (__PAGE_KERNEL_RO | _PAGE_USER)
|
D | pgtable.h | 572 return (pmd_flags(pmd) & ~_PAGE_USER) != _KERNPG_TABLE; in pmd_bad() 617 return (pud_flags(pud) & ~(_KERNPG_TABLE | _PAGE_USER)) != 0; in pud_bad() 656 return (pgd_flags(pgd) & ~_PAGE_USER) != _KERNPG_TABLE; in pgd_bad()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | pgtable.h | 211 #define _PAGE_USER 0x010 /* matches one of the zone permission bits */ macro 252 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 253 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 254 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 256 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC) 257 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER) 258 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) 332 static inline int pte_read(pte_t pte) { return pte_val(pte) & _PAGE_USER; } in pte_read() 342 { pte_val(pte) &= ~_PAGE_USER; return pte; } in pte_rdprotect() 353 { pte_val(pte) |= _PAGE_USER; return pte; } in pte_mkread() [all …]
|
/linux-4.4.14/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 | \
|
/linux-4.4.14/arch/powerpc/mm/ |
D | pgtable.c | 47 (_PAGE_PRESENT | _PAGE_SPECIAL | _PAGE_NO_CACHE | _PAGE_USER)) == in pte_looks_normal() 48 (_PAGE_PRESENT | _PAGE_USER); in pte_looks_normal() 180 VM_WARN_ON((pte_val(*ptep) & (_PAGE_PRESENT | _PAGE_USER)) == in set_pte_at() 181 (_PAGE_PRESENT | _PAGE_USER)); in set_pte_at()
|
D | hugepage-hash64.c | 61 rflags = new_pmd & _PAGE_USER; in __hash_page_thp() 62 if ((new_pmd & _PAGE_USER) && !((new_pmd & _PAGE_RW) && in __hash_page_thp()
|
D | ppc_mmu_32.c | 136 if (flags & _PAGE_USER) in setbat() 152 ((flags & _PAGE_USER)? PP_RWRW: PP_RWXX): PP_RXRX; in setbat()
|
D | pgtable_64.c | 284 flags &= ~(_PAGE_USER | _PAGE_EXEC); in ioremap_prot() 706 WARN_ON((pmd_val(*pmdp) & (_PAGE_PRESENT | _PAGE_USER)) == in set_pmd_at() 707 (_PAGE_PRESENT | _PAGE_USER)); in set_pmd_at()
|
D | pgtable_32.c | 161 flags &= ~(_PAGE_USER | _PAGE_EXEC); in ioremap_prot()
|
D | hash_utils_64.c | 173 if ((pteflags & _PAGE_USER) && !((pteflags & _PAGE_RW) && in htab_convert_pte_flags() 948 spp = ((spp & 2) ? _PAGE_USER : 0) | ((spp & 1) ? _PAGE_RW : 0); in subpage_protection()
|
D | hash_low_32.S | 72 ori r3,r3,_PAGE_USER|_PAGE_PRESENT /* test low addresses as user */
|
D | hugetlbpage.c | 1083 mask = _PAGE_PRESENT | _PAGE_USER; in gup_hugepte()
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | pgtable.h | 56 #define _PAGE_USER (CPLB_USER_RD | CPLB_USER_WR) macro 67 PTE_BIT_FUNC(exprotect, &= ~_PAGE_USER); 68 PTE_BIT_FUNC(mkexec, |= _PAGE_USER);
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | pgtable.h | 202 #define _PAGE_USER (1 << xlate_pabit(_PAGE_USER_BIT)) macro 229 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 230 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED) 234 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED) 235 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED) 236 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESS… 238 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC… 244 #define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED | _PAGE_GATEWAY| _PAGE…
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | pgtable.h | 93 #define _PAGE_USER (1 << _PAGE_BIT_USER) macro 139 #define PAGE_READ (_PAGE_FLAGS_READ | _PAGE_USER) 140 #define PAGE_EXEC (_PAGE_FLAGS_READ | _PAGE_EXECUTE | _PAGE_USER) 141 #define PAGE_WRITE (_PAGE_FLAGS_WRITE | _PAGE_USER)
|
/linux-4.4.14/arch/sh/include/asm/ |
D | pgtable_64.h | 69 #define pmd_bad(pmd_entry) ((pmd_val(pmd_entry) & (~PAGE_MASK & ~_PAGE_USER)) != _KERNPG_TABLE) 116 #define _PAGE_USER 0x200 /* PR3-bit : user space access allowed */ macro 171 #define _PAGE_TABLE (_KERNPG_TABLE | _PAGE_USER) 179 #define _PAGE_COMMON (_PAGE_PRESENT | _PAGE_USER | \
|
D | pgtable_32.h | 47 #define _PAGE_USER 0x040 /* PR1-bit : user space access allowed*/ macro 55 #define _PAGE_PR_MASK (_PAGE_RW | _PAGE_USER) 241 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \ 245 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \ 248 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
|
/linux-4.4.14/arch/x86/mm/ |
D | gup.c | 77 mask = _PAGE_PRESENT|_PAGE_USER; in gup_pte_range() 124 mask = _PAGE_PRESENT|_PAGE_USER; in gup_huge_pmd() 200 mask = _PAGE_PRESENT|_PAGE_USER; in gup_huge_pud()
|
D | dump_pagetables.c | 136 if (pr & _PAGE_USER) in printk_prot()
|
D | init_64.c | 341 _PAGE_USER)); in __init_extra_mapping() 347 _PAGE_USER)); in __init_extra_mapping()
|
D | fault.c | 613 (pgd_flags(*pgd) & _PAGE_USER) && in show_fault_oops()
|
/linux-4.4.14/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()
|
D | pmb.c | 209 return (pgprot_val(prot) & _PAGE_USER) == 0; in pmb_prot_valid()
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | fault.c | 144 access = (_PAGE_PRESENT | _PAGE_USER); in spufs_handle_class1()
|
/linux-4.4.14/arch/microblaze/mm/ |
D | pgtable.c | 176 f |= _PAGE_USER; in mapin_ram()
|
/linux-4.4.14/drivers/misc/cxl/ |
D | fault.c | 156 access |= _PAGE_USER; in cxl_handle_page_fault()
|
/linux-4.4.14/arch/openrisc/include/asm/ |
D | pgtable.h | 148 #define _PAGE_USER _PAGE_URE macro
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | head_32.S | 501 li r1,_PAGE_USER|_PAGE_PRESENT /* low addresses tested as user */ 575 li r1,_PAGE_USER|_PAGE_PRESENT /* low addresses tested as user */ 659 li r1,_PAGE_RW|_PAGE_USER|_PAGE_PRESENT /* access flags */
|
D | head_44x.S | 536 andi. r10,r12,_PAGE_USER /* User page ? */ 747 andi. r10,r12,_PAGE_USER /* User page ? */
|
D | head_fsl_booke.S | 775 andi. r10, r11, _PAGE_USER /* Test for _PAGE_USER */
|
/linux-4.4.14/arch/powerpc/perf/ |
D | callchain.c | 140 if (!pte_present(pte) || !(pte_val(pte) & _PAGE_USER)) in read_user_stack_slow()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_vm.c | 722 pgprot & _PAGE_USER ? 'u' : 's', in drm_vma_info()
|
/linux-4.4.14/drivers/lguest/ |
D | page_tables.c | 477 if ((errcode & 4) && !(pte_flags(gpte) & _PAGE_USER)) in demand_page()
|
/linux-4.4.14/arch/x86/kvm/ |
D | vmx.c | 4241 tmp = (i << 22) + (_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | in init_rmode_identity_map()
|