Home
last modified time | relevance | path

Searched refs:__pgprot (Results 1 – 25 of 132) sorted by relevance

123456

/arch/powerpc/include/asm/
Dpte-common.h129 #define PAGE_NONE __pgprot(_PAGE_BASE)
130 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
131 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
132 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
133 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
134 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
135 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
156 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW)
157 #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \
159 #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \
[all …]
/arch/cris/include/arch-v32/arch/
Dmmu.h69 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
70 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
72 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
75 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE)
76 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE | _PAGE_ACCESSED)
78 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE)
79 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_EXECUTE)
80 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \
82 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | _PAGE_EXECUTE | \
84 #define PAGE_SIGNAL_TRAMPOLINE __pgprot(_PAGE_GLOBAL | _PAGE_EXECUTE | \
/arch/arm/include/asm/
Dpgtable-nommu.h40 #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)
68 #define pgprot_noncached(prot) __pgprot(0)
69 #define pgprot_writecombine(prot) __pgprot(0)
70 #define pgprot_dmacoherent(prot) __pgprot(0)
/arch/x86/include/asm/
Dpgtable_types.h137 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
138 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
141 #define PAGE_SHARED_EXEC __pgprot(_PAGE_PRESENT | _PAGE_RW | \
143 #define PAGE_COPY_NOEXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
145 #define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
148 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
150 #define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
175 #define PAGE_KERNEL __pgprot(__PAGE_KERNEL)
176 #define PAGE_KERNEL_RO __pgprot(__PAGE_KERNEL_RO)
177 #define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL_EXEC)
[all …]
/arch/mips/mm/
Dcache.c159 …protection_map[0] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
160 protection_map[1] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
161 …protection_map[2] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
162 protection_map[3] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
163 protection_map[4] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
164 protection_map[5] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
165 protection_map[6] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
166 protection_map[7] = __pgprot(_page_cachable_default | _PAGE_PRESENT); in setup_protection_map()
168 …protection_map[8] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC | _PAGE_NO_RE… in setup_protection_map()
169 protection_map[9] = __pgprot(_page_cachable_default | _PAGE_PRESENT | _PAGE_NO_EXEC); in setup_protection_map()
[all …]
/arch/sh/include/asm/
Dpgtable_32.h179 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \
182 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
189 #define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
198 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
203 #define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
208 #define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
217 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
225 __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
232 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
239 __pgprot(0)
[all …]
Dpgtable_64.h183 #define PAGE_NONE __pgprot(_PAGE_CACHABLE | _PAGE_ACCESSED)
184 #define PAGE_SHARED __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_WRITE | \
186 #define PAGE_EXECREAD __pgprot(_PAGE_COMMON | _PAGE_READ | _PAGE_EXECUTE)
194 #define PAGE_READONLY __pgprot(_PAGE_COMMON | _PAGE_READ)
195 #define PAGE_WRITEONLY __pgprot(_PAGE_COMMON | _PAGE_WRITE)
196 #define PAGE_RWX __pgprot(_PAGE_COMMON | _PAGE_READ | \
198 #define PAGE_KERNEL __pgprot(_KERNPG_TABLE)
201 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_WRITE | \
207 #define pgprot_noncached(x) __pgprot(((x).pgprot & ~(_PAGE_CACHABLE)) | _PAGE_DEVICE)
208 #define pgprot_writecombine(prot) __pgprot(pgprot_val(prot) & ~_PAGE_CACHABLE)
/arch/arm64/mm/
Dpageattr.c73 __pgprot(PTE_RDONLY), in set_memory_ro()
74 __pgprot(PTE_WRITE)); in set_memory_ro()
81 __pgprot(PTE_WRITE), in set_memory_rw()
82 __pgprot(PTE_RDONLY)); in set_memory_rw()
89 __pgprot(PTE_PXN), in set_memory_nx()
90 __pgprot(0)); in set_memory_nx()
97 __pgprot(0), in set_memory_x()
98 __pgprot(PTE_PXN)); in set_memory_x()
/arch/m32r/include/asm/
Dpgtable.h118 __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
120 __pgprot(_PAGE_PRESENT | _PAGE_WRITE | _PAGE_READ | _PAGE_ACCESSED)
122 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_WRITE | _PAGE_READ \
125 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
127 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
129 __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_ACCESSED)
131 __pgprot(_PAGE_PRESENT | _PAGE_EXEC | _PAGE_READ | _PAGE_ACCESSED)
139 #define MAKE_GLOBAL(x) __pgprot((x) | _PAGE_GLOBAL)
146 #define PAGE_NONE __pgprot(0)
147 #define PAGE_SHARED __pgprot(0)
[all …]
/arch/unicore32/include/asm/
Dpgtable.h89 #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 …]
/arch/m68k/include/asm/
Dpgtable_no.h25 #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)
Dmcf_pgtable.h63 #define PAGE_NONE __pgprot(CF_PAGE_VALID \
66 #define PAGE_SHARED __pgprot(CF_PAGE_VALID \
70 #define PAGE_INIT __pgprot(CF_PAGE_VALID \
76 #define PAGE_KERNEL __pgprot(CF_PAGE_VALID \
84 #define PAGE_COPY __pgprot(CF_PAGE_VALID \
95 #define __P001 __pgprot(CF_PAGE_VALID \
98 #define __P010 __pgprot(CF_PAGE_VALID \
101 #define __P011 __pgprot(CF_PAGE_VALID \
105 #define __P100 __pgprot(CF_PAGE_VALID \
108 #define __P101 __pgprot(CF_PAGE_VALID \
[all …]
Dpgtable_mm.h153 # define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | CF_PAGE_NOCACHE))
162 ? (__pgprot(pgprot_val(prot) | __SUN3_PAGE_NOCACHE)) \
164 ? (__pgprot(pgprot_val(prot) | _PAGE_NOCACHE030)) \
166 ? (__pgprot((pgprot_val(prot) & _CACHEMASK040) | _PAGE_NOCACHE_S)) \
/arch/c6x/include/asm/
Dpgtable.h38 #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 */
/arch/mips/include/asm/
Dpgtable.h26 #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 …]
/arch/hexagon/include/asm/
Dpgtable.h128 #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 | \
138 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _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/cris/include/arch-v10/arch/
Dmmu.h75 #define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
76 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | __READABLE | _PAGE_WRITE | \
78 #define PAGE_COPY __pgprot(_PAGE_PRESENT | __READABLE) // | _PAGE_COW
79 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE)
80 #define PAGE_KERNEL __pgprot(_PAGE_GLOBAL | _PAGE_KERNEL | \
/arch/xtensa/include/asm/
Dpgtable.h162 #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)
170 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
171 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
181 # define PAGE_NONE __pgprot(0)
[all …]
/arch/microblaze/include/asm/
Dpgtable.h29 #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 */
107 (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
111 (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
254 #define PAGE_NONE __pgprot(_PAGE_BASE)
255 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
256 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
[all …]
/arch/mn10300/include/asm/
Dpgtable.h158 #define PAGE_NONE __pgprot(__PAGE_NONE | _PAGE_NX)
159 #define PAGE_SHARED_NOEXEC __pgprot(__PAGE_SHARED | _PAGE_NX)
160 #define PAGE_COPY_NOEXEC __pgprot(__PAGE_COPY | _PAGE_NX)
161 #define PAGE_READONLY_NOEXEC __pgprot(__PAGE_READONLY | _PAGE_NX)
162 #define PAGE_SHARED_EXEC __pgprot(__PAGE_SHARED)
163 #define PAGE_COPY_EXEC __pgprot(__PAGE_COPY)
164 #define PAGE_READONLY_EXEC __pgprot(__PAGE_READONLY)
178 #define PAGE_KERNEL __pgprot(__PAGE_KERNEL)
179 #define PAGE_KERNEL_RO __pgprot(__PAGE_KERNEL_RO)
180 #define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL_EXEC)
[all …]
/arch/arm64/include/asm/
Dpgtable.h81 #define PAGE_KERNEL __pgprot(_PAGE_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_WRITE)
82 #define PAGE_KERNEL_RO __pgprot(_PAGE_DEFAULT | PTE_PXN | PTE_UXN | PTE_DIRTY | PTE_RDONLY)
83 #define PAGE_KERNEL_EXEC __pgprot(_PAGE_DEFAULT | PTE_UXN | PTE_DIRTY | PTE_WRITE)
85 #define PAGE_HYP __pgprot(_HYP_PAGE_DEFAULT | PTE_HYP)
86 #define PAGE_HYP_DEVICE __pgprot(PROT_DEVICE_nGnRE | PTE_HYP)
88 #define PAGE_S2 __pgprot(PROT_DEFAULT | PTE_S2_MEMATTR(MT_S2_NORMAL) | PTE_S2_RDONLY)
89 #define PAGE_S2_DEVICE __pgprot(PROT_DEFAULT | PTE_S2_MEMATTR(MT_S2_DEVICE_nGnRE) | PTE_S2_RDONLY …
91 #define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_TYPE_MASK) | PTE_PROT_NONE | PTE_NG | PTE_PXN |…
92 #define PAGE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_NG | PTE_PXN | PTE_UXN | PTE_WRITE)
93 #define PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_NG | PTE_PXN | PTE_WRITE)
[all …]
/arch/blackfin/include/asm/
Dpgtable.h33 #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 */
/arch/ia64/include/asm/
Dpgtable.h140 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_A)
141 #define PAGE_SHARED __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RW)
142 #define PAGE_READONLY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R)
143 #define PAGE_COPY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R)
144 #define PAGE_COPY_EXEC __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX)
145 #define PAGE_GATE __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_X_RX)
146 #define PAGE_KERNEL __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX)
147 #define PAGE_KERNELRX __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_RX)
148 #define PAGE_KERNEL_UC __pgprot(__DIRTY_BITS | _PAGE_PL_0 | _PAGE_AR_RWX | \
171 #define __P100 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_X_RX)
[all …]
/arch/sparc/include/asm/
Dpgtsrmmu.h110 #define SRMMU_PAGE_NONE __pgprot(SRMMU_CACHE | \
112 #define SRMMU_PAGE_SHARED __pgprot(SRMMU_VALID | SRMMU_CACHE | \
114 #define SRMMU_PAGE_COPY __pgprot(SRMMU_VALID | SRMMU_CACHE | \
116 #define SRMMU_PAGE_RDONLY __pgprot(SRMMU_VALID | SRMMU_CACHE | \
118 #define SRMMU_PAGE_KERNEL __pgprot(SRMMU_VALID | SRMMU_CACHE | SRMMU_PRIV | \
/arch/openrisc/include/asm/
Dpgtable.h163 #define PAGE_NONE __pgprot(_PAGE_ALL)
164 #define PAGE_READONLY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE)
165 #define PAGE_READONLY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC)
167 __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_UWE | _PAGE_SWE \
170 __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_UWE | _PAGE_SWE \
172 #define PAGE_COPY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE)
173 #define PAGE_COPY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC)
176 __pgprot(_PAGE_ALL | _PAGE_SRE | _PAGE_SWE \
179 __pgprot(_PAGE_ALL | _PAGE_SRE \
182 __pgprot(_PAGE_ALL | _PAGE_SRE | _PAGE_SWE \

123456