Home
last modified time | relevance | path

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

123456

/linux/arch/sh/include/asm/
A Dpgtable_32.h236 __pgprot(0)
275 #define PAGE_NONE __pgprot(0)
276 #define PAGE_SHARED __pgprot(0)
277 #define PAGE_COPY __pgprot(0)
278 #define PAGE_EXECREAD __pgprot(0)
279 #define PAGE_RWX __pgprot(0)
280 #define PAGE_READONLY __pgprot(0)
281 #define PAGE_WRITEONLY __pgprot(0)
282 #define PAGE_KERNEL __pgprot(0)
284 #define PAGE_KERNEL_RO __pgprot(0)
[all …]
/linux/arch/arm64/mm/
A Dpageattr.c119 __pgprot(PTE_RDONLY), in set_memory_ro()
120 __pgprot(PTE_WRITE)); in set_memory_ro()
126 __pgprot(PTE_WRITE), in set_memory_rw()
127 __pgprot(PTE_RDONLY)); in set_memory_rw()
133 __pgprot(PTE_PXN), in set_memory_nx()
141 __pgprot(PTE_PXN)); in set_memory_x()
148 __pgprot(PTE_VALID), in set_memory_valid()
149 __pgprot(0)); in set_memory_valid()
152 __pgprot(0), in set_memory_valid()
153 __pgprot(PTE_VALID)); in set_memory_valid()
[all …]
/linux/arch/riscv/mm/
A Dpageattr.c134 __pgprot(_PAGE_EXEC)); in set_memory_rw_nx()
139 return __set_memory(addr, numpages, __pgprot(_PAGE_READ), in set_memory_ro()
140 __pgprot(_PAGE_WRITE)); in set_memory_ro()
146 __pgprot(0)); in set_memory_rw()
151 return __set_memory(addr, numpages, __pgprot(_PAGE_EXEC), __pgprot(0)); in set_memory_x()
156 return __set_memory(addr, numpages, __pgprot(0), __pgprot(_PAGE_EXEC)); in set_memory_nx()
165 .set_mask = __pgprot(0), in set_direct_map_invalid_noflush()
166 .clear_mask = __pgprot(_PAGE_PRESENT) in set_direct_map_invalid_noflush()
183 .clear_mask = __pgprot(0) in set_direct_map_default_noflush()
201 __pgprot(_PAGE_PRESENT), __pgprot(0)); in __kernel_map_pages()
[all …]
/linux/arch/m68k/include/asm/
A Dmcf_pgtable.h95 #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 \
112 #define __P110 __pgprot(CF_PAGE_VALID \
116 #define __P111 __pgprot(CF_PAGE_VALID \
123 #define __S001 __pgprot(CF_PAGE_VALID \
127 #define __S011 __pgprot(CF_PAGE_VALID \
131 #define __S100 __pgprot(CF_PAGE_VALID \
[all …]
A Dpgtable_no.h26 #define PAGE_NONE __pgprot(0)
27 #define PAGE_SHARED __pgprot(0)
28 #define PAGE_COPY __pgprot(0)
29 #define PAGE_READONLY __pgprot(0)
30 #define PAGE_KERNEL __pgprot(0)
A Dmotorola_pgtable.h73 #define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits)
74 #define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits)
75 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
76 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
77 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits)
81 #define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
82 #define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
83 #define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
84 #define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
/linux/arch/arm64/include/asm/
A Dpgtable-prot.h67 #define PAGE_KERNEL __pgprot(PROT_NORMAL)
68 #define PAGE_KERNEL_RO __pgprot((PROT_NORMAL & ~PTE_WRITE) | PTE_RDONLY)
69 #define PAGE_KERNEL_ROX __pgprot((PROT_NORMAL & ~(PTE_WRITE | PTE_PXN)) | PTE_RDONLY)
70 #define PAGE_KERNEL_EXEC __pgprot(PROT_NORMAL & ~PTE_PXN)
71 #define PAGE_KERNEL_EXEC_CONT __pgprot((PROT_NORMAL & ~PTE_PXN) | PTE_CONT)
83 #define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PROT_NONE | PTE_RDONLY | PTE_NG | …
85 #define PAGE_SHARED __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN | …
86 #define PAGE_SHARED_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_WR…
87 #define PAGE_READONLY __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN)
88 #define PAGE_READONLY_EXEC __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_RDONLY | PTE_NG | PTE_PXN)
[all …]
/linux/arch/arm/include/asm/
A Dpgtable.h83 #define _MOD_PROT(p, b) __pgprot(pgprot_val(p) | (b))
97 #define __PAGE_SHARED_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER)
104 __pgprot((pgprot_val(prot) & ~(mask)) | (bits))
242 return set_pte_bit(pte, __pgprot(L_PTE_RDONLY)); in pte_wrprotect()
247 return clear_pte_bit(pte, __pgprot(L_PTE_RDONLY)); in pte_mkwrite()
252 return clear_pte_bit(pte, __pgprot(L_PTE_DIRTY)); in pte_mkclean()
257 return set_pte_bit(pte, __pgprot(L_PTE_DIRTY)); in pte_mkdirty()
262 return clear_pte_bit(pte, __pgprot(L_PTE_YOUNG)); in pte_mkold()
267 return set_pte_bit(pte, __pgprot(L_PTE_YOUNG)); in pte_mkyoung()
272 return clear_pte_bit(pte, __pgprot(L_PTE_XN)); in pte_mkexec()
[all …]
A Dpgtable-nommu.h36 #define PAGE_NONE __pgprot(0)
37 #define PAGE_SHARED __pgprot(0)
38 #define PAGE_COPY __pgprot(0)
39 #define PAGE_READONLY __pgprot(0)
40 #define PAGE_KERNEL __pgprot(0)
/linux/arch/hexagon/include/asm/
A Dpgtable.h106 #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 | \
116 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
130 #define __P000 __pgprot(_PAGE_PRESENT | _PAGE_USER | CACHEDEF)
134 #define __P100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
144 #define __S010 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
146 #define __S011 __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
148 #define __S100 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
151 #define __S110 __pgprot(_PAGE_PRESENT | _PAGE_USER | \
[all …]
/linux/arch/powerpc/include/asm/nohash/32/
A Dpte-40x.h79 #define PAGE_NONE __pgprot(_PAGE_BASE)
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)
A Dpte-44x.h119 #define PAGE_NONE __pgprot(_PAGE_BASE)
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)
A Dpte-fsl-booke.h65 #define PAGE_NONE __pgprot(_PAGE_BASE)
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)
A Dpte-8xx.h81 #define PAGE_NONE __pgprot(_PAGE_BASE | _PAGE_NA)
82 #define PAGE_SHARED __pgprot(_PAGE_BASE)
83 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_EXEC)
84 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_RO)
85 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_RO | _PAGE_EXEC)
86 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_RO)
87 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_RO | _PAGE_EXEC)
/linux/arch/xtensa/include/asm/
A Dpgtable.h167 #define PAGE_NONE __pgprot(_PAGE_NONE | _PAGE_USER)
168 #define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
170 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
175 #define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
176 #define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT)
188 # define PAGE_NONE __pgprot(0)
189 # define PAGE_SHARED __pgprot(0)
190 # define PAGE_COPY __pgprot(0)
191 # define PAGE_READONLY __pgprot(0)
192 # define PAGE_KERNEL __pgprot(0)
[all …]
/linux/arch/arm/mm/
A Dpageattr.c66 __pgprot(L_PTE_RDONLY), in set_memory_ro()
67 __pgprot(0)); in set_memory_ro()
73 __pgprot(0), in set_memory_rw()
74 __pgprot(L_PTE_RDONLY)); in set_memory_rw()
80 __pgprot(L_PTE_XN), in set_memory_nx()
81 __pgprot(0)); in set_memory_nx()
87 __pgprot(0), in set_memory_x()
88 __pgprot(L_PTE_XN)); in set_memory_x()
/linux/arch/nds32/include/asm/
A Dpgtable.h138 #define PAGE_EXEC __pgprot(_PAGE_V | _PAGE_M_XKRW | _PAGE_E)
139 #define PAGE_NONE __pgprot(_PAGE_V | _PAGE_M_KRW | _PAGE_A)
140 #define PAGE_READ __pgprot(_PAGE_V | _PAGE_M_UR_KR)
141 #define PAGE_RDWR __pgprot(_PAGE_V | _PAGE_M_URW_KRW | _PAGE_D)
142 #define PAGE_COPY __pgprot(_PAGE_V | _PAGE_M_UR_KR)
149 #define PAGE_KERNEL __pgprot(_PAGE_V | _PAGE_M_KRW | _PAGE_D | _PAGE_E | _PAGE_G | _PAGE_CACHE_SHRD)
150 #define PAGE_SHARED __pgprot(_PAGE_V | _PAGE_M_URW_KRW | _PAGE_D | _PAGE_CACHE_SHRD)
151 #define PAGE_DEVICE __pgprot(_PAGE_V | _PAGE_M_KRW | _PAGE_D | _PAGE_G | _PAGE_C_DEV)
287 #define pgprot_noncached(prot) __pgprot((pgprot_val(prot)&~_PAGE_C_MASK) | _PAGE_C_DEV)
288 #define pgprot_writecombine(prot) __pgprot((pgprot_val(prot)&~_PAGE_C_MASK) | _PAGE_C_DEV_WB)
[all …]
/linux/arch/powerpc/include/asm/book3s/32/
A Dpgtable.h104 #define PAGE_NONE __pgprot(_PAGE_BASE)
107 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
109 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
113 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW)
117 #define PAGE_KERNEL_X __pgprot(_PAGE_BASE | _PAGE_KERNEL_RWX)
118 #define PAGE_KERNEL_RO __pgprot(_PAGE_BASE | _PAGE_KERNEL_RO)
593 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | in pgprot_noncached()
600 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | in pgprot_noncached_wc()
607 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | in pgprot_cached()
614 return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | in pgprot_cached_wthru()
[all …]
/linux/arch/ia64/include/asm/
A Dpgtable.h137 #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)
142 #define PAGE_GATE __pgprot(__ACCESS_BITS | _PAGE_PL_0 | _PAGE_AR_X_RX)
168 #define __P100 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_X_RX)
169 #define __P101 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX)
177 #define __S100 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_X_RX)
178 #define __S101 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RX)
179 #define __S110 __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_RWX)
[all …]
/linux/arch/powerpc/include/asm/nohash/
A Dpgtable.h12 #define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW)
13 #define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE)
14 #define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | \
16 #define PAGE_KERNEL_X __pgprot(_PAGE_BASE | _PAGE_KERNEL_RWX)
17 #define PAGE_KERNEL_RO __pgprot(_PAGE_BASE | _PAGE_KERNEL_RO)
18 #define PAGE_KERNEL_ROX __pgprot(_PAGE_BASE | _PAGE_KERNEL_ROX)
233 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
236 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
239 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
243 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
[all …]
A Dpte-book3e.h94 #define PAGE_NONE __pgprot(_PAGE_BASE)
95 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
96 #define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_BAP_UX)
97 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
98 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_BAP_UX)
99 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
100 #define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_BAP_UX)
/linux/arch/mips/include/asm/
A Dpgtable.h48 #define __P000 __pgprot(0)
49 #define __P001 __pgprot(0)
50 #define __P010 __pgprot(0)
51 #define __P011 __pgprot(0)
52 #define __P100 __pgprot(0)
53 #define __P101 __pgprot(0)
54 #define __P110 __pgprot(0)
55 #define __P111 __pgprot(0)
57 #define __S000 __pgprot(0)
58 #define __S001 __pgprot(0)
[all …]
/linux/arch/microblaze/include/asm/
A Dpgtable.h52 (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
56 (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
190 #define PAGE_NONE __pgprot(_PAGE_BASE)
191 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
193 #define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
195 __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
196 #define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
197 #define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
199 #define PAGE_KERNEL __pgprot(_PAGE_KERNEL)
200 #define PAGE_KERNEL_RO __pgprot(_PAGE_BASE | _PAGE_SHARED)
[all …]
/linux/arch/h8300/include/asm/
A Dpgtable.h6 #define PAGE_NONE __pgprot(0) /* these mean nothing to NO_MM */
7 #define PAGE_SHARED __pgprot(0) /* these mean nothing to NO_MM */
8 #define PAGE_COPY __pgprot(0) /* these mean nothing to NO_MM */
9 #define PAGE_READONLY __pgprot(0) /* these mean nothing to NO_MM */
10 #define PAGE_KERNEL __pgprot(0) /* these mean nothing to NO_MM */
/linux/arch/arc/include/asm/
A Dpgtable-bits-arcv2.h43 #define PAGE_U_NONE __pgprot(___DEF)
44 #define PAGE_U_R __pgprot(___DEF | _PAGE_READ)
45 #define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE)
46 #define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE)
47 #define PAGE_U_X_W_R __pgprot(___DEF \
49 #define PAGE_KERNEL __pgprot(___DEF | _PAGE_GLOBAL \
54 #define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CACHEABLE))

Completed in 33 milliseconds

123456