/linux-4.1.27/arch/sh/include/asm/ |
D | pgtable_32.h | 175 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \ 178 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 185 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 194 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 199 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 204 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 213 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \ 221 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \ 228 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \ 235 __pgprot(0) [all …]
|
D | pgtable_64.h | 182 #define PAGE_NONE __pgprot(_PAGE_CACHABLE | _PAGE_ACCESSED) 183 #define PAGE_SHARED __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_WRITE | \ 185 #define PAGE_EXECREAD __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_EXECUTE) 193 #define PAGE_READONLY __pgprot(_PAGE_COMMON | _PAGE_READ) 194 #define PAGE_WRITEONLY __pgprot(_PAGE_COMMON | _PAGE_WRITE) 195 #define PAGE_RWX __pgprot(_PAGE_COMMON | _PAGE_READ | \ 197 #define PAGE_KERNEL __pgprot(_KERNPG_TABLE) 200 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 206 #define pgprot_noncached(x) __pgprot(((x).pgprot & ~(_PAGE_CACHABLE)) | _PAGE_DEVICE) 207 #define pgprot_writecombine(prot) __pgprot(pgprot_val(prot) & ~_PAGE_CACHABLE)
|
D | page.h | 101 #define __pgprot(x) ((pgprot_t) { (x) } ) macro 105 #define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK)
|
D | io.h | 350 return __ioremap_mode(offset, size, __pgprot(flags)); in ioremap_prot()
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | pte-common.h | 130 #define PAGE_NONE __pgprot(_PAGE_BASE) 131 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW) 132 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | \ 134 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO) 135 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO | \ 137 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO) 138 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO | \ 160 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW) 161 #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \ 163 #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \ [all …]
|
D | pgtable.h | 39 static inline pgprot_t pte_pgprot(pte_t pte) { return __pgprot(pte_val(pte) & PAGE_PROT_BITS); } in pte_pgprot() 187 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 190 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 193 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 196 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 200 (__pgprot(pgprot_val(prot) & ~_PAGE_CACHE_CTL))
|
D | mman.h | 29 return (vm_flags & VM_SAO) ? __pgprot(_PAGE_SAO) : __pgprot(0); in arch_vm_get_page_prot()
|
D | page.h | 322 #define __pgprot(x) ((pgprot_t) { (x) }) macro 359 #define __pgprot(x) (x) macro
|
D | pte-hash64-64k.h | 100 __pgprot(pgprot_val((prot)) | _PAGE_4K_PFN)))
|
/linux-4.1.27/arch/mips/mm/ |
D | cache.c | 160 …protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map() 161 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 162 …protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map() 163 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() 164 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); in setup_protection_map() 165 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map() 166 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_READ); in setup_protection_map() 167 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map() 169 …protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map() 170 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map() [all …]
|
D | ioremap.c | 24 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | __READABLE in remap_area_pte()
|
/linux-4.1.27/arch/cris/include/arch-v32/arch/ |
D | mmu.h | 68 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 69 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \ 71 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \ 74 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE) 75 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE | _PAGE_ACCESSED) 77 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE) 78 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE) 79 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \ 81 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | _PAGE_EXECUTE | \ 83 #define PAGE_SIGNAL_TRAMPOLINE __pgprot(_PAGE_GLOBAL | _PAGE_EXECUTE | \
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | pgtable.h | 115 __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 117 __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED) 119 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ \ 122 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED) 124 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED) 126 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED) 128 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED) 136 #define MAKE_GLOBAL(x) __pgprot((x) | _PAGE_GLOBAL) 143 #define PAGE_NONE __pgprot(0) 144 #define PAGE_SHARED __pgprot(0) [all …]
|
D | page.h | 42 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
/linux-4.1.27/arch/arm/include/asm/ |
D | pgtable-nommu.h | 40 #define PAGE_NONE __pgprot(0) 41 #define PAGE_SHARED __pgprot(0) 42 #define PAGE_COPY __pgprot(0) 43 #define PAGE_READONLY __pgprot(0) 44 #define PAGE_KERNEL __pgprot(0) 66 #define pgprot_noncached(prot) __pgprot(0) 67 #define pgprot_writecombine(prot) __pgprot(0) 68 #define pgprot_dmacoherent(prot) __pgprot(0)
|
D | pgtable.h | 89 #define _MOD_PROT(p, b) __pgprot(pgprot_val(p) | (b)) 105 #define __PAGE_NONE __pgprot(_L_PTE_DEFAULT | L_PTE_RDONLY | L_PTE_XN | L_PTE_NONE) 106 #define __PAGE_SHARED __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_XN) 107 #define __PAGE_SHARED_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER) 108 #define __PAGE_COPY __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY | L_PTE_XN) 109 #define __PAGE_COPY_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY) 110 #define __PAGE_READONLY __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY | L_PTE_XN) 111 #define __PAGE_READONLY_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY) 114 __pgprot((pgprot_val(prot) & ~(mask)) | (bits)) 269 return set_pte_bit(pte, __pgprot(L_PTE_RDONLY)); in pte_wrprotect() [all …]
|
D | pgtable-2level-types.h | 45 #define __pgprot(x) ((pgprot_t) { (x) } ) macro 63 #define __pgprot(x) (x) macro
|
D | pgtable-3level-types.h | 49 #define __pgprot(x) ((pgprot_t) { (x) } ) macro 66 #define __pgprot(x) (x) macro
|
D | page-nommu.h | 44 #define __pgprot(x) (x) macro
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | pgtable.h | 89 #define PAGE_SHARED __pgprot(pgprot_val(pgprot_user | PTE_READ \ 91 #define PAGE_SHARED_EXEC __pgprot(pgprot_val(pgprot_user | PTE_READ \ 94 #define PAGE_COPY __pgprot(pgprot_val(pgprot_user | PTE_READ) 95 #define PAGE_COPY_EXEC __pgprot(pgprot_val(pgprot_user | PTE_READ \ 97 #define PAGE_READONLY __pgprot(pgprot_val(pgprot_user | PTE_READ)) 98 #define PAGE_READONLY_EXEC __pgprot(pgprot_val(pgprot_user | PTE_READ \ 101 #define PAGE_KERNEL_EXEC __pgprot(pgprot_val(pgprot_kernel | PTE_EXEC)) 103 #define __PAGE_NONE __pgprot(_PTE_DEFAULT) 104 #define __PAGE_SHARED __pgprot(_PTE_DEFAULT | PTE_READ \ 106 #define __PAGE_SHARED_EXEC __pgprot(_PTE_DEFAULT | PTE_READ \ [all …]
|
D | page.h | 47 #define __pgprot(x) ((pgprot_t) { (x) }) macro 63 #define __pgprot(x) (x) macro
|
/linux-4.1.27/arch/arm/mm/ |
D | pageattr.c | 71 __pgprot(L_PTE_RDONLY), in set_memory_ro() 72 __pgprot(0)); in set_memory_ro() 78 __pgprot(0), in set_memory_rw() 79 __pgprot(L_PTE_RDONLY)); in set_memory_rw() 85 __pgprot(L_PTE_XN), in set_memory_nx() 86 __pgprot(0)); in set_memory_nx() 92 __pgprot(0), in set_memory_x() 93 __pgprot(L_PTE_XN)); in set_memory_x()
|
D | copypage-xscale.c | 26 #define minicache_pgprot __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | \
|
D | copypage-v4mc.c | 26 #define minicache_pgprot __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | \
|
D | ioremap.c | 110 __pgprot(mtype->prot_pte)); in ioremap_page() 323 __pgprot(type->prot_pte)); in __arm_ioremap_pfn_caller() 455 __pgprot(get_mem_type(pci_ioremap_mem_type)->prot_pte)); in pci_ioremap_io()
|
D | mmu.c | 614 protection_map[i] = __pgprot(v | user_pgprot); in build_mem_type_table() 620 pgprot_user = __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | user_pgprot); in build_mem_type_table() 621 pgprot_kernel = __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | in build_mem_type_table() 623 pgprot_s2 = __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | s2_pgprot); in build_mem_type_table() 624 pgprot_s2_device = __pgprot(s2_device_pgprot); in build_mem_type_table() 625 pgprot_hyp_device = __pgprot(hyp_device_pgprot); in build_mem_type_table() 701 set_pte_ext(pte, pfn_pte(pfn, __pgprot(type->prot_pte)), 0); in alloc_init_pte()
|
D | dma-mapping.c | 587 #define __get_dma_pgprot(attrs, prot) __pgprot(0)
|
/linux-4.1.27/arch/x86/include/asm/ |
D | pgtable_types.h | 128 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 129 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \ 132 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | \ 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 | \ 159 #define PAGE_KERNEL __pgprot(__PAGE_KERNEL) 160 #define PAGE_KERNEL_RO __pgprot(__PAGE_KERNEL_RO) 161 #define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL_EXEC) [all …]
|
D | pgtable.h | 14 ? (__pgprot(pgprot_val(prot) | \ 379 return __pgprot(preservebits | addbits); in pgprot_modify() 382 #define pte_pgprot(x) __pgprot(pte_flags(x) & PTE_FLAGS_MASK) 384 #define canon_pgprot(p) __pgprot(massage_pgprot(p))
|
D | fixmap.h | 164 #define __late_clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
|
/linux-4.1.27/arch/arm64/mm/ |
D | pageattr.c | 76 __pgprot(PTE_RDONLY), in set_memory_ro() 77 __pgprot(PTE_WRITE)); in set_memory_ro() 83 __pgprot(PTE_WRITE), in set_memory_rw() 84 __pgprot(PTE_RDONLY)); in set_memory_rw() 90 __pgprot(PTE_PXN), in set_memory_nx() 91 __pgprot(0)); in set_memory_nx() 98 __pgprot(0), in set_memory_x() 99 __pgprot(PTE_PXN)); in set_memory_x()
|
D | ioremap.c | 102 return __ioremap_caller(phys_addr, size, __pgprot(PROT_NORMAL), in ioremap_cache()
|
D | dma-mapping.c | 175 __pgprot(PROT_NORMAL_NC), false), in __dma_alloc() 358 pgprot_t prot = __pgprot(PROT_NORMAL_NC); in atomic_pool_init()
|
D | mmu.c | 115 pgprot_t prot = __pgprot(pud_val(*old_pud) ^ addr); in split_pud()
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | mcf_pgtable.h | 62 #define PAGE_NONE __pgprot(CF_PAGE_VALID \ 65 #define PAGE_SHARED __pgprot(CF_PAGE_VALID \ 69 #define PAGE_INIT __pgprot(CF_PAGE_VALID \ 75 #define PAGE_KERNEL __pgprot(CF_PAGE_VALID \ 83 #define PAGE_COPY __pgprot(CF_PAGE_VALID \ 94 #define __P001 __pgprot(CF_PAGE_VALID \ 97 #define __P010 __pgprot(CF_PAGE_VALID \ 100 #define __P011 __pgprot(CF_PAGE_VALID \ 104 #define __P100 __pgprot(CF_PAGE_VALID \ 107 #define __P101 __pgprot(CF_PAGE_VALID \ [all …]
|
D | pgtable_no.h | 25 #define PAGE_NONE __pgprot(0) 26 #define PAGE_SHARED __pgprot(0) 27 #define PAGE_COPY __pgprot(0) 28 #define PAGE_READONLY __pgprot(0) 29 #define PAGE_KERNEL __pgprot(0)
|
D | pgtable_mm.h | 155 # define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | CF_PAGE_NOCACHE)) 164 ? (__pgprot(pgprot_val(prot) | __SUN3_PAGE_NOCACHE)) \ 166 ? (__pgprot(pgprot_val(prot) | _PAGE_NOCACHE030)) \ 168 ? (__pgprot((pgprot_val(prot) & _CACHEMASK040) | _PAGE_NOCACHE_S)) \
|
D | motorola_pgtable.h | 61 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits) 62 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits) 63 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) 64 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) 65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits) 69 #define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 70 #define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 71 #define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED) 72 #define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
|
D | sun3_pgtable.h | 44 #define PAGE_NONE __pgprot(SUN3_PAGE_VALID \ 47 #define PAGE_SHARED __pgprot(SUN3_PAGE_VALID \ 51 #define PAGE_COPY __pgprot(SUN3_PAGE_VALID \ 54 #define PAGE_READONLY __pgprot(SUN3_PAGE_VALID \ 57 #define PAGE_KERNEL __pgprot(SUN3_PAGE_VALID \ 63 #define PAGE_INIT __pgprot(SUN3_PAGE_VALID \
|
D | page.h | 37 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
/linux-4.1.27/arch/mips/include/asm/ |
D | pgtable.h | 26 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _CACHE_CACHABLE_NONCOHERENT) 27 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | \ 29 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_NO_EXEC | \ 31 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 33 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 35 #define PAGE_KERNEL_NC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 37 #define PAGE_USERIO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 39 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \ 53 #define __P000 __pgprot(0) 54 #define __P001 __pgprot(0) [all …]
|
D | page.h | 151 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | pgtable.h | 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 | \ 131 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _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 …]
|
D | page.h | 92 #define __pgprot(x) ((pgprot_t) { (x) }) macro
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | pgtable.h | 158 #define PAGE_NONE __pgprot(_PAGE_NONE | _PAGE_USER) 159 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER) 160 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 161 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER) 162 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC) 163 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE) 165 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC) 166 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE) 167 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC) 178 # define PAGE_NONE __pgprot(0) [all …]
|
D | page.h | 97 #define __pgprot(x) (x) macro 116 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | pgtable.h | 76 #define PAGE_KERNEL __pgprot(_PAGE_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE) 77 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_DEFAULT | PTE_UXN | PTE_DIRTY | PTE_WRITE) 79 #define PAGE_HYP __pgprot(_PAGE_DEFAULT | PTE_HYP) 80 #define PAGE_HYP_DEVICE __pgprot(PROT_DEVICE_nGnRE | PTE_HYP) 82 #define PAGE_S2 __pgprot(PROT_DEFAULT | PTE_S2_MEMATTR(MT_S2_NORMAL) | PTE_S2_RDONLY) 83 #define PAGE_S2_DEVICE __pgprot(PROT_DEFAULT | PTE_S2_MEMATTR(MT_S2_DEVICE_nGnRE) | PTE_S2_RDONLY … 85 #define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PROT_NONE | PTE_PXN | PTE_UXN) 86 #define PAGE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRITE) 87 #define PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_NG | PTE_PXN | PTE_WRITE) 88 #define PAGE_COPY __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_NG | PTE_PXN | PTE_UXN) [all …]
|
D | pgtable-types.h | 59 #define __pgprot(x) ((pgprot_t) { (x) } ) macro 85 #define __pgprot(x) (x) macro
|
D | io.h | 170 #define ioremap(addr, size) __ioremap((addr), (size), __pgprot(PROT_DEVICE_nGnRE)) 171 #define ioremap_nocache(addr, size) __ioremap((addr), (size), __pgprot(PROT_DEVICE_nGnRE)) 172 #define ioremap_wc(addr, size) __ioremap((addr), (size), __pgprot(PROT_NORMAL_NC))
|
D | fixmap.h | 59 #define FIXMAP_PAGE_IO __pgprot(PROT_DEVICE_nGnRE)
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | pgtable.h | 29 #define PAGE_NONE __pgprot(0) /* these mean nothing to non MMU */ 30 #define PAGE_SHARED __pgprot(0) /* these mean nothing to non MMU */ 31 #define PAGE_COPY __pgprot(0) /* these mean nothing to non MMU */ 32 #define PAGE_READONLY __pgprot(0) /* these mean nothing to non MMU */ 33 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to non MMU */ 105 (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 109 (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ 251 #define PAGE_NONE __pgprot(_PAGE_BASE) 252 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) 253 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC) [all …]
|
D | page.h | 116 # define __pgprot(x) ((pgprot_t) { (x) }) macro
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | pgtable.h | 159 #define PAGE_NONE __pgprot(__PAGE_NONE | _PAGE_NX) 160 #define PAGE_SHARED_NOEXEC __pgprot(__PAGE_SHARED | _PAGE_NX) 161 #define PAGE_COPY_NOEXEC __pgprot(__PAGE_COPY | _PAGE_NX) 162 #define PAGE_READONLY_NOEXEC __pgprot(__PAGE_READONLY | _PAGE_NX) 163 #define PAGE_SHARED_EXEC __pgprot(__PAGE_SHARED) 164 #define PAGE_COPY_EXEC __pgprot(__PAGE_COPY) 165 #define PAGE_READONLY_EXEC __pgprot(__PAGE_READONLY) 179 #define PAGE_KERNEL __pgprot(__PAGE_KERNEL) 180 #define PAGE_KERNEL_RO __pgprot(__PAGE_KERNEL_RO) 181 #define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL_EXEC) [all …]
|
D | page.h | 58 #define __pgprot(x) ((pgprot_t) { (x) }) macro
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | pgtable.h | 38 #define PAGE_NONE __pgprot(0) /* these mean nothing to NO_MM */ 39 #define PAGE_SHARED __pgprot(0) /* these mean nothing to NO_MM */ 40 #define PAGE_COPY __pgprot(0) /* these mean nothing to NO_MM */ 41 #define PAGE_READONLY __pgprot(0) /* these mean nothing to NO_MM */ 42 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | pgtable.h | 137 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_A) 138 #define PAGE_SHARED __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RW) 139 #define PAGE_READONLY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R) 140 #define PAGE_COPY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R) 141 #define PAGE_COPY_EXEC __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX) 142 #define PAGE_GATE __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_X_RX) 143 #define PAGE_KERNEL __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX) 144 #define PAGE_KERNELRX __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_RX) 145 #define PAGE_KERNEL_UC __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX | \ 168 #define __P100 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_X_RX) [all …]
|
D | page.h | 193 # define __pgprot(x) ((pgprot_t) { (x) } ) macro 214 # define __pgprot(x) (x) macro
|
/linux-4.1.27/arch/cris/include/arch-v10/arch/ |
D | mmu.h | 74 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 75 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \ 77 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE) // | _PAGE_COW 78 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE) 79 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | pgtable.h | 33 #define PAGE_NONE __pgprot(0) /* these mean nothing to NO_MM */ 34 #define PAGE_SHARED __pgprot(0) /* these mean nothing to NO_MM */ 35 #define PAGE_COPY __pgprot(0) /* these mean nothing to NO_MM */ 36 #define PAGE_READONLY __pgprot(0) /* these mean nothing to NO_MM */ 37 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */
|
/linux-4.1.27/arch/sparc/include/asm/ |
D | pgtsrmmu.h | 106 #define SRMMU_PAGE_NONE __pgprot(SRMMU_CACHE | \ 108 #define SRMMU_PAGE_SHARED __pgprot(SRMMU_VALID | SRMMU_CACHE | \ 110 #define SRMMU_PAGE_COPY __pgprot(SRMMU_VALID | SRMMU_CACHE | \ 112 #define SRMMU_PAGE_RDONLY __pgprot(SRMMU_VALID | SRMMU_CACHE | \ 114 #define SRMMU_PAGE_KERNEL __pgprot(SRMMU_VALID | SRMMU_CACHE | SRMMU_PRIV | \
|
D | pgtable_64.h | 192 #define __P000 __pgprot(0) 193 #define __P001 __pgprot(0) 194 #define __P010 __pgprot(0) 195 #define __P011 __pgprot(0) 196 #define __P100 __pgprot(0) 197 #define __P101 __pgprot(0) 198 #define __P110 __pgprot(0) 199 #define __P111 __pgprot(0) 201 #define __S000 __pgprot(0) 202 #define __S001 __pgprot(0) [all …]
|
D | page_32.h | 75 #define __pgprot(x) ((pgprot_t) { (x) } ) macro 103 #define __pgprot(x) (x) macro 114 #define __pgprot(x) (x) macro
|
D | page_64.h | 76 #define __pgprot(x) ((pgprot_t) { (x) } ) macro 99 #define __pgprot(x) (x) macro
|
D | pgtable_32.h | 301 prot &= ~__pgprot(SRMMU_CACHE); in pgprot_noncached()
|
/linux-4.1.27/arch/openrisc/include/asm/ |
D | pgtable.h | 162 #define PAGE_NONE __pgprot(_PAGE_ALL) 163 #define PAGE_READONLY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE) 164 #define PAGE_READONLY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) 166 __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_UWE | _PAGE_SWE \ 169 __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_UWE | _PAGE_SWE \ 171 #define PAGE_COPY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE) 172 #define PAGE_COPY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC) 175 __pgprot(_PAGE_ALL | _PAGE_SRE | _PAGE_SWE \ 178 __pgprot(_PAGE_ALL | _PAGE_SRE \ 181 __pgprot(_PAGE_ALL | _PAGE_SRE | _PAGE_SWE \
|
D | io.h | 48 __pgprot(pgprot_val(PAGE_KERNEL) | _PAGE_CI)); in ioremap_nocache()
|
D | page.h | 72 #define __pgprot(x) ((pgprot_t) { (x) }) macro
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | pgtable.h | 224 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) 225 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_ACCESSED) 229 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED) 230 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE | _PAGE_ACCESSED) 231 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC |_PAGE_ACCESS… 233 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC… 234 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) 235 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL_EXEC) 236 #define PAGE_KERNEL_RWX __pgprot(_PAGE_KERNEL_RWX) 237 #define PAGE_KERNEL_RO __pgprot(_PAGE_KERNEL_RO) [all …]
|
D | page.h | 57 #define __pgprot(x) ((pgprot_t) { (x) } ) macro 79 #define __pgprot(x) (x) macro
|
/linux-4.1.27/arch/arc/include/asm/ |
D | pgtable.h | 102 #define PAGE_U_NONE __pgprot(___DEF) 103 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ) 104 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE) 105 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE) 106 #define PAGE_U_X_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE | \ 115 #define PAGE_KERNEL __pgprot(_K_PAGE_PERMS | _PAGE_DEF_CACHEABLE) 118 #define PAGE_KERNEL_NO_CACHE __pgprot(_K_PAGE_PERMS) 312 #define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CACHEABLE))
|
D | page.h | 54 #define __pgprot(x) ((pgprot_t) { (x) }) macro 56 #define pte_pgprot(x) __pgprot(pte_val(x)) 69 #define __pgprot(x) (x) macro
|
/linux-4.1.27/arch/frv/include/asm/ |
D | pgtable.h | 53 #define PAGE_NONE __pgprot(0) /* these mean nothing to NO_MM */ 54 #define PAGE_SHARED __pgprot(0) /* these mean nothing to NO_MM */ 55 #define PAGE_COPY __pgprot(0) /* these mean nothing to NO_MM */ 56 #define PAGE_READONLY __pgprot(0) /* these mean nothing to NO_MM */ 57 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */ 306 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 307 #define PAGE_SHARED __pgprot(__PGPROT_BASE) 308 #define PAGE_COPY __pgprot(__PGPROT_BASE | _PAGE_WP) 309 #define PAGE_READONLY __pgprot(__PGPROT_BASE | _PAGE_WP) 315 #define MAKE_GLOBAL(x) __pgprot((x) & ~_PAGE_NOTGLOBAL) [all …]
|
D | page.h | 40 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
/linux-4.1.27/arch/tile/include/asm/ |
D | pgtable.h | 102 __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED) 104 __pgprot(_PAGE_PRESENT | _PAGE_READABLE | _PAGE_WRITABLE | \ 108 __pgprot(_PAGE_PRESENT | _PAGE_READABLE | _PAGE_WRITABLE | \ 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 | \ 129 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL) 130 #define PAGE_KERNEL_RO __pgprot(_PAGE_KERNEL_RO) 131 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL_EXEC)
|
D | pgalloc.h | 54 __pgprot(_PAGE_PRESENT))); in pmd_populate_kernel() 61 __pgprot(_PAGE_PRESENT))); in pmd_populate()
|
D | page.h | 96 #define __pgprot(val) hv_pte(val) macro
|
/linux-4.1.27/arch/x86/mm/ |
D | pageattr.c | 255 pgprot_t forbidden = __pgprot(0); in static_protections() 319 prot = __pgprot(pgprot_val(prot) & ~pgprot_val(forbidden)); in static_protections() 664 __set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE))); in __split_large_page() 1058 pgprot_t pgprot = __pgprot(_KERNPG_TABLE); in populate_pgd() 1442 return change_page_attr_set_clr(addr, numpages, mask, __pgprot(0), 0, in change_page_attr_set() 1449 return change_page_attr_set_clr(addr, numpages, __pgprot(0), mask, 0, in change_page_attr_clear() 1456 return change_page_attr_set_clr(NULL, numpages, mask, __pgprot(0), 0, in cpa_set_pages_array() 1463 return change_page_attr_set_clr(NULL, numpages, __pgprot(0), mask, 0, in cpa_clear_pages_array() 1526 __pgprot(_PAGE_CACHE_MASK), in _set_memory_array() 1564 __pgprot(_PAGE_CACHE_MASK), in _set_memory_wc() [all …]
|
D | dump_pagetables.c | 298 note_page(m, st, __pgprot(prot), 3); in walk_pmd_level() 303 note_page(m, st, __pgprot(0), 3); in walk_pmd_level() 330 note_page(m, st, __pgprot(prot), 2); in walk_pud_level() 335 note_page(m, st, __pgprot(0), 2); in walk_pud_level() 368 note_page(m, &st, __pgprot(prot), 1); in ptdump_walk_pgd_level() 373 note_page(m, &st, __pgprot(0), 1); in ptdump_walk_pgd_level() 380 note_page(m, &st, __pgprot(0), 0); in ptdump_walk_pgd_level()
|
D | iomap_32.c | 46 *prot = __pgprot(__PAGE_KERNEL | cachemode2protval(pcm)); in iomap_create_wc() 87 prot = __pgprot(__PAGE_KERNEL | in iomap_atomic_prot_pfn()
|
D | ioremap.c | 164 prot = __pgprot(pgprot_val(prot) | in __ioremap_caller() 168 prot = __pgprot(pgprot_val(prot) | in __ioremap_caller() 172 prot = __pgprot(pgprot_val(prot) | in __ioremap_caller() 280 pgprot2cachemode(__pgprot(prot_val)), in ioremap_prot()
|
D | pat.c | 672 *vma_prot = __pgprot((pgprot_val(*vma_prot) & ~_PAGE_CACHE_MASK) | in phys_mem_access_prot_allowed() 743 *vma_prot = __pgprot((pgprot_val(*vma_prot) & in reserve_pfn_range() 771 *vma_prot = __pgprot((pgprot_val(*vma_prot) & in reserve_pfn_range() 819 pgprot = __pgprot(prot); in track_pfn_copy() 864 *prot = __pgprot((pgprot_val(vma->vm_page_prot) & (~_PAGE_CACHE_MASK)) | in track_pfn_remap() 880 *prot = __pgprot((pgprot_val(vma->vm_page_prot) & (~_PAGE_CACHE_MASK)) | in track_pfn_insert() 917 return __pgprot(pgprot_val(prot) | in pgprot_writecombine()
|
D | pageattr-test.c | 34 #define PAGE_CPA_TEST __pgprot(_PAGE_CPA_TEST) 144 pte0 = pfn_pte(0, __pgprot(0)); /* shut gcc up */ in pageattr_test()
|
D | pgtable.c | 582 __pgprot(pgprot_val(prot) | _PAGE_PSE))); in pud_set_huge() 603 __pgprot(pgprot_val(prot) | _PAGE_PSE))); in pmd_set_huge()
|
D | init_32.c | 322 __pgprot(PTE_IDENT_ATTR | in kernel_physical_mapping_init() 353 pgprot_t init_prot = __pgprot(PTE_IDENT_ATTR); in kernel_physical_mapping_init()
|
D | init_64.c | 504 __pgprot(pgprot_val(prot) | _PAGE_PSE))); in phys_pmd_init()
|
/linux-4.1.27/arch/metag/include/asm/ |
D | pgtable.h | 53 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 56 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \ 59 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 63 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ 65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \ 143 __pgprot(pgprot_val(prot) & ~(_PAGE_CACHE_CTRL1 | _PAGE_CACHE_CTRL0)) 146 __pgprot(pgprot_val(prot) & ~_PAGE_CACHEABLE)
|
D | page.h | 85 #define __pgprot(x) ((pgprot_t) { (x) }) macro
|
/linux-4.1.27/arch/score/include/asm/ |
D | pgtable.h | 123 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_CACHE) 124 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 126 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE) 127 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE) 128 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \ 130 #define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \ 159 return __pgprot(prot); in pgprot_noncached()
|
D | page.h | 55 #define __pgprot(x) ((pgprot_t) { (x) }) macro
|
/linux-4.1.27/arch/um/include/asm/ |
D | pgtable.h | 60 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED) 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) 64 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED) 65 #define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL_EXEC) 97 #define pte_clear(mm,addr,xp) pte_set_val(*(xp), (phys_t) 0, __pgprot(_PAGE_NEWPAGE))
|
D | page.h | 93 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | pgtable.h | 135 #define _PAGE_NORMAL(x) __pgprot((x) | _PAGE_PRESENT | _PAGE_TYPE_SMALL \ 162 #define __P000 __pgprot(PAGE_NONE) 171 #define __S000 __pgprot(PAGE_NONE) 266 __pgprot(pgprot_val(prot) & ~(_PAGE_BUFFER | _PAGE_CACHABLE)) 272 __pgprot((pgprot_val(prot) & ~_PAGE_CACHABLE) | _PAGE_BUFFER) 289 #define page_pte(page) page_pte_prot(page, __pgprot(0))
|
D | fb.h | 11 vma->vm_page_prot = __pgprot((pgprot_val(vma->vm_page_prot) in fb_pgprotect()
|
D | page.h | 43 #define __pgprot(x) ((pgprot_t) { (x) }) macro
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | pgtable.h | 100 #define PAGE_NONE __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE) 101 #define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS) 102 #define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 103 #define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) 104 #define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE) 106 #define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x))
|
D | page.h | 43 #define __pgprot(x) ((pgprot_t) { (x) } ) macro 61 #define __pgprot(x) (x) macro
|
/linux-4.1.27/arch/nios2/include/asm/ |
D | pgtable.h | 35 #define MKP(x, w, r) __pgprot(_PAGE_PRESENT | _PAGE_CACHED | \ 65 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ 68 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \ 125 return __pgprot(prot); in pgprot_noncached()
|
D | processor.h | 60 { &init_mm, (0), (0), __pgprot(0x0), VM_READ | VM_WRITE | VM_EXEC }
|
D | page.h | 71 #define __pgprot(x) ((pgprot_t) { (x) }) macro
|
/linux-4.1.27/arch/sparc/mm/ |
D | init_64.c | 1631 (enable ? PAGE_KERNEL : __pgprot(0)), false); in __kernel_map_pages() 2404 PAGE_COPY = __pgprot(page_copy); in prot_init_common() 2405 PAGE_SHARED = __pgprot(page_shared); in prot_init_common() 2407 protection_map[0x0] = __pgprot(page_none); in prot_init_common() 2408 protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit); in prot_init_common() 2409 protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common() 2410 protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit); in prot_init_common() 2411 protection_map[0x4] = __pgprot(page_readonly); in prot_init_common() 2412 protection_map[0x5] = __pgprot(page_readonly); in prot_init_common() 2413 protection_map[0x6] = __pgprot(page_copy); in prot_init_common() [all …]
|
D | highmem.c | 48 kmap_prot = __pgprot(SRMMU_ET_PTE | SRMMU_PRIV | SRMMU_CACHE); in kmap_init()
|
D | iommu.c | 445 dvma_prot = __pgprot(SRMMU_CACHE | SRMMU_ET_PTE | SRMMU_PRIV); in ld_mmu_iommu() 448 dvma_prot = __pgprot(SRMMU_ET_PTE | SRMMU_PRIV); in ld_mmu_iommu()
|
D | io-unit.c | 212 dvma_prot = __pgprot(SRMMU_CACHE | SRMMU_ET_PTE | SRMMU_PRIV); in iounit_map_dma_area()
|
/linux-4.1.27/arch/unicore32/mm/ |
D | ioremap.c | 52 __pgprot(mtype->prot_pte)); in ioremap_page() 173 __pgprot(type->prot_pte)); in __uc32_ioremap_pfn_caller()
|
D | mmu.c | 137 pgprot_user = __pgprot(PTE_PRESENT | PTE_YOUNG | PTE_CACHEABLE); in build_mem_type_table() 138 pgprot_kernel = __pgprot(PTE_PRESENT | PTE_YOUNG | in build_mem_type_table() 169 set_pte(pte, pfn_pte(pfn, __pgprot(type->prot_pte))); in alloc_init_pte()
|
/linux-4.1.27/arch/hexagon/mm/ |
D | ioremap.c | 31 pgprot_t prot = __pgprot(_PAGE_PRESENT|_PAGE_READ|_PAGE_WRITE in ioremap_nocache()
|
/linux-4.1.27/arch/s390/include/asm/ |
D | pgtable.h | 339 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_INVALID) 340 #define PAGE_READ __pgprot(_PAGE_PRESENT | _PAGE_READ | \ 342 #define PAGE_WRITE __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 345 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 347 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \ 349 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_YOUNG | \ 379 #define SEGMENT_NONE __pgprot(_SEGMENT_ENTRY_INVALID | \ 381 #define SEGMENT_READ __pgprot(_SEGMENT_ENTRY_PROTECT | \ 383 #define SEGMENT_WRITE __pgprot(_SEGMENT_ENTRY_READ | \
|
D | page.h | 90 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
/linux-4.1.27/arch/x86/kernel/ |
D | crash_dump_32.c | 27 return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn; in is_crashed_pfn_valid()
|
/linux-4.1.27/arch/cris/mm/ |
D | ioremap.c | 66 __pgprot(_PAGE_PRESENT | __READABLE | in __ioremap()
|
/linux-4.1.27/include/linux/ |
D | mman.h | 42 #define arch_vm_get_page_prot(vm_flags) __pgprot(0)
|
D | mm.h | 2019 return __pgprot(0); in vm_get_page_prot()
|
/linux-4.1.27/arch/metag/mm/ |
D | ioremap.c | 52 prot = __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_DIRTY | in __ioremap()
|
/linux-4.1.27/arch/arc/mm/ |
D | ioremap.c | 47 pgprot_t prot = __pgprot(flags); in ioremap_prot()
|
/linux-4.1.27/arch/avr32/mm/ |
D | ioremap.c | 56 prot = __pgprot(_PAGE_PRESENT | _PAGE_GLOBAL | _PAGE_RW | _PAGE_DIRTY in __ioremap()
|
/linux-4.1.27/include/asm-generic/ |
D | fixmap.h | 56 #define FIXMAP_PAGE_CLEAR __pgprot(0)
|
D | page.h | 61 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
/linux-4.1.27/arch/parisc/mm/ |
D | ioremap.c | 66 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | in __ioremap()
|
/linux-4.1.27/arch/m32r/mm/ |
D | ioremap.c | 77 pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in __ioremap()
|
/linux-4.1.27/arch/cris/include/asm/ |
D | page.h | 38 #define __pgprot(x) ((pgprot_t) { (x) } ) macro
|
D | pgtable.h | 199 #define pgprot_noncached(prot) __pgprot((pgprot_val(prot) | _PAGE_NO_CACHE))
|
/linux-4.1.27/arch/sh/mm/ |
D | ioremap_fixed.c | 125 __clear_fixmap(idx, __pgprot(_PAGE_WIRED)); in iounmap_fixed()
|
D | init.c | 98 set_pte(pte, pfn_pte(0, __pgprot(0))); in clear_pte_phys()
|
/linux-4.1.27/arch/cris/arch-v32/drivers/pci/ |
D | bios.c | 26 vma->vm_page_prot = __pgprot(prot); in pci_mmap_page_range()
|
/linux-4.1.27/arch/powerpc/mm/ |
D | pgtable_32.c | 306 __pgprot(flags))); in map_page() 444 change_page_attr(page, numpages, enable ? PAGE_KERNEL : __pgprot(0)); in __kernel_map_pages()
|
D | pgtable_64.c | 110 __pgprot(flags))); in map_kernel_page() 135 __pgprot(flags))); in map_kernel_page()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_memory.c | 47 # define PAGE_AGP __pgprot(_PAGE_KERNEL | _PAGE_NO_CACHE)
|
D | drm_vm.c | 504 __pgprot(pte_val in drm_mmap_dma() 588 __pgprot(pte_val in drm_mmap_locked()
|
/linux-4.1.27/arch/mips/loongson/common/ |
D | mem.c | 122 return __pgprot((pgprot_val(vma_prot) & in phys_mem_access_prot()
|
/linux-4.1.27/arch/nios2/mm/ |
D | ioremap.c | 28 pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ in remap_area_pte()
|
/linux-4.1.27/arch/um/kernel/skas/ |
D | mmu.c | 38 *pte = mk_pte(virt_to_page(kernel), __pgprot(_PAGE_PRESENT)); in init_stub_pte()
|
/linux-4.1.27/arch/mn10300/unit-asb2305/ |
D | pci-asb2305.c | 228 vma->vm_page_prot = __pgprot(prot); in pci_mmap_page_range()
|
/linux-4.1.27/drivers/lguest/ |
D | page_tables.c | 238 return pfn_pte(pfn, __pgprot(flags)); in gpte_to_spte() 1211 set_pte(pte, mk_pte(regs_page, __pgprot(__PAGE_KERNEL & ~_PAGE_GLOBAL))); in map_switcher_in_guest() 1223 __pgprot(__PAGE_KERNEL_RO & ~_PAGE_GLOBAL))); in map_switcher_in_guest()
|
/linux-4.1.27/arch/alpha/kernel/ |
D | proto.h | 197 prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE in __alpha_remap_area_pages()
|
/linux-4.1.27/arch/m68k/kernel/ |
D | dma.c | 53 pgprot = __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | _PAGE_DIRTY); in dma_alloc_coherent()
|
/linux-4.1.27/arch/tile/kernel/ |
D | module.c | 40 pgprot_t prot_rwx = __pgprot(_PAGE_KERNEL | _PAGE_KERNEL_EXEC); in module_alloc()
|
/linux-4.1.27/arch/microblaze/mm/ |
D | pgtable.c | 152 __pgprot(flags))); in map_page()
|
/linux-4.1.27/arch/parisc/kernel/ |
D | pci.c | 244 vma->vm_page_prot = __pgprot(prot); in pci_mmap_page_range()
|
/linux-4.1.27/arch/arm/lib/ |
D | uaccess_with_memcpy.c | 231 user_ptr = vmap(&dst_page, 1, VM_IOREMAP, __pgprot(__P010));
|
/linux-4.1.27/arch/arm64/kernel/ |
D | efi.c | 259 prot = __pgprot(PROT_DEVICE_nGnRE); in efi_virtmap_init()
|
/linux-4.1.27/arch/mips/pci/ |
D | pci.c | 343 vma->vm_page_prot = __pgprot(prot); in pci_mmap_page_range()
|
/linux-4.1.27/arch/xtensa/kernel/ |
D | pci.c | 352 vma->vm_page_prot = __pgprot(prot); in __pci_mmap_set_pgprot()
|
/linux-4.1.27/arch/x86/pci/ |
D | i386.c | 445 vma->vm_page_prot = __pgprot(prot); in pci_mmap_page_range()
|
/linux-4.1.27/arch/ia64/mm/ |
D | init.c | 140 vma->vm_page_prot = __pgprot(pgprot_val(PAGE_READONLY) | _PAGE_MA_NAT); in ia64_init_addr_space()
|
/linux-4.1.27/arch/tile/mm/ |
D | init.c | 122 pte_t pteval = hv_pte_set_ptfn(__pgprot(_PAGE_TABLE), l2_ptfn); in assign_pte()
|
/linux-4.1.27/arch/x86/xen/ |
D | mmu.c | 2168 #define VOID_PTE (mfn_pte(0, __pgprot(0)))
|
/linux-4.1.27/mm/ |
D | mmap.c | 86 return __pgprot(pgprot_val(protection_map[vm_flags & in vm_get_page_prot()
|