Searched refs:PAGE_READONLY (Results 1 - 39 of 39) sorted by relevance

/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dmmu.h78 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE) macro
90 #define __P001 PAGE_READONLY
93 #define __P100 PAGE_READONLY
94 #define __P101 PAGE_READONLY
99 #define __S001 PAGE_READONLY
102 #define __S100 PAGE_READONLY
103 #define __S101 PAGE_READONLY
/linux-4.1.27/arch/mips/mm/
H A Dcache.c180 protection_map[1] = PAGE_READONLY; setup_protection_map()
183 protection_map[4] = PAGE_READONLY; setup_protection_map()
184 protection_map[5] = PAGE_READONLY; setup_protection_map()
188 protection_map[9] = PAGE_READONLY; setup_protection_map()
191 protection_map[12] = PAGE_READONLY; setup_protection_map()
192 protection_map[13] = PAGE_READONLY; setup_protection_map()
/linux-4.1.27/arch/score/include/asm/
H A Dpgtable.h127 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | _PAGE_CACHE) macro
134 #define __P001 PAGE_READONLY
137 #define __P100 PAGE_READONLY
138 #define __P101 PAGE_READONLY
143 #define __S001 PAGE_READONLY
146 #define __S100 PAGE_READONLY
147 #define __S101 PAGE_READONLY
/linux-4.1.27/arch/m68k/include/asm/
H A Dsun3_pgtable.h54 #define PAGE_READONLY __pgprot(SUN3_PAGE_VALID \ macro
74 #define __P001 PAGE_READONLY
77 #define __P100 PAGE_READONLY
78 #define __P101 PAGE_READONLY
83 #define __S001 PAGE_READONLY
86 #define __S100 PAGE_READONLY
87 #define __S101 PAGE_READONLY
H A Dpgtable_no.h28 #define PAGE_READONLY __pgprot(0) macro
H A Dmotorola_pgtable.h64 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits) macro
/linux-4.1.27/arch/metag/include/asm/
H A Dpgtable.h63 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ macro
70 #define __P001 PAGE_READONLY
73 #define __P100 PAGE_READONLY
74 #define __P101 PAGE_READONLY
79 #define __S001 PAGE_READONLY
82 #define __S100 PAGE_READONLY
83 #define __S101 PAGE_READONLY
/linux-4.1.27/arch/cris/include/arch-v32/arch/
H A Dmmu.h74 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | __READABLE) macro
93 #define __P001 PAGE_READONLY
102 #define __S001 PAGE_READONLY
/linux-4.1.27/arch/score/mm/
H A Dcache.c100 protection_map[1] = PAGE_READONLY; setup_protection_map()
103 protection_map[4] = PAGE_READONLY; setup_protection_map()
104 protection_map[5] = PAGE_READONLY; setup_protection_map()
108 protection_map[9] = PAGE_READONLY; setup_protection_map()
111 protection_map[12] = PAGE_READONLY; setup_protection_map()
112 protection_map[13] = PAGE_READONLY; setup_protection_map()
/linux-4.1.27/arch/sparc/include/asm/
H A Dpgtable_32.h53 #define PAGE_READONLY SRMMU_PAGE_RDONLY macro
66 #define __P001 PAGE_READONLY
69 #define __P100 PAGE_READONLY
70 #define __P101 PAGE_READONLY
75 #define __S001 PAGE_READONLY
78 #define __S100 PAGE_READONLY
79 #define __S101 PAGE_READONLY
/linux-4.1.27/arch/um/include/asm/
H A Dpgtable.h63 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED) macro
74 #define __P001 PAGE_READONLY
77 #define __P100 PAGE_READONLY
78 #define __P101 PAGE_READONLY
83 #define __S001 PAGE_READONLY
86 #define __S100 PAGE_READONLY
87 #define __S101 PAGE_READONLY
/linux-4.1.27/arch/m32r/include/asm/
H A Dpgtable.h125 #define PAGE_READONLY \ macro
148 #define PAGE_READONLY __pgprot(0) macro
158 #define __P001 PAGE_READONLY
167 #define __S001 PAGE_READONLY
/linux-4.1.27/arch/sh/include/asm/
H A Dpgtable.h106 #define __P001 PAGE_READONLY
115 #define __S001 PAGE_READONLY
H A Dpgtable_32.h194 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \ macro
248 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \ macro
251 #define PAGE_EXECREAD PAGE_READONLY
279 #define PAGE_READONLY __pgprot(0) macro
H A Dpgtable_64.h193 #define PAGE_READONLY __pgprot(_PAGE_COMMON | _PAGE_READ) macro
/linux-4.1.27/arch/frv/include/asm/
H A Dpgtable.h56 #define PAGE_READONLY __pgprot(0) /* these mean nothing to NO_MM */ macro
309 #define PAGE_READONLY __pgprot(__PGPROT_BASE | _PAGE_WP) macro
331 #define __P001 PAGE_READONLY
334 #define __P100 PAGE_READONLY
335 #define __P101 PAGE_READONLY
340 #define __S001 PAGE_READONLY
343 #define __S100 PAGE_READONLY
344 #define __S101 PAGE_READONLY
/linux-4.1.27/arch/blackfin/include/asm/
H A Dpgtable.h36 #define PAGE_READONLY __pgprot(0) /* these mean nothing to NO_MM */ macro
/linux-4.1.27/arch/c6x/include/asm/
H A Dpgtable.h41 #define PAGE_READONLY __pgprot(0) /* these mean nothing to NO_MM */ macro
/linux-4.1.27/arch/arm/include/asm/
H A Dpgtable-nommu.h43 #define PAGE_READONLY __pgprot(0) macro
H A Dpgtable.h96 #define PAGE_READONLY _MOD_PROT(pgprot_user, L_PTE_USER | L_PTE_RDONLY | L_PTE_XN) macro
/linux-4.1.27/arch/powerpc/include/asm/
H A Dpte-common.h137 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RO) macro
142 #define __P001 PAGE_READONLY
151 #define __S001 PAGE_READONLY
/linux-4.1.27/arch/x86/include/asm/
H A Dpgtable_types.h139 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \ macro
174 #define __P001 PAGE_READONLY
183 #define __S001 PAGE_READONLY
/linux-4.1.27/arch/xtensa/include/asm/
H A Dpgtable.h161 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER) macro
181 # define PAGE_READONLY __pgprot(0) macro
194 #define __P001 PAGE_READONLY /* private --r */
203 #define __S001 PAGE_READONLY /* shared --r */
/linux-4.1.27/arch/x86/vdso/
H A Dvma.c154 PAGE_READONLY); map_vdso()
165 pgprot_noncached(PAGE_READONLY)); map_vdso()
/linux-4.1.27/arch/ia64/include/asm/
H A Dpgtable.h139 #define PAGE_READONLY __pgprot(__ACCESS_BITS | _PAGE_PL_3 | _PAGE_AR_R) macro
165 #define __P001 PAGE_READONLY
166 #define __P010 PAGE_READONLY /* write to priv pg -> copy & make writable */
167 #define __P011 PAGE_READONLY /* ditto */
174 #define __S001 PAGE_READONLY
/linux-4.1.27/arch/openrisc/include/asm/
H A Dpgtable.h163 #define PAGE_READONLY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE) macro
188 #define __P100 PAGE_READONLY
197 #define __S100 PAGE_READONLY
/linux-4.1.27/arch/arm64/include/asm/
H A Dpgtable.h90 #define PAGE_READONLY __pgprot(_PAGE_DEFAULT | PTE_USER | PTE_NG | PTE_PXN | PTE_UXN) macro
94 #define __P001 PAGE_READONLY
103 #define __S001 PAGE_READONLY
/linux-4.1.27/arch/um/kernel/
H A Dmem.c138 pte_set_val(*pte, p, PAGE_READONLY); fixaddr_user_init()
/linux-4.1.27/arch/microblaze/include/asm/
H A Dpgtable.h32 #define PAGE_READONLY __pgprot(0) /* these mean nothing to non MMU */ macro
252 #define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER) pte_mkspecial() macro
272 #define __P100 PAGE_READONLY pte_mkspecial()
281 #define __S100 PAGE_READONLY pte_mkspecial()
/linux-4.1.27/arch/ia64/mm/
H A Dinit.c140 vma->vm_page_prot = __pgprot(pgprot_val(PAGE_READONLY) | _PAGE_MA_NAT); ia64_init_addr_space()
257 put_kernel_page(page, GATE_ADDR, PAGE_READONLY); setup_gate()
272 PAGE_READONLY); setup_gate()
274 PAGE_READONLY); setup_gate() local
/linux-4.1.27/arch/tile/include/asm/
H A Dpgtable.h117 #define PAGE_READONLY \ macro
140 #define __P001 PAGE_READONLY
149 #define __S001 PAGE_READONLY
/linux-4.1.27/arch/parisc/include/asm/
H A Dpgtable.h229 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_ACCESSED) macro
252 #define __P001 PAGE_READONLY
261 #define __S001 PAGE_READONLY
/linux-4.1.27/arch/hexagon/include/asm/
H A Dpgtable.h123 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \ macro
125 #define PAGE_COPY PAGE_READONLY
/linux-4.1.27/arch/metag/mm/
H A Dinit.c62 set_pte(pte, pfn_pte(__pa(gateway_page) >> PAGE_SHIFT, PAGE_READONLY)); insert_gateway_page()
/linux-4.1.27/arch/unicore32/include/asm/
H A Dpgtable.h97 #define PAGE_READONLY __pgprot(pgprot_val(pgprot_user | PTE_READ)) macro
/linux-4.1.27/arch/mips/include/asm/
H A Dpgtable.h31 #define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_READ | \ macro
/linux-4.1.27/arch/mn10300/include/asm/
H A Dpgtable.h167 #define PAGE_READONLY PAGE_READONLY_NOEXEC macro
/linux-4.1.27/arch/alpha/include/asm/
H A Dpgtable.h103 #define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW) macro
/linux-4.1.27/arch/ia64/kernel/
H A Dperfmon.c2225 if (remap_pfn_range(vma, addr, pfn, PAGE_SIZE, PAGE_READONLY)) pfm_remap_buffer()
2292 vma->vm_page_prot = PAGE_READONLY; /* XXX may need to change */ pfm_smpl_buffer_alloc()

Completed in 413 milliseconds