arch/alpha/include/asm/pgtable.h
103
#define PAGE_NONE __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOR | _PAGE_FOW | _PAGE_FOE)
arch/alpha/include/asm/pgtable.h
104
#define PAGE_SHARED __pgprot(_PAGE_VALID | __ACCESS_BITS)
arch/alpha/include/asm/pgtable.h
105
#define PAGE_COPY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
arch/alpha/include/asm/pgtable.h
106
#define PAGE_READONLY __pgprot(_PAGE_VALID | __ACCESS_BITS | _PAGE_FOW)
arch/alpha/include/asm/pgtable.h
107
#define PAGE_KERNEL __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE | _PAGE_KWE)
arch/alpha/include/asm/pgtable.h
109
#define _PAGE_NORMAL(x) __pgprot(_PAGE_VALID | __ACCESS_BITS | (x))
arch/alpha/kernel/proto.h
200
prot = __pgprot(_PAGE_VALID | _PAGE_ASM | _PAGE_KRE
arch/arc/include/asm/page.h
85
#define pte_pgprot(x) __pgprot(pte_val(x))
arch/arc/include/asm/pgtable-bits-arcv2.h
46
#define PAGE_U_NONE __pgprot(___DEF)
arch/arc/include/asm/pgtable-bits-arcv2.h
47
#define PAGE_U_R __pgprot(___DEF | _PAGE_READ)
arch/arc/include/asm/pgtable-bits-arcv2.h
48
#define PAGE_U_W_R __pgprot(___DEF | _PAGE_READ | _PAGE_WRITE)
arch/arc/include/asm/pgtable-bits-arcv2.h
49
#define PAGE_U_X_R __pgprot(___DEF | _PAGE_READ | _PAGE_EXECUTE)
arch/arc/include/asm/pgtable-bits-arcv2.h
50
#define PAGE_U_X_W_R __pgprot(___DEF \
arch/arc/include/asm/pgtable-bits-arcv2.h
52
#define PAGE_KERNEL __pgprot(___DEF | _PAGE_GLOBAL \
arch/arc/include/asm/pgtable-bits-arcv2.h
57
#define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) & ~_PAGE_CACHEABLE))
arch/arm/include/asm/pgtable-nommu.h
34
#define PAGE_NONE __pgprot(0)
arch/arm/include/asm/pgtable-nommu.h
35
#define PAGE_SHARED __pgprot(0)
arch/arm/include/asm/pgtable-nommu.h
36
#define PAGE_COPY __pgprot(0)
arch/arm/include/asm/pgtable-nommu.h
37
#define PAGE_READONLY __pgprot(0)
arch/arm/include/asm/pgtable-nommu.h
38
#define PAGE_KERNEL __pgprot(0)
arch/arm/include/asm/pgtable.h
103
#define __PAGE_NONE __pgprot(_L_PTE_DEFAULT | L_PTE_RDONLY | L_PTE_XN | L_PTE_NONE)
arch/arm/include/asm/pgtable.h
104
#define __PAGE_SHARED __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_XN)
arch/arm/include/asm/pgtable.h
105
#define __PAGE_SHARED_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER)
arch/arm/include/asm/pgtable.h
106
#define __PAGE_COPY __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY | L_PTE_XN)
arch/arm/include/asm/pgtable.h
107
#define __PAGE_COPY_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY)
arch/arm/include/asm/pgtable.h
108
#define __PAGE_READONLY __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY | L_PTE_XN)
arch/arm/include/asm/pgtable.h
109
#define __PAGE_READONLY_EXEC __pgprot(_L_PTE_DEFAULT | L_PTE_USER | L_PTE_RDONLY)
arch/arm/include/asm/pgtable.h
112
__pgprot((pgprot_val(prot) & ~(mask)) | (bits))
arch/arm/include/asm/pgtable.h
230
return set_pte_bit(pte, __pgprot(L_PTE_RDONLY));
arch/arm/include/asm/pgtable.h
235
return clear_pte_bit(pte, __pgprot(L_PTE_RDONLY));
arch/arm/include/asm/pgtable.h
240
return clear_pte_bit(pte, __pgprot(L_PTE_DIRTY));
arch/arm/include/asm/pgtable.h
245
return set_pte_bit(pte, __pgprot(L_PTE_DIRTY));
arch/arm/include/asm/pgtable.h
250
return clear_pte_bit(pte, __pgprot(L_PTE_YOUNG));
arch/arm/include/asm/pgtable.h
255
return set_pte_bit(pte, __pgprot(L_PTE_YOUNG));
arch/arm/include/asm/pgtable.h
260
return clear_pte_bit(pte, __pgprot(L_PTE_XN));
arch/arm/include/asm/pgtable.h
265
return set_pte_bit(pte, __pgprot(L_PTE_XN));
arch/arm/include/asm/pgtable.h
311
return set_pte_bit(pte, __pgprot(L_PTE_SWP_EXCLUSIVE));
arch/arm/include/asm/pgtable.h
316
return clear_pte_bit(pte, __pgprot(L_PTE_SWP_EXCLUSIVE));
arch/arm/include/asm/pgtable.h
91
#define _MOD_PROT(p, b) __pgprot(pgprot_val(p) | (b))
arch/arm/kernel/efi.c
20
pte = set_pte_bit(pte, __pgprot(L_PTE_RDONLY));
arch/arm/kernel/efi.c
22
pte = set_pte_bit(pte, __pgprot(L_PTE_XN));
arch/arm/lib/uaccess_with_memcpy.c
243
user_ptr = vmap(&dst_page, 1, VM_IOREMAP, __pgprot(__PAGE_COPY));
arch/arm/mm/copypage-v4mc.c
23
#define minicache_pgprot __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | \
arch/arm/mm/copypage-xscale.c
23
#define minicache_pgprot __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | \
arch/arm/mm/ioremap.c
115
__pgprot(mtype->prot_pte));
arch/arm/mm/ioremap.c
341
__pgprot(type->prot_pte));
arch/arm/mm/ioremap.c
495
__pgprot(get_mem_type(pci_ioremap_mem_type)->prot_pte));
arch/arm/mm/kasan_init.c
296
__pgprot(pgprot_val(PAGE_KERNEL)
arch/arm/mm/kasan_init.c
67
__pgprot(pgprot_val(PAGE_KERNEL)));
arch/arm/mm/kasan_init.c
77
__pgprot(_L_PTE_DEFAULT | L_PTE_DIRTY | L_PTE_XN));
arch/arm/mm/mmu.c
669
protection_map[i] = __pgprot(v | user_pgprot);
arch/arm/mm/mmu.c
675
pgprot_user = __pgprot(L_PTE_PRESENT | L_PTE_YOUNG | user_pgprot);
arch/arm/mm/mmu.c
676
pgprot_kernel = __pgprot(L_PTE_PRESENT | L_PTE_YOUNG |
arch/arm/mm/mmu.c
769
set_pte_ext(pte, pfn_pte(pfn, __pgprot(type->prot_pte)),
arch/arm/mm/pageattr.c
105
__pgprot(L_PTE_VALID),
arch/arm/mm/pageattr.c
106
__pgprot(0));
arch/arm/mm/pageattr.c
109
__pgprot(0),
arch/arm/mm/pageattr.c
110
__pgprot(L_PTE_VALID));
arch/arm/mm/pageattr.c
76
__pgprot(L_PTE_RDONLY),
arch/arm/mm/pageattr.c
77
__pgprot(0));
arch/arm/mm/pageattr.c
83
__pgprot(0),
arch/arm/mm/pageattr.c
84
__pgprot(L_PTE_RDONLY));
arch/arm/mm/pageattr.c
90
__pgprot(L_PTE_XN),
arch/arm/mm/pageattr.c
91
__pgprot(0));
arch/arm/mm/pageattr.c
97
__pgprot(0),
arch/arm/mm/pageattr.c
98
__pgprot(L_PTE_XN));
arch/arm64/include/asm/fixmap.h
107
#define FIXMAP_PAGE_IO __pgprot(PROT_DEVICE_nGnRE)
arch/arm64/include/asm/io.h
285
__ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRE))
arch/arm64/include/asm/io.h
287
__ioremap_prot((addr), (size), __pgprot(PROT_NORMAL_NC))
arch/arm64/include/asm/io.h
289
__ioremap_prot((addr), (size), __pgprot(PROT_DEVICE_nGnRnE))
arch/arm64/include/asm/io.h
314
return __ioremap_prot(addr, size, __pgprot(PROT_NORMAL));
arch/arm64/include/asm/pgtable-prot.h
106
#define PAGE_KERNEL __pgprot(_PAGE_KERNEL)
arch/arm64/include/asm/pgtable-prot.h
107
#define PAGE_KERNEL_RO __pgprot(_PAGE_KERNEL_RO)
arch/arm64/include/asm/pgtable-prot.h
108
#define PAGE_KERNEL_ROX __pgprot(_PAGE_KERNEL_ROX)
arch/arm64/include/asm/pgtable-prot.h
109
#define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL_EXEC)
arch/arm64/include/asm/pgtable-prot.h
110
#define PAGE_KERNEL_EXEC_CONT __pgprot(_PAGE_KERNEL_EXEC_CONT)
arch/arm64/include/asm/pgtable-prot.h
122
#define PAGE_NONE __pgprot(((_PAGE_DEFAULT) & ~PTE_VALID) | PTE_PRESENT_INVALID | PTE_RDONLY | PTE_NG | PTE_PXN | PTE_UXN)
arch/arm64/include/asm/pgtable-prot.h
124
#define PAGE_SHARED __pgprot(_PAGE_SHARED)
arch/arm64/include/asm/pgtable-prot.h
125
#define PAGE_SHARED_EXEC __pgprot(_PAGE_SHARED_EXEC)
arch/arm64/include/asm/pgtable-prot.h
126
#define PAGE_READONLY __pgprot(_PAGE_READONLY)
arch/arm64/include/asm/pgtable-prot.h
127
#define PAGE_READONLY_EXEC __pgprot(_PAGE_READONLY_EXEC)
arch/arm64/include/asm/pgtable-prot.h
128
#define PAGE_EXECONLY __pgprot(_PAGE_EXECONLY)
arch/arm64/include/asm/pgtable.h
1233
pte = set_pte_bit(pte, __pgprot(PTE_DIRTY));
arch/arm64/include/asm/pgtable.h
262
pte = set_pte_bit(pte, __pgprot(PTE_WRITE));
arch/arm64/include/asm/pgtable.h
264
pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY));
arch/arm64/include/asm/pgtable.h
270
pte = clear_pte_bit(pte, __pgprot(PTE_DIRTY));
arch/arm64/include/asm/pgtable.h
271
pte = set_pte_bit(pte, __pgprot(PTE_RDONLY));
arch/arm64/include/asm/pgtable.h
278
pte = set_pte_bit(pte, __pgprot(PTE_DIRTY));
arch/arm64/include/asm/pgtable.h
281
pte = clear_pte_bit(pte, __pgprot(PTE_RDONLY));
arch/arm64/include/asm/pgtable.h
293
pte = set_pte_bit(pte, __pgprot(PTE_DIRTY));
arch/arm64/include/asm/pgtable.h
295
pte = clear_pte_bit(pte, __pgprot(PTE_WRITE));
arch/arm64/include/asm/pgtable.h
296
pte = set_pte_bit(pte, __pgprot(PTE_RDONLY));
arch/arm64/include/asm/pgtable.h
302
return clear_pte_bit(pte, __pgprot(PTE_AF));
arch/arm64/include/asm/pgtable.h
307
return set_pte_bit(pte, __pgprot(PTE_AF));
arch/arm64/include/asm/pgtable.h
312
return set_pte_bit(pte, __pgprot(PTE_SPECIAL));
arch/arm64/include/asm/pgtable.h
317
return set_pte_bit(pte, __pgprot(PTE_CONT));
arch/arm64/include/asm/pgtable.h
322
return clear_pte_bit(pte, __pgprot(PTE_CONT));
arch/arm64/include/asm/pgtable.h
327
return set_pte_bit(pte, __pgprot(PTE_VALID));
arch/arm64/include/asm/pgtable.h
332
pte = set_pte_bit(pte, __pgprot(PTE_PRESENT_INVALID));
arch/arm64/include/asm/pgtable.h
333
pte = clear_pte_bit(pte, __pgprot(PTE_VALID));
arch/arm64/include/asm/pgtable.h
355
return pte_wrprotect(set_pte_bit(pte, __pgprot(PTE_UFFD_WP)));
arch/arm64/include/asm/pgtable.h
360
return clear_pte_bit(pte, __pgprot(PTE_UFFD_WP));
arch/arm64/include/asm/pgtable.h
465
return __pgprot(pte_val(pfn_pte(pfn, __pgprot(0))) ^ pte_val(pte));
arch/arm64/include/asm/pgtable.h
520
return __pgprot((pgprot_val(prot) & ~PUD_TYPE_MASK) | PUD_TYPE_SECT);
arch/arm64/include/asm/pgtable.h
525
return __pgprot((pgprot_val(prot) & ~PMD_TYPE_MASK) | PMD_TYPE_SECT);
arch/arm64/include/asm/pgtable.h
530
return set_pte_bit(pte, __pgprot(PTE_SWP_EXCLUSIVE));
arch/arm64/include/asm/pgtable.h
540
return clear_pte_bit(pte, __pgprot(PTE_SWP_EXCLUSIVE));
arch/arm64/include/asm/pgtable.h
546
return set_pte_bit(pte, __pgprot(PTE_SWP_UFFD_WP));
arch/arm64/include/asm/pgtable.h
556
return clear_pte_bit(pte, __pgprot(PTE_SWP_UFFD_WP));
arch/arm64/include/asm/pgtable.h
627
return set_pmd_bit(pmd, __pgprot(PTE_SPECIAL));
arch/arm64/include/asm/pgtable.h
663
return __pgprot(pmd_val(pfn_pmd(pfn, __pgprot(0))) ^ pmd_val(pmd));
arch/arm64/include/asm/pgtable.h
671
return __pgprot(pud_val(pfn_pud(pfn, __pgprot(0))) ^ pud_val(pud));
arch/arm64/include/asm/pgtable.h
739
__pgprot((pgprot_val(prot) & ~(mask)) | (bits))
arch/arm64/kernel/acpi.c
270
return __pgprot(PROT_NORMAL_NC);
arch/arm64/kernel/acpi.c
289
return __pgprot(PROT_NORMAL_NC);
arch/arm64/kernel/acpi.c
292
return __pgprot(PROT_DEVICE_nGnRnE);
arch/arm64/kernel/acpi.c
323
prot = __pgprot(PROT_DEVICE_nGnRnE);
arch/arm64/kernel/acpi.c
375
prot = __pgprot(PROT_NORMAL_NC);
arch/arm64/kernel/efi.c
105
__pgprot(prot_val | PTE_NG), page_mappings_only);
arch/arm64/kernel/efi.c
121
pte = set_pte_bit(pte, __pgprot(PTE_RDONLY));
arch/arm64/kernel/efi.c
123
pte = set_pte_bit(pte, __pgprot(PTE_PXN));
arch/arm64/kernel/efi.c
125
pte = set_pte_bit(pte, __pgprot(PTE_GP));
arch/arm64/kernel/efi.c
40
pgprot_t prot = __pgprot(PROT_DEVICE_nGnRE);
arch/arm64/kernel/pi/map_kernel.c
35
map_segment(pg_dir, NULL, va_offset, start, end, __pgprot(0),
arch/arm64/mm/mmap.c
131
return __pgprot(prot);
arch/arm64/mm/mmu.c
1758
pmd_set_huge(pmdp, __pa(p), __pgprot(PROT_SECT_NORMAL));
arch/arm64/mm/mmu.c
235
__prot = __pgprot(pgprot_val(prot) | PTE_CONT);
arch/arm64/mm/mmu.c
334
__prot = __pgprot(pgprot_val(prot) | PTE_CONT);
arch/arm64/mm/mmu.c
604
prot = __pgprot((pgprot_val(prot) & ~PTE_TYPE_MASK) | PTE_TYPE_PAGE);
arch/arm64/mm/mmu.c
605
prot = __pgprot(pgprot_val(prot) & ~PTE_CONT);
arch/arm64/mm/mmu.c
607
prot = __pgprot(pgprot_val(prot) | PTE_CONT);
arch/arm64/mm/mmu.c
649
prot = __pgprot((pgprot_val(prot) & ~PMD_TYPE_MASK) | PMD_TYPE_SECT);
arch/arm64/mm/mmu.c
650
prot = __pgprot(pgprot_val(prot) & ~PTE_CONT);
arch/arm64/mm/mmu.c
652
prot = __pgprot(pgprot_val(prot) | PTE_CONT);
arch/arm64/mm/pageattr.c
211
__pgprot(PTE_RDONLY),
arch/arm64/mm/pageattr.c
212
__pgprot(PTE_WRITE));
arch/arm64/mm/pageattr.c
218
__pgprot(PTE_WRITE),
arch/arm64/mm/pageattr.c
219
__pgprot(PTE_RDONLY));
arch/arm64/mm/pageattr.c
225
__pgprot(PTE_PXN),
arch/arm64/mm/pageattr.c
226
__pgprot(PTE_MAYBE_GP));
arch/arm64/mm/pageattr.c
232
__pgprot(PTE_MAYBE_GP),
arch/arm64/mm/pageattr.c
233
__pgprot(PTE_PXN));
arch/arm64/mm/pageattr.c
240
__pgprot(PTE_VALID),
arch/arm64/mm/pageattr.c
241
__pgprot(0));
arch/arm64/mm/pageattr.c
244
__pgprot(0),
arch/arm64/mm/pageattr.c
245
__pgprot(PTE_VALID));
arch/arm64/mm/pageattr.c
250
pgprot_t clear_mask = __pgprot(PTE_VALID);
arch/arm64/mm/pageattr.c
251
pgprot_t set_mask = __pgprot(0);
arch/arm64/mm/pageattr.c
262
pgprot_t set_mask = __pgprot(PTE_VALID | PTE_WRITE);
arch/arm64/mm/pageattr.c
263
pgprot_t clear_mask = __pgprot(PTE_RDONLY);
arch/arm64/mm/pageattr.c
299
__pgprot(set_prot),
arch/arm64/mm/pageattr.c
300
__pgprot(clear_prot | PTE_VALID));
arch/arm64/mm/pageattr.c
314
__pgprot(PTE_VALID),
arch/arm64/mm/pageattr.c
315
__pgprot(0));
arch/arm64/mm/trans_pgd.c
268
__pgprot(PMD_TYPE_TABLE)));
arch/csky/include/asm/io.h
39
__pgprot((_PAGE_IOREMAP & ~_CACHE_MASK) | _CACHE_UNCACHED))
arch/csky/include/asm/pgtable.h
239
return __pgprot(prot);
arch/csky/include/asm/pgtable.h
249
return __pgprot(prot);
arch/csky/include/asm/pgtable.h
55
#define PAGE_NONE __pgprot(_PAGE_PROT_NONE)
arch/csky/include/asm/pgtable.h
56
#define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ | \
arch/csky/include/asm/pgtable.h
58
#define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE | \
arch/csky/include/asm/pgtable.h
62
#define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_VALID | \
arch/hexagon/include/asm/pgtable.h
109
#define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER | \
arch/hexagon/include/asm/pgtable.h
111
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | \
arch/hexagon/include/asm/pgtable.h
114
#define PAGE_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | \
arch/hexagon/include/asm/pgtable.h
117
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | \
arch/hexagon/include/asm/pgtable.h
119
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_READ | \
arch/hexagon/mm/init.c
205
[VM_NONE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
207
[VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
209
[VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
211
[VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
213
[VM_EXEC] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
215
[VM_EXEC | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
218
[VM_EXEC | VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
220
[VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
223
[VM_SHARED] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
225
[VM_SHARED | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
227
[VM_SHARED | VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
229
[VM_SHARED | VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
232
[VM_SHARED | VM_EXEC] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
234
[VM_SHARED | VM_EXEC | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
237
[VM_SHARED | VM_EXEC | VM_WRITE] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/hexagon/mm/init.c
240
[VM_SHARED | VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_PAGE_PRESENT | _PAGE_USER |
arch/loongarch/include/asm/page.h
59
#define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
arch/loongarch/include/asm/pgtable-bits.h
112
#define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_NO_READ | \
arch/loongarch/include/asm/pgtable-bits.h
114
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_WRITE | \
arch/loongarch/include/asm/pgtable-bits.h
116
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _CACHE_CC)
arch/loongarch/include/asm/pgtable-bits.h
118
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
arch/loongarch/include/asm/pgtable-bits.h
120
#define PAGE_KERNEL_SUC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
arch/loongarch/include/asm/pgtable-bits.h
122
#define PAGE_KERNEL_WUC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
arch/loongarch/include/asm/pgtable-bits.h
133
return __pgprot(pgprot_val(_prot) | _PAGE_NO_EXEC);
arch/loongarch/include/asm/pgtable-bits.h
144
return __pgprot(prot);
arch/loongarch/include/asm/pgtable-bits.h
157
return __pgprot(prot);
arch/loongarch/kvm/mmu.c
888
new_pte = kvm_pfn_pte(pfn, __pgprot(prot_bits));
arch/loongarch/mm/cache.c
162
[VM_NONE] = __pgprot(_CACHE_CC | _PAGE_USER |
arch/loongarch/mm/cache.c
165
[VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
168
[VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
171
[VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
174
[VM_EXEC] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
176
[VM_EXEC | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
178
[VM_EXEC | VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
180
[VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
182
[VM_SHARED] = __pgprot(_CACHE_CC | _PAGE_USER |
arch/loongarch/mm/cache.c
185
[VM_SHARED | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
188
[VM_SHARED | VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
191
[VM_SHARED | VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
194
[VM_SHARED | VM_EXEC] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
196
[VM_SHARED | VM_EXEC | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
198
[VM_SHARED | VM_EXEC | VM_WRITE] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/cache.c
201
[VM_SHARED | VM_EXEC | VM_WRITE | VM_READ] = __pgprot(_CACHE_CC | _PAGE_VALID |
arch/loongarch/mm/pageattr.c
134
return __set_memory(addr, numpages, __pgprot(0), __pgprot(_PAGE_NO_EXEC));
arch/loongarch/mm/pageattr.c
142
return __set_memory(addr, numpages, __pgprot(_PAGE_NO_EXEC), __pgprot(0));
arch/loongarch/mm/pageattr.c
150
return __set_memory(addr, numpages, __pgprot(0), __pgprot(_PAGE_WRITE | _PAGE_DIRTY));
arch/loongarch/mm/pageattr.c
158
return __set_memory(addr, numpages, __pgprot(_PAGE_WRITE | _PAGE_DIRTY), __pgprot(0));
arch/loongarch/mm/pageattr.c
208
return __set_memory(addr, 1, PAGE_KERNEL, __pgprot(0));
arch/loongarch/mm/pageattr.c
218
return __set_memory(addr, 1, __pgprot(0), __pgprot(_PAGE_PRESENT | _PAGE_VALID));
arch/loongarch/mm/pageattr.c
231
clear = __pgprot(0);
arch/loongarch/mm/pageattr.c
233
set = __pgprot(0);
arch/loongarch/mm/pageattr.c
234
clear = __pgprot(_PAGE_PRESENT | _PAGE_VALID);
arch/m68k/include/asm/mcf_pgtable.h
66
#define PAGE_NONE __pgprot(CF_PAGE_VALID \
arch/m68k/include/asm/mcf_pgtable.h
69
#define PAGE_SHARED __pgprot(CF_PAGE_VALID \
arch/m68k/include/asm/mcf_pgtable.h
73
#define PAGE_INIT __pgprot(CF_PAGE_VALID \
arch/m68k/include/asm/mcf_pgtable.h
79
#define PAGE_KERNEL __pgprot(CF_PAGE_VALID \
arch/m68k/include/asm/mcf_pgtable.h
87
#define PAGE_COPY __pgprot(CF_PAGE_VALID \
arch/m68k/include/asm/motorola_pgtable.h
76
#define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED | mm_cachebits)
arch/m68k/include/asm/motorola_pgtable.h
77
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | mm_cachebits)
arch/m68k/include/asm/motorola_pgtable.h
78
#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
arch/m68k/include/asm/motorola_pgtable.h
79
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED | mm_cachebits)
arch/m68k/include/asm/motorola_pgtable.h
80
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED | mm_cachebits)
arch/m68k/include/asm/pgtable_mm.h
155
# define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | CF_PAGE_NOCACHE))
arch/m68k/include/asm/pgtable_mm.h
164
? (__pgprot(pgprot_val(prot) | __SUN3_PAGE_NOCACHE)) \
arch/m68k/include/asm/pgtable_mm.h
166
? (__pgprot(pgprot_val(prot) | _PAGE_NOCACHE030)) \
arch/m68k/include/asm/pgtable_mm.h
168
? (__pgprot((pgprot_val(prot) & _CACHEMASK040) | _PAGE_NOCACHE_S)) \
arch/m68k/include/asm/pgtable_no.h
25
#define PAGE_NONE __pgprot(0)
arch/m68k/include/asm/pgtable_no.h
26
#define PAGE_SHARED __pgprot(0)
arch/m68k/include/asm/pgtable_no.h
27
#define PAGE_COPY __pgprot(0)
arch/m68k/include/asm/pgtable_no.h
28
#define PAGE_READONLY __pgprot(0)
arch/m68k/include/asm/pgtable_no.h
29
#define PAGE_KERNEL __pgprot(0)
arch/m68k/include/asm/sun3_pgtable.h
45
#define PAGE_NONE __pgprot(SUN3_PAGE_VALID \
arch/m68k/include/asm/sun3_pgtable.h
48
#define PAGE_SHARED __pgprot(SUN3_PAGE_VALID \
arch/m68k/include/asm/sun3_pgtable.h
52
#define PAGE_COPY __pgprot(SUN3_PAGE_VALID \
arch/m68k/include/asm/sun3_pgtable.h
55
#define PAGE_READONLY __pgprot(SUN3_PAGE_VALID \
arch/m68k/include/asm/sun3_pgtable.h
58
#define PAGE_KERNEL __pgprot(SUN3_PAGE_VALID \
arch/m68k/include/asm/sun3_pgtable.h
64
#define PAGE_INIT __pgprot(SUN3_PAGE_VALID \
arch/m68k/mm/mcfmmu.c
220
[VM_READ] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
223
[VM_WRITE] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
226
[VM_WRITE | VM_READ] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
230
[VM_EXEC] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
233
[VM_EXEC | VM_READ] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
237
[VM_EXEC | VM_WRITE] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
241
[VM_EXEC | VM_WRITE | VM_READ] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
247
[VM_SHARED | VM_READ] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
251
[VM_SHARED | VM_WRITE | VM_READ] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
255
[VM_SHARED | VM_EXEC] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
258
[VM_SHARED | VM_EXEC | VM_READ] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
262
[VM_SHARED | VM_EXEC | VM_WRITE] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/mcfmmu.c
266
[VM_SHARED | VM_EXEC | VM_WRITE | VM_READ] = __pgprot(CF_PAGE_VALID |
arch/m68k/mm/motorola.c
401
#define PAGE_NONE_C __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
arch/m68k/mm/motorola.c
402
#define PAGE_SHARED_C __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED)
arch/m68k/mm/motorola.c
403
#define PAGE_COPY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
arch/m68k/mm/motorola.c
404
#define PAGE_READONLY_C __pgprot(_PAGE_PRESENT | _PAGE_RONLY | _PAGE_ACCESSED)
arch/microblaze/include/asm/pgtable.h
192
#define PAGE_NONE __pgprot(_PAGE_BASE)
arch/microblaze/include/asm/pgtable.h
193
#define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_USER)
arch/microblaze/include/asm/pgtable.h
194
#define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
arch/microblaze/include/asm/pgtable.h
195
#define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW)
arch/microblaze/include/asm/pgtable.h
197
__pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_RW | _PAGE_EXEC)
arch/microblaze/include/asm/pgtable.h
198
#define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_USER)
arch/microblaze/include/asm/pgtable.h
199
#define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_USER | _PAGE_EXEC)
arch/microblaze/include/asm/pgtable.h
201
#define PAGE_KERNEL __pgprot(_PAGE_KERNEL)
arch/microblaze/include/asm/pgtable.h
202
#define PAGE_KERNEL_RO __pgprot(_PAGE_BASE | _PAGE_SHARED)
arch/microblaze/include/asm/pgtable.h
203
#define PAGE_KERNEL_CI __pgprot(_PAGE_IO)
arch/microblaze/include/asm/pgtable.h
52
(__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
arch/microblaze/include/asm/pgtable.h
56
(__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
arch/microblaze/mm/pgtable.c
156
__pgprot(flags)));
arch/mips/include/asm/io.h
133
ioremap_prot((offset), (size), __pgprot(_CACHE_UNCACHED))
arch/mips/include/asm/io.h
151
ioremap_prot((offset), (size), __pgprot(_page_cachable_default))
arch/mips/include/asm/io.h
172
ioremap_prot((offset), (size), __pgprot(boot_cpu_data.writecombine))
arch/mips/include/asm/page.h
139
#define pte_pgprot(x) __pgprot(pte_val(x) & ~_PFN_MASK)
arch/mips/include/asm/pgtable.h
30
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
arch/mips/include/asm/pgtable.h
32
#define PAGE_KERNEL_NC __pgprot(_PAGE_PRESENT | __READABLE | __WRITEABLE | \
arch/mips/include/asm/pgtable.h
34
#define PAGE_KERNEL_UNCACHED __pgprot(_PAGE_PRESENT | __READABLE | \
arch/mips/include/asm/pgtable.h
466
return __pgprot(prot);
arch/mips/include/asm/pgtable.h
478
return __pgprot(prot);
arch/mips/kvm/mmu.c
625
entry = pfn_pte(pfn, __pgprot(prot_bits));
arch/mips/mm/cache.c
177
#define PM(p) __pgprot(_page_cachable_default | (p))
arch/mips/mm/ioremap.c
109
__pgprot(flags))) {
arch/nios2/include/asm/pgtable.h
102
return __pgprot(prot);
arch/nios2/include/asm/pgtable.h
36
#define MKP(x, w, r) __pgprot(_PAGE_PRESENT | _PAGE_CACHED | \
arch/nios2/include/asm/pgtable.h
50
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
arch/nios2/include/asm/pgtable.h
53
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_CACHED | _PAGE_READ | \
arch/nios2/mm/ioremap.c
28
pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ
arch/openrisc/include/asm/pgtable.h
160
#define PAGE_NONE __pgprot(_PAGE_ALL)
arch/openrisc/include/asm/pgtable.h
161
#define PAGE_READONLY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE)
arch/openrisc/include/asm/pgtable.h
162
#define PAGE_READONLY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC)
arch/openrisc/include/asm/pgtable.h
164
__pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_UWE | _PAGE_SWE \
arch/openrisc/include/asm/pgtable.h
167
__pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_UWE | _PAGE_SWE \
arch/openrisc/include/asm/pgtable.h
169
#define PAGE_COPY __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE)
arch/openrisc/include/asm/pgtable.h
170
#define PAGE_COPY_X __pgprot(_PAGE_ALL | _PAGE_URE | _PAGE_SRE | _PAGE_EXEC)
arch/openrisc/include/asm/pgtable.h
173
__pgprot(_PAGE_ALL | _PAGE_SRE | _PAGE_SWE \
arch/openrisc/include/asm/pgtable.h
176
__pgprot(_PAGE_ALL | _PAGE_SRE \
arch/openrisc/include/asm/pgtable.h
179
__pgprot(_PAGE_ALL | _PAGE_SRE | _PAGE_SWE \
arch/parisc/include/asm/io.h
134
ioremap_prot((addr), (size), __pgprot(_PAGE_IOREMAP))
arch/parisc/include/asm/pgtable.h
231
#define PAGE_NONE __pgprot(_PAGE_PRESENT | _PAGE_USER)
arch/parisc/include/asm/pgtable.h
232
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE)
arch/parisc/include/asm/pgtable.h
236
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ)
arch/parisc/include/asm/pgtable.h
237
#define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITE)
arch/parisc/include/asm/pgtable.h
238
#define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_EXEC)
arch/parisc/include/asm/pgtable.h
240
#define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_READ | _PAGE_WRITE | _PAGE_EXEC)
arch/parisc/include/asm/pgtable.h
241
#define PAGE_KERNEL __pgprot(_PAGE_KERNEL)
arch/parisc/include/asm/pgtable.h
242
#define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL_EXEC)
arch/parisc/include/asm/pgtable.h
243
#define PAGE_KERNEL_RWX __pgprot(_PAGE_KERNEL_RWX)
arch/parisc/include/asm/pgtable.h
244
#define PAGE_KERNEL_RO __pgprot(_PAGE_KERNEL_RO)
arch/parisc/include/asm/pgtable.h
245
#define PAGE_KERNEL_UNC __pgprot(_PAGE_KERNEL | _PAGE_NO_CACHE)
arch/parisc/include/asm/pgtable.h
246
#define PAGE_GATEWAY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_GATEWAY| _PAGE_READ)
arch/parisc/include/asm/pgtable.h
497
#define pgprot_noncached(prot) __pgprot(pgprot_val(prot) | _PAGE_NO_CACHE)
arch/powerpc/include/asm/book3s/32/pgtable.h
574
return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) |
arch/powerpc/include/asm/book3s/32/pgtable.h
581
return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) |
arch/powerpc/include/asm/book3s/32/pgtable.h
588
return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) |
arch/powerpc/include/asm/book3s/32/pgtable.h
595
return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) |
arch/powerpc/include/asm/book3s/32/pgtable.h
602
return __pgprot(pgprot_val(prot) & ~_PAGE_CACHE_CTL);
arch/powerpc/include/asm/book3s/32/pgtable.h
90
#define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW)
arch/powerpc/include/asm/book3s/32/pgtable.h
91
#define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE)
arch/powerpc/include/asm/book3s/32/pgtable.h
92
#define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE | _PAGE_GUARDED)
arch/powerpc/include/asm/book3s/32/pgtable.h
93
#define PAGE_KERNEL_X __pgprot(_PAGE_BASE | _PAGE_KERNEL_RWX)
arch/powerpc/include/asm/book3s/32/pgtable.h
94
#define PAGE_KERNEL_RO __pgprot(_PAGE_BASE | _PAGE_KERNEL_RO)
arch/powerpc/include/asm/book3s/32/pgtable.h
95
#define PAGE_KERNEL_ROX __pgprot(_PAGE_BASE | _PAGE_KERNEL_ROX)
arch/powerpc/include/asm/book3s/64/hash-64k.h
183
__pgprot(pgprot_val(prot) | H_PAGE_4K_PFN));
arch/powerpc/include/asm/book3s/64/pgtable.h
139
#define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW)
arch/powerpc/include/asm/book3s/64/pgtable.h
140
#define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_TOLERANT)
arch/powerpc/include/asm/book3s/64/pgtable.h
141
#define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NON_IDEMPOTENT)
arch/powerpc/include/asm/book3s/64/pgtable.h
142
#define PAGE_KERNEL_X __pgprot(_PAGE_BASE | _PAGE_KERNEL_RWX)
arch/powerpc/include/asm/book3s/64/pgtable.h
143
#define PAGE_KERNEL_RO __pgprot(_PAGE_BASE | _PAGE_KERNEL_RO)
arch/powerpc/include/asm/book3s/64/pgtable.h
144
#define PAGE_KERNEL_ROX __pgprot(_PAGE_BASE | _PAGE_KERNEL_ROX)
arch/powerpc/include/asm/book3s/64/pgtable.h
768
return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) |
arch/powerpc/include/asm/book3s/64/pgtable.h
775
return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) |
arch/powerpc/include/asm/book3s/64/pgtable.h
782
return __pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL));
arch/powerpc/include/asm/nohash/pgtable.h
23
#define PAGE_KERNEL __pgprot(_PAGE_BASE | _PAGE_KERNEL_RW)
arch/powerpc/include/asm/nohash/pgtable.h
24
#define PAGE_KERNEL_NC __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE)
arch/powerpc/include/asm/nohash/pgtable.h
25
#define PAGE_KERNEL_NCG __pgprot(_PAGE_BASE_NC | _PAGE_KERNEL_RW | _PAGE_NO_CACHE | _PAGE_GUARDED)
arch/powerpc/include/asm/nohash/pgtable.h
26
#define PAGE_KERNEL_X __pgprot(_PAGE_BASE | _PAGE_KERNEL_RWX)
arch/powerpc/include/asm/nohash/pgtable.h
27
#define PAGE_KERNEL_RO __pgprot(_PAGE_BASE | _PAGE_KERNEL_RO)
arch/powerpc/include/asm/nohash/pgtable.h
28
#define PAGE_KERNEL_ROX __pgprot(_PAGE_BASE | _PAGE_KERNEL_ROX)
arch/powerpc/include/asm/nohash/pgtable.h
363
#define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
arch/powerpc/include/asm/nohash/pgtable.h
366
#define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
arch/powerpc/include/asm/nohash/pgtable.h
369
#define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
arch/powerpc/include/asm/nohash/pgtable.h
373
#define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \
arch/powerpc/include/asm/nohash/pgtable.h
380
(__pgprot(pgprot_val(prot) & ~_PAGE_CACHE_CTL))
arch/powerpc/include/asm/pgtable-masks.h
23
#define PAGE_NONE __pgprot(_PAGE_BASE | _PAGE_NA)
arch/powerpc/include/asm/pgtable-masks.h
24
#define PAGE_EXECONLY_X __pgprot(_PAGE_BASE | _PAGE_NAX)
arch/powerpc/include/asm/pgtable-masks.h
25
#define PAGE_SHARED __pgprot(_PAGE_BASE | _PAGE_RW)
arch/powerpc/include/asm/pgtable-masks.h
26
#define PAGE_SHARED_X __pgprot(_PAGE_BASE | _PAGE_RWX)
arch/powerpc/include/asm/pgtable-masks.h
27
#define PAGE_COPY __pgprot(_PAGE_BASE | _PAGE_RO)
arch/powerpc/include/asm/pgtable-masks.h
28
#define PAGE_COPY_X __pgprot(_PAGE_BASE | _PAGE_ROX)
arch/powerpc/include/asm/pgtable-masks.h
29
#define PAGE_READONLY __pgprot(_PAGE_BASE | _PAGE_RO)
arch/powerpc/include/asm/pgtable-masks.h
30
#define PAGE_READONLY_X __pgprot(_PAGE_BASE | _PAGE_ROX)
arch/powerpc/include/asm/pgtable.h
63
return __pgprot(pte_flags);
arch/powerpc/mm/book3s64/pgtable.c
670
return __pgprot(prot);
arch/powerpc/mm/mem.c
248
map_kernel_page(v, 0, __pgprot(0)); /* XXX gross */
arch/powerpc/mm/mem.c
250
map_kernel_page(PKMAP_BASE, 0, __pgprot(0)); /* XXX gross */
arch/powerpc/mm/nohash/book3e_pgtable.c
42
BUG_ON(map_kernel_page(start + i, phys, __pgprot(flags)));
arch/powerpc/platforms/book3s/vas-api.c
571
prot = __pgprot(pgprot_val(vma->vm_page_prot) | _PAGE_DIRTY);
arch/riscv/include/asm/io.h
144
((__force void *)ioremap_prot((addr), (size), __pgprot(_PAGE_KERNEL)))
arch/riscv/include/asm/io.h
33
ioremap_prot((addr), (size), __pgprot(_PAGE_KERNEL_NC))
arch/riscv/include/asm/pgtable.h
1263
#define PAGE_SHARED __pgprot(0)
arch/riscv/include/asm/pgtable.h
1264
#define PAGE_KERNEL __pgprot(0)
arch/riscv/include/asm/pgtable.h
174
#define PAGE_NONE __pgprot(_PAGE_PROT_NONE | _PAGE_READ)
arch/riscv/include/asm/pgtable.h
175
#define PAGE_READ __pgprot(_PAGE_BASE | _PAGE_READ)
arch/riscv/include/asm/pgtable.h
176
#define PAGE_WRITE __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_WRITE)
arch/riscv/include/asm/pgtable.h
177
#define PAGE_EXEC __pgprot(_PAGE_BASE | _PAGE_EXEC)
arch/riscv/include/asm/pgtable.h
178
#define PAGE_READ_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | _PAGE_EXEC)
arch/riscv/include/asm/pgtable.h
179
#define PAGE_WRITE_EXEC __pgprot(_PAGE_BASE | _PAGE_READ | \
arch/riscv/include/asm/pgtable.h
181
#define PAGE_SHADOWSTACK __pgprot(_PAGE_BASE | _PAGE_WRITE)
arch/riscv/include/asm/pgtable.h
195
#define PAGE_KERNEL __pgprot(_PAGE_KERNEL)
arch/riscv/include/asm/pgtable.h
196
#define PAGE_KERNEL_READ __pgprot(_PAGE_KERNEL & ~_PAGE_WRITE)
arch/riscv/include/asm/pgtable.h
197
#define PAGE_KERNEL_EXEC __pgprot(_PAGE_KERNEL | _PAGE_EXEC)
arch/riscv/include/asm/pgtable.h
198
#define PAGE_KERNEL_READ_EXEC __pgprot((_PAGE_KERNEL & ~_PAGE_WRITE) \
arch/riscv/include/asm/pgtable.h
201
#define PAGE_TABLE __pgprot(_PAGE_TABLE)
arch/riscv/include/asm/pgtable.h
205
#define PAGE_KERNEL_IO __pgprot(_PAGE_IOREMAP)
arch/riscv/include/asm/pgtable.h
349
return __pgprot(pte_val(pfn_pte(pfn, __pgprot(0))) ^ pte_val(pte));
arch/riscv/include/asm/pgtable.h
722
return __pgprot(pgprot_val(_prot) & ~_PAGE_EXEC);
arch/riscv/include/asm/pgtable.h
733
return __pgprot(prot);
arch/riscv/include/asm/pgtable.h
744
return __pgprot(prot);
arch/riscv/kernel/efi.c
48
pgprot_t prot = __pgprot(pgprot_val(efimem_to_pgprot_map(md)) &
arch/riscv/kernel/hibernate.c
372
ret = temp_pgtable_mapping(resume_pg_dir, start, end, __pgprot(_PAGE_WRITE | _PAGE_EXEC));
arch/riscv/kernel/hibernate.c
394
ret = temp_pgtable_mapping(resume_pg_dir, start, end, __pgprot(_PAGE_WRITE));
arch/riscv/kvm/gstage.c
146
__pgprot(_PAGE_TABLE)));
arch/riscv/mm/kasan_init.c
528
__pgprot(_PAGE_PRESENT | _PAGE_READ |
arch/riscv/mm/pageattr.c
114
pgprot_t prot = __pgprot(pmd_val(pmdp_get(pmdp)) & ~_PAGE_PFN_MASK);
arch/riscv/mm/pageattr.c
154
pgprot_t prot = __pgprot(pud_val(pudp_get(pudp)) & ~_PAGE_PFN_MASK);
arch/riscv/mm/pageattr.c
203
pgprot_t prot = __pgprot(p4d_val(p4dp_get(p4dp)) & ~_PAGE_PFN_MASK);
arch/riscv/mm/pageattr.c
351
return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE),
arch/riscv/mm/pageattr.c
352
__pgprot(_PAGE_EXEC));
arch/riscv/mm/pageattr.c
357
return __set_memory(addr, numpages, __pgprot(_PAGE_READ),
arch/riscv/mm/pageattr.c
358
__pgprot(_PAGE_WRITE));
arch/riscv/mm/pageattr.c
363
return __set_memory(addr, numpages, __pgprot(_PAGE_READ | _PAGE_WRITE),
arch/riscv/mm/pageattr.c
364
__pgprot(0));
arch/riscv/mm/pageattr.c
369
return __set_memory(addr, numpages, __pgprot(_PAGE_EXEC), __pgprot(0));
arch/riscv/mm/pageattr.c
374
return __set_memory(addr, numpages, __pgprot(0), __pgprot(_PAGE_EXEC));
arch/riscv/mm/pageattr.c
380
__pgprot(0), __pgprot(_PAGE_PRESENT));
arch/riscv/mm/pageattr.c
386
PAGE_KERNEL, __pgprot(_PAGE_EXEC));
arch/riscv/mm/pageattr.c
395
clear = __pgprot(_PAGE_EXEC);
arch/riscv/mm/pageattr.c
397
set = __pgprot(0);
arch/riscv/mm/pageattr.c
398
clear = __pgprot(_PAGE_PRESENT);
arch/s390/include/asm/pgtable.h
1018
pte = clear_pte_bit(pte, __pgprot(~_PAGE_CHG_MASK));
arch/s390/include/asm/pgtable.h
1025
pte = clear_pte_bit(pte, __pgprot(_PAGE_INVALID));
arch/s390/include/asm/pgtable.h
1031
pte = clear_pte_bit(pte, __pgprot(_PAGE_PROTECT));
arch/s390/include/asm/pgtable.h
1037
pte = clear_pte_bit(pte, __pgprot(_PAGE_WRITE));
arch/s390/include/asm/pgtable.h
1038
return set_pte_bit(pte, __pgprot(_PAGE_PROTECT));
arch/s390/include/asm/pgtable.h
1043
pte = set_pte_bit(pte, __pgprot(_PAGE_WRITE));
arch/s390/include/asm/pgtable.h
1045
pte = clear_pte_bit(pte, __pgprot(_PAGE_PROTECT));
arch/s390/include/asm/pgtable.h
1051
pte = clear_pte_bit(pte, __pgprot(_PAGE_DIRTY));
arch/s390/include/asm/pgtable.h
1052
return set_pte_bit(pte, __pgprot(_PAGE_PROTECT));
arch/s390/include/asm/pgtable.h
1057
pte = set_pte_bit(pte, __pgprot(_PAGE_DIRTY | _PAGE_SOFT_DIRTY));
arch/s390/include/asm/pgtable.h
1059
pte = clear_pte_bit(pte, __pgprot(_PAGE_PROTECT));
arch/s390/include/asm/pgtable.h
1065
pte = clear_pte_bit(pte, __pgprot(_PAGE_YOUNG));
arch/s390/include/asm/pgtable.h
1066
return set_pte_bit(pte, __pgprot(_PAGE_INVALID));
arch/s390/include/asm/pgtable.h
1071
pte = set_pte_bit(pte, __pgprot(_PAGE_YOUNG));
arch/s390/include/asm/pgtable.h
1073
pte = clear_pte_bit(pte, __pgprot(_PAGE_INVALID));
arch/s390/include/asm/pgtable.h
1079
return set_pte_bit(pte, __pgprot(_PAGE_SPECIAL));
arch/s390/include/asm/pgtable.h
1085
return set_pte_bit(pte, __pgprot(_PAGE_LARGE));
arch/s390/include/asm/pgtable.h
1329
entry = clear_pte_bit(entry, __pgprot(_PAGE_UNUSED));
arch/s390/include/asm/pgtable.h
1479
pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_WRITE));
arch/s390/include/asm/pgtable.h
1480
return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1485
pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_WRITE));
arch/s390/include/asm/pgtable.h
1487
pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1493
pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_DIRTY));
arch/s390/include/asm/pgtable.h
1494
return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1499
pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_DIRTY | _SEGMENT_ENTRY_SOFT_DIRTY));
arch/s390/include/asm/pgtable.h
1501
pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1507
pud = clear_pud_bit(pud, __pgprot(_REGION3_ENTRY_WRITE));
arch/s390/include/asm/pgtable.h
1508
return set_pud_bit(pud, __pgprot(_REGION_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1513
pud = set_pud_bit(pud, __pgprot(_REGION3_ENTRY_WRITE));
arch/s390/include/asm/pgtable.h
1515
pud = clear_pud_bit(pud, __pgprot(_REGION_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1521
pud = clear_pud_bit(pud, __pgprot(_REGION3_ENTRY_DIRTY));
arch/s390/include/asm/pgtable.h
1522
return set_pud_bit(pud, __pgprot(_REGION_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1527
pud = set_pud_bit(pud, __pgprot(_REGION3_ENTRY_DIRTY | _REGION3_ENTRY_SOFT_DIRTY));
arch/s390/include/asm/pgtable.h
1529
pud = clear_pud_bit(pud, __pgprot(_REGION_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1553
pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_YOUNG));
arch/s390/include/asm/pgtable.h
1555
pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_INVALID));
arch/s390/include/asm/pgtable.h
1561
pmd = clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_YOUNG));
arch/s390/include/asm/pgtable.h
1562
return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_INVALID));
arch/s390/include/asm/pgtable.h
1575
pmd = set_pmd_bit(pmd, __pgprot(massage_pgprot_pmd(newprot)));
arch/s390/include/asm/pgtable.h
1577
pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
1579
pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_INVALID));
arch/s390/include/asm/pgtable.h
1711
pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_LARGE));
arch/s390/include/asm/pgtable.h
1712
pmd = set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_YOUNG));
arch/s390/include/asm/pgtable.h
1713
return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_PROTECT));
arch/s390/include/asm/pgtable.h
445
#define __pgprot_page_mask(x) __pgprot((x) & page_noexec_mask)
arch/s390/include/asm/pgtable.h
492
#define __pgprot_segment_mask(x) __pgprot((x) & segment_noexec_mask)
arch/s390/include/asm/pgtable.h
524
#define __pgprot_region_mask(x) __pgprot((x) & region_noexec_mask)
arch/s390/include/asm/pgtable.h
863
return set_pte_bit(pte, __pgprot(_PAGE_SWP_EXCLUSIVE));
arch/s390/include/asm/pgtable.h
868
return clear_pte_bit(pte, __pgprot(_PAGE_SWP_EXCLUSIVE));
arch/s390/include/asm/pgtable.h
879
return set_pte_bit(pte, __pgprot(_PAGE_SOFT_DIRTY));
arch/s390/include/asm/pgtable.h
885
return clear_pte_bit(pte, __pgprot(_PAGE_SOFT_DIRTY));
arch/s390/include/asm/pgtable.h
896
return set_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_SOFT_DIRTY));
arch/s390/include/asm/pgtable.h
901
return clear_pmd_bit(pmd, __pgprot(_SEGMENT_ENTRY_SOFT_DIRTY));
arch/s390/include/asm/pgtable.h
952
return __pgprot(pte_flags);
arch/s390/mm/pageattr.c
100
new = set_pte_bit(new, __pgprot(_PAGE_INVALID));
arch/s390/mm/pageattr.c
152
new = set_pmd_bit(new, __pgprot(_SEGMENT_ENTRY_NOEXEC));
arch/s390/mm/pageattr.c
154
new = clear_pmd_bit(new, __pgprot(_SEGMENT_ENTRY_NOEXEC));
arch/s390/mm/pageattr.c
156
new = set_pmd_bit(new, __pgprot(_SEGMENT_ENTRY_INVALID));
arch/s390/mm/pageattr.c
239
new = set_pud_bit(new, __pgprot(_REGION_ENTRY_NOEXEC));
arch/s390/mm/pageattr.c
241
new = clear_pud_bit(new, __pgprot(_REGION_ENTRY_NOEXEC));
arch/s390/mm/pageattr.c
243
new = set_pud_bit(new, __pgprot(_REGION_ENTRY_INVALID));
arch/s390/mm/pageattr.c
454
pte = clear_pte_bit(*ptep, __pgprot(_PAGE_INVALID));
arch/s390/mm/pageattr.c
96
new = set_pte_bit(new, __pgprot(_PAGE_NOEXEC));
arch/s390/mm/pageattr.c
98
new = clear_pte_bit(new, __pgprot(_PAGE_NOEXEC));
arch/s390/mm/pgtable.c
110
set_pte(ptep, set_pte_bit(*ptep, __pgprot(_PAGE_INVALID)));
arch/s390/mm/pgtable.c
230
set_pmd(pmdp, set_pmd_bit(*pmdp, __pgprot(_SEGMENT_ENTRY_INVALID)));
arch/s390/mm/pgtable.c
35
return __pgprot(pgprot_val(prot) | mio_wb_bit_mask);
arch/sh/include/asm/page.h
86
#define pte_pgprot(x) __pgprot(pte_val(x) & PTE_FLAGS_MASK)
arch/sh/include/asm/pgtable_32.h
176
#define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \
arch/sh/include/asm/pgtable_32.h
179
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
arch/sh/include/asm/pgtable_32.h
186
#define PAGE_EXECREAD __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
arch/sh/include/asm/pgtable_32.h
195
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
arch/sh/include/asm/pgtable_32.h
200
#define PAGE_WRITEONLY __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
arch/sh/include/asm/pgtable_32.h
205
#define PAGE_RWX __pgprot(_PAGE_PRESENT | _PAGE_ACCESSED | \
arch/sh/include/asm/pgtable_32.h
214
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
arch/sh/include/asm/pgtable_32.h
222
__pgprot(_PAGE_PRESENT | _PAGE_DIRTY | \
arch/sh/include/asm/pgtable_32.h
229
#define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
arch/sh/include/asm/pgtable_32.h
236
__pgprot(0)
arch/sh/include/asm/pgtable_32.h
239
#define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_CACHABLE | \
arch/sh/include/asm/pgtable_32.h
242
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | \
arch/sh/include/asm/pgtable_32.h
246
#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
arch/sh/include/asm/pgtable_32.h
249
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_CACHABLE | \
arch/sh/include/asm/pgtable_32.h
256
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_CACHABLE | \
arch/sh/include/asm/pgtable_32.h
261
__pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
arch/sh/include/asm/pgtable_32.h
265
#define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT | _PAGE_CACHABLE | \
arch/sh/include/asm/pgtable_32.h
270
__pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | \
arch/sh/include/asm/pgtable_32.h
275
#define PAGE_NONE __pgprot(0)
arch/sh/include/asm/pgtable_32.h
276
#define PAGE_SHARED __pgprot(0)
arch/sh/include/asm/pgtable_32.h
277
#define PAGE_COPY __pgprot(0)
arch/sh/include/asm/pgtable_32.h
278
#define PAGE_EXECREAD __pgprot(0)
arch/sh/include/asm/pgtable_32.h
279
#define PAGE_RWX __pgprot(0)
arch/sh/include/asm/pgtable_32.h
280
#define PAGE_READONLY __pgprot(0)
arch/sh/include/asm/pgtable_32.h
281
#define PAGE_WRITEONLY __pgprot(0)
arch/sh/include/asm/pgtable_32.h
282
#define PAGE_KERNEL __pgprot(0)
arch/sh/include/asm/pgtable_32.h
283
#define PAGE_KERNEL_NOCACHE __pgprot(0)
arch/sh/include/asm/pgtable_32.h
284
#define PAGE_KERNEL_RO __pgprot(0)
arch/sh/include/asm/pgtable_32.h
287
__pgprot(0)
arch/sh/include/asm/pgtable_32.h
379
__pgprot(pgprot_val(prot) & ~_PAGE_CACHABLE)
arch/sh/mm/init.c
107
set_pte(pte, pfn_pte(0, __pgprot(0)));
arch/sh/mm/ioremap_fixed.c
126
__clear_fixmap(idx, __pgprot(_PAGE_WIRED));
arch/sparc/include/asm/highmem.h
32
#define kmap_prot __pgprot(SRMMU_ET_PTE | SRMMU_PRIV | SRMMU_CACHE)
arch/sparc/include/asm/pgtable_32.h
292
pgprot_val(prot) &= ~pgprot_val(__pgprot(SRMMU_CACHE));
arch/sparc/include/asm/pgtable_64.h
351
return __pgprot(val);
arch/sparc/include/asm/pgtable_64.h
789
return __pgprot(val);
arch/sparc/include/asm/pgtsrmmu.h
69
#define SRMMU_PAGE_NONE __pgprot(SRMMU_CACHE | \
arch/sparc/include/asm/pgtsrmmu.h
71
#define SRMMU_PAGE_SHARED __pgprot(SRMMU_VALID | SRMMU_CACHE | \
arch/sparc/include/asm/pgtsrmmu.h
73
#define SRMMU_PAGE_COPY __pgprot(SRMMU_VALID | SRMMU_CACHE | \
arch/sparc/include/asm/pgtsrmmu.h
75
#define SRMMU_PAGE_RDONLY __pgprot(SRMMU_VALID | SRMMU_CACHE | \
arch/sparc/include/asm/pgtsrmmu.h
77
#define SRMMU_PAGE_KERNEL __pgprot(SRMMU_VALID | SRMMU_CACHE | SRMMU_PRIV | \
arch/sparc/mm/init_64.c
1912
(enable ? PAGE_KERNEL : __pgprot(0)), false);
arch/sparc/mm/init_64.c
2630
PAGE_COPY = __pgprot(page_copy);
arch/sparc/mm/init_64.c
2631
PAGE_SHARED = __pgprot(page_shared);
arch/sparc/mm/init_64.c
2633
protection_map[0x0] = __pgprot(page_none);
arch/sparc/mm/init_64.c
2634
protection_map[0x1] = __pgprot(page_readonly & ~page_exec_bit);
arch/sparc/mm/init_64.c
2635
protection_map[0x2] = __pgprot(page_copy & ~page_exec_bit);
arch/sparc/mm/init_64.c
2636
protection_map[0x3] = __pgprot(page_copy & ~page_exec_bit);
arch/sparc/mm/init_64.c
2637
protection_map[0x4] = __pgprot(page_readonly);
arch/sparc/mm/init_64.c
2638
protection_map[0x5] = __pgprot(page_readonly);
arch/sparc/mm/init_64.c
2639
protection_map[0x6] = __pgprot(page_copy);
arch/sparc/mm/init_64.c
2640
protection_map[0x7] = __pgprot(page_copy);
arch/sparc/mm/init_64.c
2641
protection_map[0x8] = __pgprot(page_none);
arch/sparc/mm/init_64.c
2642
protection_map[0x9] = __pgprot(page_readonly & ~page_exec_bit);
arch/sparc/mm/init_64.c
2643
protection_map[0xa] = __pgprot(page_shared & ~page_exec_bit);
arch/sparc/mm/init_64.c
2644
protection_map[0xb] = __pgprot(page_shared & ~page_exec_bit);
arch/sparc/mm/init_64.c
2645
protection_map[0xc] = __pgprot(page_readonly);
arch/sparc/mm/init_64.c
2646
protection_map[0xd] = __pgprot(page_readonly);
arch/sparc/mm/init_64.c
2647
protection_map[0xe] = __pgprot(page_shared);
arch/sparc/mm/init_64.c
2648
protection_map[0xf] = __pgprot(page_shared);
arch/sparc/mm/init_64.c
2657
PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID |
arch/sparc/mm/init_64.c
2661
PAGE_KERNEL_LOCKED = __pgprot (_PAGE_PRESENT_4U | _PAGE_VALID |
arch/sparc/mm/init_64.c
2710
PAGE_KERNEL = __pgprot (_PAGE_PRESENT_4V | _PAGE_VALID |
arch/sparc/mm/init_64.c
3199
return __pgprot(prot);
arch/sparc/mm/io-unit.c
240
dvma_prot = __pgprot(SRMMU_CACHE | SRMMU_ET_PTE | SRMMU_PRIV);
arch/sparc/mm/iommu.c
451
dvma_prot = __pgprot(SRMMU_CACHE | SRMMU_ET_PTE | SRMMU_PRIV);
arch/sparc/mm/iommu.c
454
dvma_prot = __pgprot(SRMMU_ET_PTE | SRMMU_PRIV);
arch/um/include/asm/pgtable.h
63
#define PAGE_NONE __pgprot(_PAGE_PROTNONE | _PAGE_ACCESSED)
arch/um/include/asm/pgtable.h
64
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_USER | _PAGE_ACCESSED)
arch/um/include/asm/pgtable.h
65
#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
arch/um/include/asm/pgtable.h
66
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_ACCESSED)
arch/um/include/asm/pgtable.h
67
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY | _PAGE_ACCESSED)
arch/um/include/asm/pgtable.h
68
#define PAGE_KERNEL_EXEC __pgprot(__PAGE_KERNEL_EXEC)
arch/um/include/asm/pgtable.h
83
#define pte_clear(mm, addr, xp) pte_set_val(*(xp), (phys_t) 0, __pgprot(_PAGE_NEEDSYNC))
arch/x86/include/asm/fixmap.h
194
#define __late_clear_fixmap(idx) __set_fixmap(idx, 0, __pgprot(0))
arch/x86/include/asm/pgtable.h
14
? (__pgprot(pgprot_val(prot) | \
arch/x86/include/asm/pgtable.h
41
#define pgprot_encrypted(prot) __pgprot(cc_mkenc(pgprot_val(prot)))
arch/x86/include/asm/pgtable.h
42
#define pgprot_decrypted(prot) __pgprot(cc_mkdec(pgprot_val(prot)))
arch/x86/include/asm/pgtable.h
768
__pgprot(pmd_flags(pmd) & ~(_PAGE_PRESENT|_PAGE_PROTNONE)));
arch/x86/include/asm/pgtable.h
774
__pgprot(pud_flags(pud) & ~(_PAGE_PRESENT|_PAGE_PROTNONE)));
arch/x86/include/asm/pgtable.h
867
return __pgprot(preservebits | addbits);
arch/x86/include/asm/pgtable.h
870
#define pte_pgprot(x) __pgprot(pte_flags(x))
arch/x86/include/asm/pgtable.h
871
#define pmd_pgprot(x) __pgprot(pmd_flags(x))
arch/x86/include/asm/pgtable.h
872
#define pud_pgprot(x) __pgprot(pud_flags(x))
arch/x86/include/asm/pgtable.h
873
#define p4d_pgprot(x) __pgprot(p4d_flags(x))
arch/x86/include/asm/pgtable.h
875
#define canon_pgprot(p) __pgprot(massage_pgprot(p))
arch/x86/include/asm/pgtable_types.h
203
#define __pg(x) __pgprot(x)
arch/x86/include/asm/pgtable_types.h
245
#define __pgprot_mask(x) __pgprot((x) & __default_kernel_pte_mask)
arch/x86/include/asm/pgtable_types.h
299
return __pgprot(pgprot_val(prot) | _PAGE_NX);
arch/x86/include/asm/pgtable_types.h
502
return __pgprot(protval_4k_2_large(pgprot_val(pgprot)));
arch/x86/include/asm/pgtable_types.h
512
return __pgprot(protval_large_2_4k(pgprot_val(pgprot)));
arch/x86/kernel/alternative.c
2570
pgprot = __pgprot(pgprot_val(PAGE_KERNEL) & ~_PAGE_GLOBAL);
arch/x86/kernel/crash_dump_32.c
25
return pte_pfn(pfn_pte(pfn, __pgprot(0))) == pfn;
arch/x86/kernel/ldt.c
334
pte_prot = __pgprot(__PAGE_KERNEL_RO & ~_PAGE_GLOBAL);
arch/x86/mm/init_32.c
320
__pgprot(PTE_IDENT_ATTR |
arch/x86/mm/init_32.c
351
pgprot_t init_prot = __pgprot(PTE_IDENT_ATTR);
arch/x86/mm/init_64.c
97
return __pgprot(pgprot_val(prot) | _PAGE_PSE);
arch/x86/mm/iomap_32.c
33
*prot = __pgprot(__PAGE_KERNEL | cachemode2protval(pcm));
arch/x86/mm/iomap_32.c
57
prot = __pgprot(__PAGE_KERNEL |
arch/x86/mm/ioremap.c
270
prot = __pgprot(pgprot_val(prot) |
arch/x86/mm/ioremap.c
274
prot = __pgprot(pgprot_val(prot) |
arch/x86/mm/ioremap.c
278
prot = __pgprot(pgprot_val(prot) |
arch/x86/mm/ioremap.c
282
prot = __pgprot(pgprot_val(prot) |
arch/x86/mm/kasan_init_64.c
444
prot = __pgprot(__PAGE_KERNEL_RO | _PAGE_ENC);
arch/x86/mm/pat/cpa-test.c
149
pte0 = pfn_pte(0, __pgprot(0)); /* shut gcc up */
arch/x86/mm/pat/cpa-test.c
37
#define PAGE_CPA_TEST __pgprot(_PAGE_CPA_TEST)
arch/x86/mm/pat/memtype.c
780
*prot = __pgprot((pgprot_val(*prot) & ~_PAGE_CACHE_MASK) |
arch/x86/mm/pat/set_memory.c
1200
__set_pmd_pte(kpte, address, mk_pte(base, __pgprot(_KERNPG_TABLE)));
arch/x86/mm/pat/set_memory.c
1737
pgprot_t pgprot = __pgprot(_KERNPG_TABLE);
arch/x86/mm/pat/set_memory.c
2123
return change_page_attr_set_clr(addr, numpages, mask, __pgprot(0), 0,
arch/x86/mm/pat/set_memory.c
2130
return change_page_attr_set_clr(addr, numpages, __pgprot(0), mask, 0,
arch/x86/mm/pat/set_memory.c
2137
return change_page_attr_set_clr(NULL, numpages, mask, __pgprot(0), 0,
arch/x86/mm/pat/set_memory.c
2144
return change_page_attr_set_clr(NULL, numpages, __pgprot(0), mask, 0,
arch/x86/mm/pat/set_memory.c
2196
__pgprot(_PAGE_CACHE_MASK),
arch/x86/mm/pat/set_memory.c
2229
__pgprot(_PAGE_CACHE_MASK), 0);
arch/x86/mm/pat/set_memory.c
2291
return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_NX), 0);
arch/x86/mm/pat/set_memory.c
2299
return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_NX), 0);
arch/x86/mm/pat/set_memory.c
2304
return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_RW | _PAGE_DIRTY), 0);
arch/x86/mm/pat/set_memory.c
2309
pgprot_t clr = __pgprot(_PAGE_RW | _PAGE_DIRTY);
arch/x86/mm/pat/set_memory.c
2314
return change_page_attr_set_clr(&addr, numpages, __pgprot(0), clr, 0,
arch/x86/mm/pat/set_memory.c
2320
return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_RW), 0);
arch/x86/mm/pat/set_memory.c
2325
return change_page_attr_clear(&addr, numpages, __pgprot(_PAGE_PRESENT), 0);
arch/x86/mm/pat/set_memory.c
2330
return change_page_attr_set_clr(&addr, numpages, __pgprot(0),
arch/x86/mm/pat/set_memory.c
2331
__pgprot(_PAGE_PRESENT), 0,
arch/x86/mm/pat/set_memory.c
2337
return change_page_attr_set(&addr, numpages, __pgprot(_PAGE_PRESENT), 0);
arch/x86/mm/pat/set_memory.c
2343
__pgprot(_PAGE_KERNEL_4K),
arch/x86/mm/pat/set_memory.c
2344
__pgprot(0), 1, 0, NULL);
arch/x86/mm/pat/set_memory.c
2350
__pgprot(_PAGE_GLOBAL), 0);
arch/x86/mm/pat/set_memory.c
2356
__pgprot(_PAGE_GLOBAL), 0);
arch/x86/mm/pat/set_memory.c
2365
pgprot_t empty = __pgprot(0);
arch/x86/mm/pat/set_memory.c
2514
__pgprot(_PAGE_CACHE_MASK),
arch/x86/mm/pat/set_memory.c
2560
__pgprot(_PAGE_CACHE_MASK));
arch/x86/mm/pat/set_memory.c
2596
.mask_set = __pgprot(_PAGE_PRESENT | _PAGE_RW),
arch/x86/mm/pat/set_memory.c
2597
.mask_clr = __pgprot(0),
arch/x86/mm/pat/set_memory.c
2615
.mask_set = __pgprot(0),
arch/x86/mm/pat/set_memory.c
2616
.mask_clr = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY),
arch/x86/mm/pat/set_memory.c
2702
.mask_set = __pgprot(0),
arch/x86/mm/pat/set_memory.c
2703
.mask_clr = __pgprot(~page_flags & (_PAGE_NX|_PAGE_RW|_PAGE_DIRTY)),
arch/x86/mm/pat/set_memory.c
2715
cpa.mask_set = __pgprot(_PAGE_PRESENT | page_flags);
arch/x86/mm/pat/set_memory.c
2745
.mask_set = __pgprot(0),
arch/x86/mm/pat/set_memory.c
2746
.mask_clr = __pgprot(_PAGE_PRESENT | _PAGE_RW | _PAGE_DIRTY),
arch/x86/mm/pat/set_memory.c
658
return __pgprot(pgprot_val(prot) & ~forbidden);
arch/x86/mm/pat/set_memory.c
80
return __pgprot(cachemode2protval(pcm));
arch/x86/mm/pgprot.c
61
return __pgprot(val);
arch/x86/mm/pgtable.c
649
__pgprot(protval_4k_2_large(pgprot_val(prot)) | _PAGE_PSE)));
arch/x86/mm/pgtable.c
681
__pgprot(protval_4k_2_large(pgprot_val(prot)) | _PAGE_PSE)));
arch/x86/power/hibernate_64.c
33
pgprot_t pgtable_prot = __pgprot(_KERNPG_TABLE);
arch/x86/power/hibernate_64.c
34
pgprot_t pmd_text_prot = __pgprot(__PAGE_KERNEL_LARGE_EXEC);
arch/x86/xen/mmu_pv.c
2236
#define VOID_PTE (mfn_pte(0, __pgprot(0)))
arch/xtensa/include/asm/pgtable.h
169
#define PAGE_NONE __pgprot(_PAGE_NONE | _PAGE_USER)
arch/xtensa/include/asm/pgtable.h
170
#define PAGE_COPY __pgprot(_PAGE_PRESENT | _PAGE_USER)
arch/xtensa/include/asm/pgtable.h
171
#define PAGE_COPY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
arch/xtensa/include/asm/pgtable.h
172
#define PAGE_READONLY __pgprot(_PAGE_PRESENT | _PAGE_USER)
arch/xtensa/include/asm/pgtable.h
173
#define PAGE_READONLY_EXEC __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_HW_EXEC)
arch/xtensa/include/asm/pgtable.h
174
#define PAGE_SHARED __pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE)
arch/xtensa/include/asm/pgtable.h
176
__pgprot(_PAGE_PRESENT | _PAGE_USER | _PAGE_WRITABLE | _PAGE_HW_EXEC)
arch/xtensa/include/asm/pgtable.h
177
#define PAGE_KERNEL __pgprot(_PAGE_PRESENT | _PAGE_HW_WRITE)
arch/xtensa/include/asm/pgtable.h
178
#define PAGE_KERNEL_RO __pgprot(_PAGE_PRESENT)
arch/xtensa/include/asm/pgtable.h
179
#define PAGE_KERNEL_EXEC __pgprot(_PAGE_PRESENT|_PAGE_HW_WRITE|_PAGE_HW_EXEC)
arch/xtensa/include/asm/pgtable.h
190
# define PAGE_NONE __pgprot(0)
arch/xtensa/include/asm/pgtable.h
191
# define PAGE_SHARED __pgprot(0)
arch/xtensa/include/asm/pgtable.h
192
# define PAGE_COPY __pgprot(0)
arch/xtensa/include/asm/pgtable.h
193
# define PAGE_READONLY __pgprot(0)
arch/xtensa/include/asm/pgtable.h
194
# define PAGE_KERNEL __pgprot(0)
arch/xtensa/include/asm/pgtable.h
268
((__pgprot((pgprot_val(prot) & ~_PAGE_CA_MASK) | \
drivers/gpu/drm/i915/i915_mm.c
106
r.prot = __pgprot((pgprot_val(iomap->prot) & _PAGE_CACHE_MASK) |
drivers/tty/serial/samsung_tty.c
2860
__pgprot(PROT_DEVICE_nGnRnE));
include/asm-generic/fixmap.h
60
#define FIXMAP_PAGE_CLEAR __pgprot(0)
include/asm-generic/io.h
1157
return ioremap_prot(addr, size, __pgprot(_PAGE_IOREMAP));
include/linux/mm.h
4110
return __pgprot(0);
mm/early_ioremap.c
250
__pgprot(prot_val));
mm/memory.c
6908
pgprot_t prot = __pgprot(0);
tools/testing/vma/include/dup.h
730
return __pgprot(pgprot_val(oldprot) | pgprot_val(newprot));
tools/testing/vma/include/dup.h
735
return __pgprot(vm_flags);