arch/alpha/include/asm/page.h
38
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/alpha/include/asm/pgtable.h
174
extern inline pte_t pfn_pte(unsigned long physpfn, pgprot_t pgprot)
arch/alpha/include/asm/pgtable.h
177
extern inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/alpha/kernel/proto.h
198
pgprot_t prot;
arch/alpha/mm/init.c
247
static const pgprot_t protection_map[16] = {
arch/arc/include/asm/hugepage.h
47
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/arc/include/asm/page.h
84
#define __pgprot(x) ((pgprot_t) { (x) })
arch/arc/include/asm/pgtable-bits-arcv2.h
98
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/arc/mm/ioremap.c
47
pgprot_t prot)
arch/arc/mm/mmap.c
62
static const pgprot_t protection_map[16] = {
arch/arm/include/asm/fixmap.h
56
void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
arch/arm/include/asm/pgtable-2level-types.h
33
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/arm/include/asm/pgtable-3level-types.h
37
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/arm/include/asm/pgtable-3level.h
222
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/arm/include/asm/pgtable.h
131
extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/arm/include/asm/pgtable.h
132
unsigned long size, pgprot_t vma_prot);
arch/arm/include/asm/pgtable.h
216
static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot)
arch/arm/include/asm/pgtable.h
222
static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot)
arch/arm/include/asm/pgtable.h
268
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/arm/include/asm/pgtable.h
88
extern pgprot_t pgprot_user;
arch/arm/include/asm/pgtable.h
89
extern pgprot_t pgprot_kernel;
arch/arm/mm/dma-mapping.c
1076
pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL);
arch/arm/mm/dma-mapping.c
177
pgprot_t prot, struct page **ret_page,
arch/arm/mm/dma-mapping.c
182
pgprot_t prot, struct page **ret_page,
arch/arm/mm/dma-mapping.c
202
pgprot_t prot = pgprot_dmacoherent(PAGE_KERNEL);
arch/arm/mm/dma-mapping.c
313
pgprot_t prot = *(pgprot_t *)data;
arch/arm/mm/dma-mapping.c
319
static void __dma_remap(struct page *page, size_t size, pgprot_t prot)
arch/arm/mm/dma-mapping.c
329
pgprot_t prot, struct page **ret_page,
arch/arm/mm/dma-mapping.c
392
pgprot_t prot, struct page **ret_page,
arch/arm/mm/dma-mapping.c
438
static inline pgprot_t __get_dma_pgprot(unsigned long attrs, pgprot_t prot)
arch/arm/mm/dma-mapping.c
45
pgprot_t prot;
arch/arm/mm/dma-mapping.c
534
gfp_t gfp, pgprot_t prot, bool is_coherent,
arch/arm/mm/fault-armv.c
250
pgprot_t prot = __pgprot_modify(PAGE_KERNEL,
arch/arm/mm/mmu.c
397
void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot)
arch/arm/mm/mmu.c
419
static pgprot_t protection_map[16] __ro_after_init = {
arch/arm/mm/mmu.c
66
pgprot_t pgprot_user;
arch/arm/mm/mmu.c
67
pgprot_t pgprot_kernel;
arch/arm/mm/mmu.c
713
pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/arm/mm/mmu.c
714
unsigned long size, pgprot_t vma_prot)
arch/arm/mm/pageattr.c
12
pgprot_t set_mask;
arch/arm/mm/pageattr.c
13
pgprot_t clear_mask;
arch/arm/mm/pageattr.c
39
pgprot_t set_mask, pgprot_t clear_mask)
arch/arm/mm/pageattr.c
55
pgprot_t set_mask, pgprot_t clear_mask)
arch/arm64/include/asm/acpi.h
173
static inline pgprot_t arch_apei_get_mem_attribute(phys_addr_t addr)
arch/arm64/include/asm/acpi.h
69
pgprot_t __acpi_get_mem_attribute(phys_addr_t addr);
arch/arm64/include/asm/fixmap.h
116
extern void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot);
arch/arm64/include/asm/io.h
265
pgprot_t *prot);
arch/arm64/include/asm/io.h
267
void __iomem *__ioremap_prot(phys_addr_t phys, size_t size, pgprot_t prot);
arch/arm64/include/asm/io.h
270
pgprot_t user_prot)
arch/arm64/include/asm/io.h
272
pgprot_t prot;
arch/arm64/include/asm/mmu.h
75
phys_addr_t size, pgprot_t prot);
arch/arm64/include/asm/mmu.h
78
pgprot_t prot, bool page_mappings_only);
arch/arm64/include/asm/mmu.h
79
extern void *fixmap_remap_fdt(phys_addr_t dt_phys, int *size, pgprot_t prot);
arch/arm64/include/asm/pgtable-types.h
59
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/arm64/include/asm/pgtable.h
1221
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/arm64/include/asm/pgtable.h
1245
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/arm64/include/asm/pgtable.h
236
static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot)
arch/arm64/include/asm/pgtable.h
242
static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot)
arch/arm64/include/asm/pgtable.h
248
static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot)
arch/arm64/include/asm/pgtable.h
254
static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot)
arch/arm64/include/asm/pgtable.h
461
static inline pgprot_t pte_pgprot(pte_t pte)
arch/arm64/include/asm/pgtable.h
518
static inline pgprot_t mk_pud_sect_prot(pgprot_t prot)
arch/arm64/include/asm/pgtable.h
523
static inline pgprot_t mk_pmd_sect_prot(pgprot_t prot)
arch/arm64/include/asm/pgtable.h
659
static inline pgprot_t pmd_pgprot(pmd_t pmd)
arch/arm64/include/asm/pgtable.h
667
static inline pgprot_t pud_pgprot(pud_t pud)
arch/arm64/include/asm/pgtable.h
775
extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/arm64/include/asm/pgtable.h
776
unsigned long size, pgprot_t vma_prot);
arch/arm64/include/asm/vmalloc.h
10
static inline bool arch_vmap_pud_supported(pgprot_t prot)
arch/arm64/include/asm/vmalloc.h
16
static inline bool arch_vmap_pmd_supported(pgprot_t prot)
arch/arm64/include/asm/vmalloc.h
69
static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot)
arch/arm64/kernel/acpi.c
261
static pgprot_t __acpi_get_writethrough_mem_attribute(void)
arch/arm64/kernel/acpi.c
273
pgprot_t __acpi_get_mem_attribute(phys_addr_t addr)
arch/arm64/kernel/acpi.c
298
pgprot_t prot;
arch/arm64/kernel/efi.c
40
pgprot_t prot = __pgprot(PROT_DEVICE_nGnRE);
arch/arm64/kernel/pi/map_kernel.c
24
void *start, void *end, pgprot_t prot,
arch/arm64/kernel/pi/map_kernel.c
44
pgprot_t text_prot = PAGE_KERNEL_ROX;
arch/arm64/kernel/pi/map_kernel.c
45
pgprot_t data_prot = PAGE_KERNEL;
arch/arm64/kernel/pi/map_kernel.c
46
pgprot_t prot;
arch/arm64/kernel/pi/map_range.c
30
pgprot_t prot, int level, pte_t *tbl, bool may_use_cont,
arch/arm64/kernel/pi/map_range.c
94
pgprot_t text_prot = PAGE_KERNEL_ROX;
arch/arm64/kernel/pi/map_range.c
95
pgprot_t data_prot = PAGE_KERNEL;
arch/arm64/kernel/pi/pi.h
33
pgprot_t prot, int level, pte_t *tbl, bool may_use_cont,
arch/arm64/kernel/rsi.c
132
static int realm_ioremap_hook(phys_addr_t phys, size_t size, pgprot_t *prot)
arch/arm64/kvm/nested.c
1448
pgprot_t prot;
arch/arm64/mm/contpte.c
261
pgprot_t prot;
arch/arm64/mm/contpte.c
361
pgprot_t orig_prot)
arch/arm64/mm/contpte.c
363
pgprot_t prot = pte_pgprot(pte_mkold(pte_mkclean(pte)));
arch/arm64/mm/contpte.c
388
pgprot_t orig_prot;
arch/arm64/mm/contpte.c
457
pgprot_t prot;
arch/arm64/mm/fixmap.c
120
phys_addr_t phys, pgprot_t flags)
arch/arm64/mm/fixmap.c
137
void *__init fixmap_remap_fdt(phys_addr_t dt_phys, int *size, pgprot_t prot)
arch/arm64/mm/ioremap.c
18
pgprot_t pgprot)
arch/arm64/mm/mmap.c
16
static pgprot_t protection_map[16] __ro_after_init = {
arch/arm64/mm/mmap.c
88
pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
arch/arm64/mm/mmu.c
1004
phys_addr_t size, pgprot_t prot)
arch/arm64/mm/mmu.c
1020
phys_addr_t end, pgprot_t prot, int flags)
arch/arm64/mm/mmu.c
104
pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/arm64/mm/mmu.c
105
unsigned long size, pgprot_t vma_prot)
arch/arm64/mm/mmu.c
1315
static pgprot_t __init kernel_exec_prot(void)
arch/arm64/mm/mmu.c
1327
pgprot_t prot = kernel_exec_prot();
arch/arm64/mm/mmu.c
1368
pgprot_t prot, int level, pte_t *tbl, bool may_use_cont,
arch/arm64/mm/mmu.c
175
phys_addr_t phys, pgprot_t prot)
arch/arm64/mm/mmu.c
1794
int pud_set_huge(pud_t *pudp, phys_addr_t phys, pgprot_t prot)
arch/arm64/mm/mmu.c
1808
int pmd_set_huge(pmd_t *pmdp, phys_addr_t phys, pgprot_t prot)
arch/arm64/mm/mmu.c
199
pgprot_t prot,
arch/arm64/mm/mmu.c
228
pgprot_t __prot = prot;
arch/arm64/mm/mmu.c
254
phys_addr_t phys, pgprot_t prot,
arch/arm64/mm/mmu.c
294
pgprot_t prot,
arch/arm64/mm/mmu.c
327
pgprot_t __prot = prot;
arch/arm64/mm/mmu.c
351
phys_addr_t phys, pgprot_t prot,
arch/arm64/mm/mmu.c
417
phys_addr_t phys, pgprot_t prot,
arch/arm64/mm/mmu.c
469
pgprot_t prot,
arch/arm64/mm/mmu.c
502
pgprot_t prot,
arch/arm64/mm/mmu.c
518
pgprot_t prot,
arch/arm64/mm/mmu.c
591
pgprot_t prot = pmd_pgprot(pmd);
arch/arm64/mm/mmu.c
636
pgprot_t prot = pud_pgprot(pud);
arch/arm64/mm/mmu.c
977
phys_addr_t size, pgprot_t prot)
arch/arm64/mm/mmu.c
990
pgprot_t prot, bool page_mappings_only)
arch/arm64/mm/pageattr.c
101
pgprot_t set_mask, pgprot_t clear_mask)
arch/arm64/mm/pageattr.c
128
pgprot_t set_mask, pgprot_t clear_mask)
arch/arm64/mm/pageattr.c
145
pgprot_t set_mask, pgprot_t clear_mask)
arch/arm64/mm/pageattr.c
20
pgprot_t set_mask;
arch/arm64/mm/pageattr.c
21
pgprot_t clear_mask;
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/csky/include/asm/page.h
62
#define __pgprot(x) ((pgprot_t) { (x) })
arch/csky/include/asm/pgtable.h
222
extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/csky/include/asm/pgtable.h
223
unsigned long size, pgprot_t vma_prot);
arch/csky/include/asm/pgtable.h
233
static inline pgprot_t pgprot_noncached(pgprot_t _prot)
arch/csky/include/asm/pgtable.h
243
static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
arch/csky/include/asm/pgtable.h
252
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/csky/mm/init.c
134
static const pgprot_t protection_map[16] = {
arch/csky/mm/ioremap.c
8
pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/csky/mm/ioremap.c
9
unsigned long size, pgprot_t vma_prot)
arch/hexagon/include/asm/page.h
73
#define __pgprot(x) ((pgprot_t) { (x) })
arch/hexagon/include/asm/pgtable.h
285
static inline pte_t pte_modify(pte_t pte, pgprot_t prot)
arch/hexagon/mm/init.c
204
static const pgprot_t protection_map[16] = {
arch/loongarch/include/asm/fixmap.h
24
phys_addr_t phys, pgprot_t flags);
arch/loongarch/include/asm/io.h
26
pgprot_t prot)
arch/loongarch/include/asm/page.h
58
#define __pgprot(x) ((pgprot_t) { (x) })
arch/loongarch/include/asm/pgtable-bits.h
131
static inline pgprot_t pgprot_nx(pgprot_t _prot)
arch/loongarch/include/asm/pgtable-bits.h
138
static inline pgprot_t pgprot_noncached(pgprot_t _prot)
arch/loongarch/include/asm/pgtable-bits.h
151
static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
arch/loongarch/include/asm/pgtable.h
458
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/loongarch/include/asm/pgtable.h
584
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/loongarch/mm/cache.c
161
static const pgprot_t protection_map[16] = {
arch/loongarch/mm/init.c
181
phys_addr_t phys, pgprot_t flags)
arch/loongarch/mm/pageattr.c
107
static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask, pgprot_t clear_mask)
arch/loongarch/mm/pageattr.c
13
pgprot_t set_mask;
arch/loongarch/mm/pageattr.c
14
pgprot_t clear_mask;
arch/loongarch/mm/pageattr.c
224
pgprot_t set, clear;
arch/m68k/include/asm/mcf_pgtable.h
99
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/m68k/include/asm/motorola_pgtable.h
84
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/m68k/include/asm/page.h
45
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/m68k/include/asm/pgtable_mm.h
171
pgprot_t pgprot_dmacoherent(pgprot_t prot);
arch/m68k/include/asm/sun3_pgtable.h
79
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/m68k/include/asm/video.h
8
static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
arch/m68k/kernel/dma.c
17
pgprot_t pgprot_dmacoherent(pgprot_t prot)
arch/m68k/mm/mcfmmu.c
218
static const pgprot_t protection_map[16] = {
arch/m68k/mm/motorola.c
406
static pgprot_t protection_map[16] __ro_after_init = {
arch/m68k/mm/sun3mmu.c
84
static const pgprot_t protection_map[16] = {
arch/microblaze/include/asm/fixmap.h
56
phys_addr_t phys, pgprot_t flags);
arch/microblaze/include/asm/page.h
67
# define __pgprot(x) ((pgprot_t) { (x) })
arch/microblaze/include/asm/pgtable.h
280
static inline pte_t mk_pte_phys(phys_addr_t physpage, pgprot_t pgprot)
arch/microblaze/include/asm/pgtable.h
287
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/microblaze/mm/init.c
241
static const pgprot_t protection_map[16] = {
arch/microblaze/mm/pgtable.c
256
void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags)
arch/mips/include/asm/io.h
118
pgprot_t prot);
arch/mips/include/asm/page.h
138
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/mips/include/asm/pgtable-32.h
158
pfn_pte(unsigned long pfn, pgprot_t prot)
arch/mips/include/asm/pgtable-32.h
174
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot)
arch/mips/include/asm/pgtable.h
460
static inline pgprot_t pgprot_noncached(pgprot_t _prot)
arch/mips/include/asm/pgtable.h
471
static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
arch/mips/include/asm/pgtable.h
508
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/mips/include/asm/pgtable.h
517
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/mips/include/asm/pgtable.h
526
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/mips/include/asm/pgtable.h
715
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/mips/include/asm/video.h
6
static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
arch/mips/mm/cache.c
179
static pgprot_t protection_map[16] __ro_after_init;
arch/mips/mm/init.c
76
static void *__kmap_pgprot(struct page *page, unsigned long addr, pgprot_t prot)
arch/mips/mm/ioremap.c
47
pgprot_t prot)
arch/mips/mm/ioremap64.c
6
pgprot_t prot)
arch/nios2/include/asm/page.h
67
#define __pgprot(x) ((pgprot_t) { (x) })
arch/nios2/include/asm/pgtable.h
153
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/nios2/include/asm/pgtable.h
96
static inline pgprot_t pgprot_noncached(pgprot_t _prot)
arch/nios2/mm/init.c
116
static const pgprot_t protection_map[16] = {
arch/nios2/mm/ioremap.c
28
pgprot_t pgprot = __pgprot(_PAGE_GLOBAL | _PAGE_PRESENT | _PAGE_READ
arch/openrisc/include/asm/fixmap.h
41
phys_addr_t phys, pgprot_t flags);
arch/openrisc/include/asm/page.h
55
#define __pgprot(x) ((pgprot_t) { (x) })
arch/openrisc/include/asm/pgtable.h
277
static inline pte_t __mk_pte(void *page, pgprot_t pgprot)
arch/openrisc/include/asm/pgtable.h
293
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/openrisc/mm/init.c
199
static int __init map_page(unsigned long va, phys_addr_t pa, pgprot_t prot)
arch/openrisc/mm/init.c
228
phys_addr_t phys, pgprot_t prot)
arch/openrisc/mm/init.c
240
static const pgprot_t protection_map[16] = {
arch/openrisc/mm/init.c
62
pgprot_t prot;
arch/parisc/include/asm/page.h
53
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/parisc/include/asm/pgtable.h
350
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
arch/parisc/include/asm/pgtable.h
357
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/parisc/mm/init.c
345
pgprot_t pgprot, int force)
arch/parisc/mm/init.c
396
pgprot_t prot;
arch/parisc/mm/init.c
962
static const pgprot_t protection_map[16] = {
arch/parisc/mm/ioremap.c
17
pgprot_t prot)
arch/powerpc/include/asm/book3s/32/pgtable.h
137
int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot);
arch/powerpc/include/asm/book3s/32/pgtable.h
452
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
arch/powerpc/include/asm/book3s/32/pgtable.h
517
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/powerpc/include/asm/book3s/32/pgtable.h
572
static inline pgprot_t pgprot_noncached(pgprot_t prot)
arch/powerpc/include/asm/book3s/32/pgtable.h
579
static inline pgprot_t pgprot_noncached_wc(pgprot_t prot)
arch/powerpc/include/asm/book3s/32/pgtable.h
586
static inline pgprot_t pgprot_cached(pgprot_t prot)
arch/powerpc/include/asm/book3s/32/pgtable.h
593
static inline pgprot_t pgprot_cached_wthru(pgprot_t prot)
arch/powerpc/include/asm/book3s/32/pgtable.h
600
static inline pgprot_t pgprot_cached_noncoherent(pgprot_t prot)
arch/powerpc/include/asm/book3s/32/pgtable.h
606
static inline pgprot_t pgprot_writecombine(pgprot_t prot)
arch/powerpc/include/asm/book3s/64/hash-64k.h
174
unsigned long pfn, unsigned long size, pgprot_t);
arch/powerpc/include/asm/book3s/64/hash-64k.h
176
unsigned long pfn, pgprot_t prot)
arch/powerpc/include/asm/book3s/64/hash.h
287
int hash__map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot);
arch/powerpc/include/asm/book3s/64/hash.h
295
int nid, pgprot_t prot);
arch/powerpc/include/asm/book3s/64/pgtable-64k.h
11
unsigned long pfn, pgprot_t prot)
arch/powerpc/include/asm/book3s/64/pgtable.h
1001
static inline int map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot)
arch/powerpc/include/asm/book3s/64/pgtable.h
1105
extern pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot);
arch/powerpc/include/asm/book3s/64/pgtable.h
1106
extern pud_t pfn_pud(unsigned long pfn, pgprot_t pgprot);
arch/powerpc/include/asm/book3s/64/pgtable.h
1107
extern pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot);
arch/powerpc/include/asm/book3s/64/pgtable.h
1108
extern pud_t pud_modify(pud_t pud, pgprot_t newprot);
arch/powerpc/include/asm/book3s/64/pgtable.h
564
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
arch/powerpc/include/asm/book3s/64/pgtable.h
626
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/powerpc/include/asm/book3s/64/pgtable.h
766
static inline pgprot_t pgprot_noncached(pgprot_t prot)
arch/powerpc/include/asm/book3s/64/pgtable.h
773
static inline pgprot_t pgprot_noncached_wc(pgprot_t prot)
arch/powerpc/include/asm/book3s/64/pgtable.h
780
static inline pgprot_t pgprot_cached(pgprot_t prot)
arch/powerpc/include/asm/book3s/64/pgtable.h
786
static inline pgprot_t pgprot_writecombine(pgprot_t prot)
arch/powerpc/include/asm/book3s/64/radix.h
331
pgprot_t flags, unsigned int psz);
arch/powerpc/include/asm/book3s/64/radix.h
351
int nid, pgprot_t prot);
arch/powerpc/include/asm/fixmap.h
94
phys_addr_t phys, pgprot_t flags)
arch/powerpc/include/asm/io.h
836
unsigned long size, pgprot_t prot);
arch/powerpc/include/asm/io.h
839
pgprot_t prot, void *caller);
arch/powerpc/include/asm/machdep.h
114
pgprot_t (*phys_mem_access_prot)(unsigned long pfn,
arch/powerpc/include/asm/machdep.h
116
pgprot_t vma_prot);
arch/powerpc/include/asm/nohash/pgtable.h
263
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot) {
arch/powerpc/include/asm/nohash/pgtable.h
295
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/powerpc/include/asm/nohash/pgtable.h
384
int map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot);
arch/powerpc/include/asm/pci.h
108
extern pgprot_t pci_phys_mem_access_prot(unsigned long pfn,
arch/powerpc/include/asm/pci.h
110
pgprot_t prot);
arch/powerpc/include/asm/pgtable-be-types.h
69
#define __pgprot(x) ((pgprot_t) { (x) })
arch/powerpc/include/asm/pgtable-types.h
72
#define __pgprot(x) ((pgprot_t) { (x) })
arch/powerpc/include/asm/pgtable.h
114
pgprot_t __phys_mem_access_prot(unsigned long pfn, unsigned long size,
arch/powerpc/include/asm/pgtable.h
115
pgprot_t vma_prot);
arch/powerpc/include/asm/pgtable.h
118
static inline pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/powerpc/include/asm/pgtable.h
119
unsigned long size, pgprot_t vma_prot)
arch/powerpc/include/asm/pgtable.h
58
static inline pgprot_t pte_pgprot(pte_t pte)
arch/powerpc/include/asm/pgtable.h
66
static inline pgprot_t pgprot_nx(pgprot_t prot)
arch/powerpc/include/asm/pgtable.h
92
extern const pgprot_t protection_map[16];
arch/powerpc/include/asm/video.h
7
static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
arch/powerpc/include/asm/vmalloc.h
10
static __always_inline bool arch_vmap_pud_supported(pgprot_t prot)
arch/powerpc/include/asm/vmalloc.h
17
static __always_inline bool arch_vmap_pmd_supported(pgprot_t prot)
arch/powerpc/kernel/pci-common.c
524
pgprot_t pci_phys_mem_access_prot(unsigned long pfn,
arch/powerpc/kernel/pci-common.c
526
pgprot_t prot)
arch/powerpc/mm/book3s32/mmu.c
117
unsigned int size, pgprot_t prot)
arch/powerpc/mm/book3s32/mmu.c
259
unsigned int size, pgprot_t prot)
arch/powerpc/mm/book3s64/hash_pgtable.c
148
int hash__map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot)
arch/powerpc/mm/book3s64/hash_utils.c
1237
int nid, pgprot_t prot)
arch/powerpc/mm/book3s64/pgtable.c
244
static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot)
arch/powerpc/mm/book3s64/pgtable.c
249
static pud_t pud_set_protbits(pud_t pud, pgprot_t pgprot)
arch/powerpc/mm/book3s64/pgtable.c
259
pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot)
arch/powerpc/mm/book3s64/pgtable.c
268
pud_t pfn_pud(unsigned long pfn, pgprot_t pgprot)
arch/powerpc/mm/book3s64/pgtable.c
277
pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/powerpc/mm/book3s64/pgtable.c
286
pud_t pud_modify(pud_t pud, pgprot_t newprot)
arch/powerpc/mm/book3s64/pgtable.c
309
int nid, pgprot_t prot)
arch/powerpc/mm/book3s64/pgtable.c
653
pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
arch/powerpc/mm/book3s64/radix_pgtable.c
125
pgprot_t flags,
arch/powerpc/mm/book3s64/radix_pgtable.c
1615
int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot)
arch/powerpc/mm/book3s64/radix_pgtable.c
1662
int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot)
arch/powerpc/mm/book3s64/radix_pgtable.c
181
pgprot_t flags,
arch/powerpc/mm/book3s64/radix_pgtable.c
299
int nid, pgprot_t _prot,
arch/powerpc/mm/book3s64/radix_pgtable.c
304
pgprot_t prot;
arch/powerpc/mm/book3s64/radix_pgtable.c
73
pgprot_t flags,
arch/powerpc/mm/book3s64/radix_pgtable.c
935
pgprot_t prot)
arch/powerpc/mm/book3s64/radix_pgtable.c
955
pgprot_t flags, unsigned int map_page_size,
arch/powerpc/mm/ioremap.c
13
pgprot_t prot = pgprot_noncached(PAGE_KERNEL);
arch/powerpc/mm/ioremap.c
22
pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL);
arch/powerpc/mm/ioremap.c
31
pgprot_t prot = pgprot_cached(PAGE_KERNEL);
arch/powerpc/mm/ioremap.c
37
void __iomem *ioremap_prot(phys_addr_t addr, size_t size, pgprot_t prot)
arch/powerpc/mm/ioremap.c
51
unsigned long size, pgprot_t prot)
arch/powerpc/mm/ioremap_32.c
11
pgprot_t prot = pgprot_cached_wthru(PAGE_KERNEL);
arch/powerpc/mm/ioremap_32.c
18
__ioremap_caller(phys_addr_t addr, unsigned long size, pgprot_t prot, void *caller)
arch/powerpc/mm/ioremap_64.c
8
pgprot_t prot, void *caller)
arch/powerpc/mm/kasan/init_32.c
103
pgprot_t prot = kasan_prot_ro();
arch/powerpc/mm/kasan/init_32.c
13
static pgprot_t __init kasan_prot_ro(void)
arch/powerpc/mm/kasan/init_32.c
21
static void __init kasan_populate_pte(pte_t *ptep, pgprot_t prot)
arch/powerpc/mm/kasan/init_book3e_64.c
32
static int __init kasan_map_kernel_page(unsigned long ea, unsigned long pa, pgprot_t prot)
arch/powerpc/mm/mem.c
399
pgprot_t kprobes_prot = strict_module_rwx_enabled() ? PAGE_KERNEL_ROX : PAGE_KERNEL_EXEC;
arch/powerpc/mm/mem.c
400
pgprot_t prot = strict_module_rwx_enabled() ? PAGE_KERNEL : PAGE_KERNEL_EXEC;
arch/powerpc/mm/mem.c
44
pgprot_t __phys_mem_access_prot(unsigned long pfn, unsigned long size,
arch/powerpc/mm/mem.c
45
pgprot_t vma_prot)
arch/powerpc/mm/mem.c
69
int nid, pgprot_t prot)
arch/powerpc/mm/mmu_decl.h
181
int nid, pgprot_t prot);
arch/powerpc/mm/mmu_decl.h
93
unsigned int size, pgprot_t prot);
arch/powerpc/mm/nohash/8xx.c
118
pgprot_t prot, bool new)
arch/powerpc/mm/nohash/8xx.c
53
pgprot_t prot, int psize, bool new)
arch/powerpc/mm/nohash/book3e_pgtable.c
74
int __ref map_kernel_page(unsigned long ea, phys_addr_t pa, pgprot_t prot)
arch/powerpc/mm/nohash/e500.c
179
pgprot_t prot = init ? PAGE_KERNEL_X : PAGE_KERNEL_ROX;
arch/powerpc/mm/nohash/e500.c
192
pgprot_t prot = init ? PAGE_KERNEL_X : PAGE_KERNEL;
arch/powerpc/mm/pgtable.c
546
const pgprot_t protection_map[16] = {
arch/powerpc/mm/pgtable_32.c
68
int __ref map_kernel_page(unsigned long va, phys_addr_t pa, pgprot_t prot)
arch/powerpc/platforms/book3s/vas-api.c
511
pgprot_t prot;
arch/powerpc/platforms/powernv/opal-prd.c
116
pgprot_t page_prot;
arch/riscv/include/asm/fixmap.h
62
phys_addr_t phys, pgprot_t prot);
arch/riscv/include/asm/mmu.h
42
pgprot_t prot);
arch/riscv/include/asm/page.h
81
#define __pgprot(x) ((pgprot_t) { (x) })
arch/riscv/include/asm/pgtable-64.h
213
static inline pud_t pfn_pud(unsigned long pfn, pgprot_t prot)
arch/riscv/include/asm/pgtable-64.h
253
static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot)
arch/riscv/include/asm/pgtable-64.h
314
static inline p4d_t pfn_p4d(unsigned long pfn, pgprot_t prot)
arch/riscv/include/asm/pgtable.h
1163
static inline pud_t pud_modify(pud_t pud, pgprot_t newprot)
arch/riscv/include/asm/pgtable.h
255
static inline pgd_t pfn_pgd(unsigned long pfn, pgprot_t prot)
arch/riscv/include/asm/pgtable.h
335
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot)
arch/riscv/include/asm/pgtable.h
345
static inline pgprot_t pte_pgprot(pte_t pte)
arch/riscv/include/asm/pgtable.h
558
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/riscv/include/asm/pgtable.h
720
static inline pgprot_t pgprot_nx(pgprot_t _prot)
arch/riscv/include/asm/pgtable.h
726
static inline pgprot_t pgprot_noncached(pgprot_t _prot)
arch/riscv/include/asm/pgtable.h
737
static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
arch/riscv/include/asm/pgtable.h
799
static inline pgprot_t pmd_pgprot(pmd_t pmd)
arch/riscv/include/asm/pgtable.h
805
static inline pgprot_t pud_pgprot(pud_t pud)
arch/riscv/include/asm/pgtable.h
810
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/riscv/include/asm/vmalloc.h
12
static inline bool arch_vmap_pud_supported(pgprot_t prot)
arch/riscv/include/asm/vmalloc.h
18
static inline bool arch_vmap_pmd_supported(pgprot_t prot)
arch/riscv/kernel/acpi.c
230
pgprot_t prot;
arch/riscv/kernel/efi.c
19
static __init pgprot_t efimem_to_pgprot_map(efi_memory_desc_t *md)
arch/riscv/kernel/efi.c
48
pgprot_t prot = __pgprot(pgprot_val(efimem_to_pgprot_map(md)) &
arch/riscv/kernel/hibernate.c
169
unsigned long end, pgprot_t prot)
arch/riscv/kernel/hibernate.c
196
unsigned long end, pgprot_t prot)
arch/riscv/kernel/hibernate.c
235
unsigned long end, pgprot_t prot)
arch/riscv/kernel/hibernate.c
274
unsigned long end, pgprot_t prot)
arch/riscv/kernel/hibernate.c
312
static int temp_pgtable_mapping(pgd_t *pgdp, unsigned long start, unsigned long end, pgprot_t prot)
arch/riscv/kvm/gstage.c
172
pgprot_t prot;
arch/riscv/kvm/mmu.c
42
pgprot_t prot;
arch/riscv/mm/init.c
1263
uintptr_t fixed_map_size, const pgprot_t *pgprot)
arch/riscv/mm/init.c
370
static const pgprot_t protection_map[16] = {
arch/riscv/mm/init.c
390
void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot)
arch/riscv/mm/init.c
450
pgprot_t prot)
arch/riscv/mm/init.c
532
phys_addr_t sz, pgprot_t prot)
arch/riscv/mm/init.c
634
pgprot_t prot)
arch/riscv/mm/init.c
660
pgprot_t prot)
arch/riscv/mm/init.c
717
pgprot_t prot)
arch/riscv/mm/init.c
778
static __meminit pgprot_t pgprot_from_va(uintptr_t va)
arch/riscv/mm/init.c
803
static __meminit pgprot_t pgprot_from_va(uintptr_t va)
arch/riscv/mm/pageattr.c
114
pgprot_t prot = __pgprot(pmd_val(pmdp_get(pmdp)) & ~_PAGE_PFN_MASK);
arch/riscv/mm/pageattr.c
14
pgprot_t set_mask;
arch/riscv/mm/pageattr.c
15
pgprot_t clear_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
262
static int __set_memory(unsigned long addr, int numpages, pgprot_t set_mask,
arch/riscv/mm/pageattr.c
263
pgprot_t clear_mask)
arch/riscv/mm/pageattr.c
391
pgprot_t set, clear;
arch/riscv/mm/pgtable.c
110
int pmd_set_huge(pmd_t *pmd, phys_addr_t phys, pgprot_t prot)
arch/riscv/mm/pgtable.c
63
int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
arch/riscv/mm/pgtable.c
72
int pud_set_huge(pud_t *pud, phys_addr_t phys, pgprot_t prot)
arch/s390/include/asm/page.h
118
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/s390/include/asm/pgtable.h
1016
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/s390/include/asm/pgtable.h
1317
pgprot_t pgprot_writecombine(pgprot_t prot);
arch/s390/include/asm/pgtable.h
1344
static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot)
arch/s390/include/asm/pgtable.h
1534
static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot)
arch/s390/include/asm/pgtable.h
1565
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/s390/include/asm/pgtable.h
1583
static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot)
arch/s390/include/asm/pgtable.h
1924
extern int __vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot, bool alloc);
arch/s390/include/asm/pgtable.h
1925
extern int vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot);
arch/s390/include/asm/pgtable.h
556
static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot)
arch/s390/include/asm/pgtable.h
561
static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot)
arch/s390/include/asm/pgtable.h
566
static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot)
arch/s390/include/asm/pgtable.h
571
static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot)
arch/s390/include/asm/pgtable.h
576
static inline pud_t clear_pud_bit(pud_t pud, pgprot_t prot)
arch/s390/include/asm/pgtable.h
581
static inline pud_t set_pud_bit(pud_t pud, pgprot_t prot)
arch/s390/include/asm/pgtable.h
942
static inline pgprot_t pte_pgprot(pte_t pte)
arch/s390/kernel/crash_dump.c
182
unsigned long size, pgprot_t prot)
arch/s390/kernel/crash_dump.c
210
unsigned long size, pgprot_t prot)
arch/s390/kernel/crash_dump.c
230
unsigned long pfn, unsigned long size, pgprot_t prot)
arch/s390/mm/mmap.c
191
static pgprot_t protection_map[16] __ro_after_init;
arch/s390/mm/mmap.c
195
pgprot_t *pm = protection_map;
arch/s390/mm/pgtable.c
29
pgprot_t pgprot_writecombine(pgprot_t prot)
arch/s390/mm/vmem.c
629
int __vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot, bool alloc)
arch/s390/mm/vmem.c
644
int vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot)
arch/s390/pci/pci.c
276
pgprot_t prot)
arch/sh/boards/mach-landisk/setup.c
54
pgprot_t prot;
arch/sh/boards/mach-lboxre2/setup.c
49
pgprot_t prot;
arch/sh/boards/mach-sh03/setup.c
71
pgprot_t prot;
arch/sh/include/asm/fixmap.h
68
unsigned long phys, pgprot_t flags);
arch/sh/include/asm/fixmap.h
69
extern void __clear_fixmap(enum fixed_addresses idx, pgprot_t flags);
arch/sh/include/asm/mmu.h
100
pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot)
arch/sh/include/asm/mmu.h
63
unsigned long size, pgprot_t prot);
arch/sh/include/asm/mmu.h
65
pgprot_t prot, void *caller);
arch/sh/include/asm/mmu.h
72
unsigned long size, pgprot_t prot)
arch/sh/include/asm/mmu.h
79
pgprot_t prot, void *caller)
arch/sh/include/asm/page.h
82
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/sh/include/asm/pgtable_32.h
383
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/sh/include/cpu-sh4/cpu/sq.h
29
const char *name, pgprot_t prot);
arch/sh/kernel/cpu/sh4/sq.c
101
static int __sq_remap(struct sq_mapping *map, pgprot_t prot)
arch/sh/kernel/cpu/sh4/sq.c
144
const char *name, pgprot_t prot)
arch/sh/mm/init.c
111
void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
arch/sh/mm/init.c
123
void __clear_fixmap(enum fixed_addresses idx, pgprot_t prot)
arch/sh/mm/init.c
81
static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot)
arch/sh/mm/init.c
98
static void clear_pte_phys(unsigned long addr, pgprot_t prot)
arch/sh/mm/ioremap.c
40
__ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot)
arch/sh/mm/ioremap.c
76
pgprot_t pgprot)
arch/sh/mm/ioremap.h
10
ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot)
arch/sh/mm/ioremap.h
5
void __iomem *ioremap_fixed(phys_addr_t, unsigned long, pgprot_t);
arch/sh/mm/ioremap_fixed.c
48
ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot)
arch/sh/mm/mmap.c
22
static const pgprot_t protection_map[16] = {
arch/sh/mm/nommu.c
98
void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)
arch/sh/mm/pmb.c
117
static inline unsigned long pgprot_to_pmb_flags(pgprot_t prot)
arch/sh/mm/pmb.c
207
static inline bool pmb_prot_valid(pgprot_t prot)
arch/sh/mm/pmb.c
336
unsigned long size, pgprot_t prot)
arch/sh/mm/pmb.c
411
pgprot_t prot, void *caller)
arch/sparc/include/asm/page_32.h
74
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/sparc/include/asm/page_64.h
86
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/sparc/include/asm/pgtable_32.h
259
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
arch/sparc/include/asm/pgtable_32.h
279
static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot)
arch/sparc/include/asm/pgtable_32.h
284
static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space)
arch/sparc/include/asm/pgtable_32.h
290
static inline pgprot_t pgprot_noncached(pgprot_t prot)
arch/sparc/include/asm/pgtable_32.h
296
static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
arch/sparc/include/asm/pgtable_32.h
297
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/sparc/include/asm/pgtable_64.h
196
pte_t mk_pte_io(unsigned long, pgprot_t, int, unsigned long);
arch/sparc/include/asm/pgtable_64.h
200
extern pgprot_t PAGE_KERNEL;
arch/sparc/include/asm/pgtable_64.h
201
extern pgprot_t PAGE_KERNEL_LOCKED;
arch/sparc/include/asm/pgtable_64.h
202
extern pgprot_t PAGE_COPY;
arch/sparc/include/asm/pgtable_64.h
203
extern pgprot_t PAGE_SHARED;
arch/sparc/include/asm/pgtable_64.h
221
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot)
arch/sparc/include/asm/pgtable_64.h
230
static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot)
arch/sparc/include/asm/pgtable_64.h
260
static inline pte_t pte_modify(pte_t pte, pgprot_t prot)
arch/sparc/include/asm/pgtable_64.h
319
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/sparc/include/asm/pgtable_64.h
329
static inline pgprot_t pgprot_noncached(pgprot_t prot)
arch/sparc/include/asm/pgtable_64.h
785
static inline pgprot_t pmd_pgprot(pmd_t entry)
arch/sparc/include/asm/video.h
13
static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
arch/sparc/mm/init_32.c
285
static const pgprot_t protection_map[16] = {
arch/sparc/mm/init_64.c
1758
unsigned long pend, pgprot_t prot,
arch/sparc/mm/init_64.c
2550
pgprot_t PAGE_KERNEL __read_mostly;
arch/sparc/mm/init_64.c
2553
pgprot_t PAGE_KERNEL_LOCKED __read_mostly;
arch/sparc/mm/init_64.c
2554
pgprot_t PAGE_COPY __read_mostly;
arch/sparc/mm/init_64.c
2556
pgprot_t PAGE_SHARED __read_mostly;
arch/sparc/mm/init_64.c
2622
static pgprot_t protection_map[16] __ro_after_init;
arch/sparc/mm/init_64.c
2783
pte_t mk_pte_io(unsigned long page, pgprot_t prot, int space, unsigned long page_size)
arch/sparc/mm/init_64.c
3191
pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
arch/sparc/mm/io-unit.c
223
pgprot_t dvma_prot;
arch/sparc/mm/iommu.c
50
static pgprot_t dvma_prot; /* Consistent mapping pte flags */
arch/um/include/asm/page.h
69
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/um/include/asm/pgtable-4level.h
105
static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot)
arch/um/include/asm/pgtable.h
270
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
arch/um/include/asm/pgtable.h
279
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/um/kernel/mem.c
129
static const pgprot_t protection_map[16] = {
arch/x86/events/intel/ds.c
798
static void ds_update_cea(void *cea, void *addr, size_t size, pgprot_t prot)
arch/x86/include/asm/acpi.h
214
static inline pgprot_t arch_apei_get_mem_attribute(phys_addr_t addr)
arch/x86/include/asm/cpu_entry_area.h
138
extern void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags);
arch/x86/include/asm/fixmap.h
161
phys_addr_t phys, pgprot_t flags);
arch/x86/include/asm/fixmap.h
165
phys_addr_t phys, pgprot_t flags)
arch/x86/include/asm/fixmap.h
197
phys_addr_t phys, pgprot_t flags);
arch/x86/include/asm/io.h
173
extern void __iomem *ioremap_prot(resource_size_t offset, unsigned long size, pgprot_t prot);
arch/x86/include/asm/iomap.h
16
void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot);
arch/x86/include/asm/iomap.h
18
int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot);
arch/x86/include/asm/memtype.h
27
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot);
arch/x86/include/asm/paravirt.h
511
phys_addr_t phys, pgprot_t flags)
arch/x86/include/asm/paravirt_types.h
183
phys_addr_t phys, pgprot_t flags);
arch/x86/include/asm/pgtable.h
1182
unsigned long end, pgprot_t prot);
arch/x86/include/asm/pgtable.h
1658
extern bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot);
arch/x86/include/asm/pgtable.h
711
static inline pgprotval_t massage_pgprot(pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
721
static inline pgprotval_t check_pgprot(pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
738
static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
749
static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
757
static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
779
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/x86/include/asm/pgtable.h
812
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/x86/include/asm/pgtable.h
835
static inline pud_t pud_modify(pud_t pud, pgprot_t newprot)
arch/x86/include/asm/pgtable.h
863
static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
arch/x86/include/asm/pgtable_types.h
202
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/x86/include/asm/pgtable_types.h
297
static inline pgprot_t pgprot_nx(pgprot_t prot)
arch/x86/include/asm/pgtable_types.h
500
static inline pgprot_t pgprot_4k_2_large(pgprot_t pgprot)
arch/x86/include/asm/pgtable_types.h
510
static inline pgprot_t pgprot_large_2_4k(pgprot_t pgprot)
arch/x86/include/asm/pgtable_types.h
522
extern pgprot_t pgprot_writecombine(pgprot_t prot);
arch/x86/include/asm/pgtable_types.h
525
extern pgprot_t pgprot_writethrough(pgprot_t prot);
arch/x86/include/asm/pgtable_types.h
532
pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/x86/include/asm/pgtable_types.h
533
unsigned long size, pgprot_t vma_prot);
arch/x86/include/asm/sev.h
404
pgprot_t new_pgprot;
arch/x86/include/asm/sev.h
521
void set_pte_enc_mask(pte_t *kpte, unsigned long pfn, pgprot_t new_prot);
arch/x86/include/asm/sev.h
630
static inline void set_pte_enc_mask(pte_t *kpte, unsigned long pfn, pgprot_t new_prot) { }
arch/x86/include/asm/video.h
11
pgprot_t pgprot_framebuffer(pgprot_t prot,
arch/x86/include/asm/vmalloc.h
12
static inline bool arch_vmap_pud_supported(pgprot_t prot)
arch/x86/include/asm/vmalloc.h
19
static inline bool arch_vmap_pmd_supported(pgprot_t prot)
arch/x86/include/asm/xen/page.h
314
static inline pte_t mfn_pte(unsigned long page_nr, pgprot_t pgprot)
arch/x86/kernel/alternative.c
2542
pgprot_t pgprot;
arch/x86/kernel/apic/io_apic.c
2535
pgprot_t flags = FIXMAP_PAGE_NOCACHE;
arch/x86/kernel/ldt.c
315
pgprot_t pte_prot;
arch/x86/kernel/machine_kexec_64.c
166
pgprot_t prot = PAGE_KERNEL_EXEC_NOENC;
arch/x86/kernel/tboot.c
114
pgprot_t prot)
arch/x86/mm/cpu_entry_area.c
182
pgprot_t gdt_prot = PAGE_KERNEL_RO;
arch/x86/mm/cpu_entry_area.c
183
pgprot_t tss_prot = PAGE_KERNEL_RO;
arch/x86/mm/cpu_entry_area.c
192
pgprot_t gdt_prot = PAGE_KERNEL;
arch/x86/mm/cpu_entry_area.c
193
pgprot_t tss_prot = PAGE_KERNEL;
arch/x86/mm/cpu_entry_area.c
79
void cea_set_pte(void *cea_vaddr, phys_addr_t pa, pgprot_t flags)
arch/x86/mm/cpu_entry_area.c
99
cea_map_percpu_pages(void *cea_vaddr, void *ptr, int pages, pgprot_t prot)
arch/x86/mm/init.c
1070
pgprot_t pgprot;
arch/x86/mm/init.c
535
unsigned long end, pgprot_t prot)
arch/x86/mm/init.c
99
enum page_cache_mode pgprot2cachemode(pgprot_t pgprot)
arch/x86/mm/init_32.c
252
pgprot_t prot)
arch/x86/mm/init_32.c
314
pgprot_t prot = PAGE_KERNEL_LARGE;
arch/x86/mm/init_32.c
319
pgprot_t init_prot =
arch/x86/mm/init_32.c
346
pgprot_t prot = PAGE_KERNEL;
arch/x86/mm/init_32.c
351
pgprot_t init_prot = __pgprot(PTE_IDENT_ATTR);
arch/x86/mm/init_64.c
391
pgprot_t prot;
arch/x86/mm/init_64.c
473
pgprot_t prot, bool init)
arch/x86/mm/init_64.c
524
unsigned long page_size_mask, pgprot_t prot, bool init)
arch/x86/mm/init_64.c
534
pgprot_t new_prot = prot;
arch/x86/mm/init_64.c
608
unsigned long page_size_mask, pgprot_t _prot, bool init)
arch/x86/mm/init_64.c
618
pgprot_t prot = _prot;
arch/x86/mm/init_64.c
691
unsigned long page_size_mask, pgprot_t prot, bool init)
arch/x86/mm/init_64.c
744
pgprot_t prot, bool init)
arch/x86/mm/init_64.c
800
unsigned long page_size_mask, pgprot_t prot)
arch/x86/mm/init_64.c
93
static inline pgprot_t prot_sethuge(pgprot_t prot)
arch/x86/mm/iomap_32.c
21
int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot)
arch/x86/mm/iomap_32.c
47
void __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot)
arch/x86/mm/ioremap.c
194
pgprot_t prot;
arch/x86/mm/ioremap.c
442
pgprot_t prot)
arch/x86/mm/ioremap.c
756
pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
arch/x86/mm/ioremap.c
758
pgprot_t prot)
arch/x86/mm/ioremap.c
888
phys_addr_t phys, pgprot_t flags)
arch/x86/mm/kasan_init_64.c
442
pgprot_t prot;
arch/x86/mm/mem_encrypt_amd.c
217
static unsigned long pg_level_to_pfn(int level, pte_t *kpte, pgprot_t *ret_prot)
arch/x86/mm/mem_encrypt_amd.c
220
pgprot_t prot;
arch/x86/mm/mem_encrypt_amd.c
316
pgprot_t old_prot;
arch/x86/mm/mem_encrypt_amd.c
349
void set_pte_enc_mask(pte_t *kpte, unsigned long pfn, pgprot_t new_prot)
arch/x86/mm/mm_internal.h
16
pgprot_t prot);
arch/x86/mm/mmap.c
226
bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot)
arch/x86/mm/pat/memtype.c
769
pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/x86/mm/pat/memtype.c
770
unsigned long size, pgprot_t vma_prot)
arch/x86/mm/pat/memtype.c
778
static inline void pgprot_set_cachemode(pgprot_t *prot, enum page_cache_mode pcm)
arch/x86/mm/pat/memtype.c
785
unsigned long size, pgprot_t *vma_prot)
arch/x86/mm/pat/memtype.c
839
static int reserve_pfn_range(u64 paddr, unsigned long size, pgprot_t *vma_prot)
arch/x86/mm/pat/memtype.c
908
int pfnmap_setup_cachemode(unsigned long pfn, unsigned long size, pgprot_t *prot)
arch/x86/mm/pat/memtype.c
930
int pfnmap_track(unsigned long pfn, unsigned long size, pgprot_t *prot)
arch/x86/mm/pat/memtype.c
944
pgprot_t pgprot_writecombine(pgprot_t prot)
arch/x86/mm/pat/memtype.c
951
pgprot_t pgprot_writethrough(pgprot_t prot)
arch/x86/mm/pat/set_memory.c
1085
pgprot_t ref_prot, unsigned long address,
arch/x86/mm/pat/set_memory.c
1089
pgprot_t prot;
arch/x86/mm/pat/set_memory.c
1127
pgprot_t ref_prot;
arch/x86/mm/pat/set_memory.c
1251
pgprot_t pgprot;
arch/x86/mm/pat/set_memory.c
1562
unsigned num_pages, pmd_t *pmd, pgprot_t pgprot)
arch/x86/mm/pat/set_memory.c
1581
unsigned num_pages, pud_t *pud, pgprot_t pgprot)
arch/x86/mm/pat/set_memory.c
1585
pgprot_t pmd_pgprot;
arch/x86/mm/pat/set_memory.c
1654
pgprot_t pgprot)
arch/x86/mm/pat/set_memory.c
1659
pgprot_t pud_pgprot;
arch/x86/mm/pat/set_memory.c
1737
pgprot_t pgprot = __pgprot(_KERNPG_TABLE);
arch/x86/mm/pat/set_memory.c
1849
pgprot_t old_prot = pte_pgprot(old_pte);
arch/x86/mm/pat/set_memory.c
1850
pgprot_t new_prot = pte_pgprot(old_pte);
arch/x86/mm/pat/set_memory.c
2038
pgprot_t mask_set, pgprot_t mask_clr,
arch/x86/mm/pat/set_memory.c
2121
pgprot_t mask, int array)
arch/x86/mm/pat/set_memory.c
2128
pgprot_t mask, int array)
arch/x86/mm/pat/set_memory.c
2135
pgprot_t mask)
arch/x86/mm/pat/set_memory.c
2142
pgprot_t mask)
arch/x86/mm/pat/set_memory.c
2309
pgprot_t clr = __pgprot(_PAGE_RW | _PAGE_DIRTY);
arch/x86/mm/pat/set_memory.c
2365
pgprot_t empty = __pgprot(0);
arch/x86/mm/pat/set_memory.c
44
pgprot_t mask_set;
arch/x86/mm/pat/set_memory.c
45
pgprot_t mask_clr;
arch/x86/mm/pat/set_memory.c
587
static inline bool conflicts(pgprot_t prot, pgprotval_t val)
arch/x86/mm/pat/set_memory.c
592
static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val,
arch/x86/mm/pat/set_memory.c
616
static inline pgprot_t static_protections(pgprot_t prot, unsigned long start,
arch/x86/mm/pat/set_memory.c
664
static inline pgprot_t verify_rwx(pgprot_t old, pgprot_t new, unsigned long start,
arch/x86/mm/pat/set_memory.c
78
static inline pgprot_t cachemode2pgprot(enum page_cache_mode pcm)
arch/x86/mm/pat/set_memory.c
905
static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot)
arch/x86/mm/pat/set_memory.c
926
pgprot_t old_prot, new_prot, req_prot, chk_prot;
arch/x86/mm/pgprot.c
35
pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
arch/x86/mm/pgprot.c
8
static pgprot_t protection_map[16] __ro_after_init = {
arch/x86/mm/pgtable.c
586
phys_addr_t phys, pgprot_t flags)
arch/x86/mm/pgtable.c
604
int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
arch/x86/mm/pgtable.c
635
int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot)
arch/x86/mm/pgtable.c
664
int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot)
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/video/video-common.c
17
pgprot_t pgprot_framebuffer(pgprot_t prot,
arch/x86/xen/enlighten_pv.c
454
static void set_aliased_prot(void *v, pgprot_t prot)
arch/x86/xen/mmu_pv.c
1581
static inline void __set_pfn_prot(unsigned long pfn, pgprot_t prot)
arch/x86/xen/mmu_pv.c
1700
static void __init set_page_prot_flags(void *addr, pgprot_t prot,
arch/x86/xen/mmu_pv.c
1709
static void __init set_page_prot(void *addr, pgprot_t prot)
arch/x86/xen/mmu_pv.c
2090
static void xen_set_fixmap(unsigned idx, phys_addr_t phys, pgprot_t prot)
arch/x86/xen/mmu_pv.c
2452
pgprot_t prot;
arch/x86/xen/mmu_pv.c
2481
xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
arch/x86/xen/mmu_pv.c
308
void __init set_pte_mfn(unsigned long vaddr, unsigned long mfn, pgprot_t flags)
arch/x86/xen/xen-ops.h
198
void set_pte_mfn(unsigned long vaddr, unsigned long pfn, pgprot_t flags);
arch/xtensa/include/asm/io.h
32
pgprot_t prot);
arch/xtensa/include/asm/page.h
104
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/xtensa/include/asm/pgtable.h
277
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/xtensa/mm/init.c
183
static const pgprot_t protection_map[16] = {
arch/xtensa/mm/ioremap.c
14
pgprot_t prot)
drivers/acpi/apei/ghes.c
182
pgprot_t prot;
drivers/char/mem.c
243
unsigned long pfn, unsigned long size, pgprot_t *vma_prot)
drivers/char/mem.c
269
static pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
drivers/char/mem.c
270
unsigned long size, pgprot_t vma_prot)
drivers/firmware/efi/earlycon.c
58
pgprot_t fb_prot;
drivers/gpu/drm/drm_gem_shmem_helper.c
378
pgprot_t prot = PAGE_KERNEL;
drivers/gpu/drm/etnaviv/etnaviv_gem.c
131
pgprot_t vm_page_prot;
drivers/gpu/drm/etnaviv/etnaviv_gem.c
346
pgprot_t prot;
drivers/gpu/drm/i915/gem/i915_gem_pages.c
281
pgprot_t pgprot;
drivers/gpu/drm/i915/gvt/kvmgt.c
1021
pgprot_t pg_prot;
drivers/gpu/drm/i915/i915_mm.c
35
pgprot_t prot;
drivers/gpu/drm/imagination/pvr_mmu.c
263
pgprot_t prot;
drivers/gpu/drm/msm/msm_gem.c
322
static pgprot_t msm_gem_pgprot(struct msm_gem_object *msm_obj, pgprot_t prot)
drivers/gpu/drm/nouveau/nouveau_gem.c
46
pgprot_t prot;
drivers/gpu/drm/panthor/panthor_device.c
415
pgprot_t pgprot;
drivers/gpu/drm/tegra/gem.c
610
pgprot_t prot = vm_get_page_prot(vma->vm_flags);
drivers/gpu/drm/ttm/ttm_bo_util.c
295
pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res,
drivers/gpu/drm/ttm/ttm_bo_util.c
296
pgprot_t tmp)
drivers/gpu/drm/ttm/ttm_bo_util.c
350
pgprot_t prot;
drivers/gpu/drm/ttm/ttm_bo_util.c
533
pgprot_t prot;
drivers/gpu/drm/ttm/ttm_bo_vm.c
184
pgprot_t prot,
drivers/gpu/drm/ttm/ttm_bo_vm.c
291
vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot)
drivers/gpu/drm/ttm/ttm_bo_vm.c
326
pgprot_t prot;
drivers/gpu/drm/ttm/ttm_module.c
62
pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp)
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
342
pgprot_t dst_prot;
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
347
pgprot_t src_prot;
drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c
449
pgprot_t prot;
drivers/gpu/drm/xe/xe_device.c
276
pgprot_t prot;
drivers/infiniband/core/ib_core_uverbs.c
72
unsigned long pfn, unsigned long size, pgprot_t prot,
drivers/infiniband/hw/cxgb4/t4.h
319
static inline pgprot_t t4_pgprot_wc(pgprot_t prot)
drivers/infiniband/hw/erdma/erdma_verbs.c
1414
pgprot_t prot;
drivers/infiniband/hw/hns/hns_roce_main.c
526
pgprot_t prot;
drivers/infiniband/hw/mana/main.c
522
pgprot_t prot;
drivers/infiniband/hw/mlx5/main.c
2558
pgprot_t prot;
drivers/infiniband/hw/mlx5/main.c
2676
pgprot_t prot;
drivers/iommu/dma-iommu.c
1009
pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs);
drivers/iommu/dma-iommu.c
1614
pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs);
drivers/soc/aspeed/aspeed-lpc-ctrl.c
54
pgprot_t prot = vma->vm_page_prot;
drivers/soc/aspeed/aspeed-p2a-ctrl.c
103
pgprot_t prot;
drivers/tee/optee/call.c
599
static bool is_normal_memory(pgprot_t p)
drivers/virt/coco/pkvm-guest/arm-pkvm-guest.c
73
pgprot_t *prot)
drivers/xen/xlate_mmu.c
146
int *err_ptr, pgprot_t prot,
drivers/xen/xlate_mmu.c
268
pgprot_t prot;
drivers/xen/xlate_mmu.c
67
pgprot_t prot;
fs/proc/vmcore.c
254
unsigned long size, pgprot_t prot)
fs/proc/vmcore.c
524
unsigned long size, pgprot_t prot)
fs/proc/vmcore.c
574
unsigned long size, pgprot_t prot)
fs/pstore/ram_core.c
419
pgprot_t prot;
include/asm-generic/hugetlb.h
35
static inline pte_t huge_pte_modify(pte_t pte, pgprot_t newprot)
include/asm-generic/io.h
1145
pgprot_t prot);
include/asm-generic/io.h
1148
pgprot_t prot);
include/asm-generic/video.h
19
static inline pgprot_t pgprot_framebuffer(pgprot_t prot,
include/drm/ttm/ttm_bo.h
429
pgprot_t prot,
include/drm/ttm/ttm_bo.h
436
vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot);
include/drm/ttm/ttm_bo.h
464
pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res,
include/drm/ttm/ttm_bo.h
465
pgprot_t tmp);
include/drm/ttm/ttm_caching.h
55
pgprot_t ttm_prot_from_caching(enum ttm_caching caching, pgprot_t tmp);
include/drm/ttm/ttm_tt.h
140
pgprot_t prot;
include/linux/agpgart.h
60
pgprot_t prot;
include/linux/crash_dump.h
29
unsigned long size, pgprot_t prot);
include/linux/dma-map-ops.h
213
void *dma_common_contiguous_remap(struct page *page, size_t size, pgprot_t prot,
include/linux/dma-map-ops.h
215
void *dma_common_pages_remap(struct page **pages, size_t size, pgprot_t prot,
include/linux/dma-map-ops.h
335
pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs);
include/linux/dma-map-ops.h
337
static inline pgprot_t dma_pgprot(struct device *dev, pgprot_t prot,
include/linux/execmem.h
102
pgprot_t pgprot;
include/linux/highmem-internal.h
10
void *__kmap_local_page_prot(const struct page *page, pgprot_t prot);
include/linux/highmem-internal.h
105
static inline void *kmap_atomic_prot(const struct page *page, pgprot_t prot)
include/linux/highmem-internal.h
201
static inline void *kmap_local_page_prot(const struct page *page, pgprot_t prot)
include/linux/highmem-internal.h
228
static inline void *kmap_atomic_prot(const struct page *page, pgprot_t prot)
include/linux/highmem-internal.h
9
void *__kmap_local_pfn_prot(unsigned long pfn, pgprot_t prot);
include/linux/highmem-internal.h
90
static inline void *kmap_local_page_prot(const struct page *page, pgprot_t prot)
include/linux/huge_mm.h
37
pmd_t *pmd, unsigned long addr, pgprot_t newprot,
include/linux/huge_mm.h
467
pud_t *pudp, unsigned long addr, pgprot_t newprot,
include/linux/huge_mm.h
472
pud_t *pudp, unsigned long addr, pgprot_t newprot,
include/linux/huge_mm.h
757
unsigned long addr, pgprot_t newprot,
include/linux/hugetlb.h
274
unsigned long address, unsigned long end, pgprot_t newprot,
include/linux/hugetlb.h
442
unsigned long end, pgprot_t newprot,
include/linux/io-mapping.h
26
pgprot_t prot;
include/linux/io-mapping.h
46
pgprot_t prot;
include/linux/io.h
29
phys_addr_t phys_addr, pgprot_t prot);
include/linux/io.h
31
phys_addr_t phys_addr, pgprot_t prot);
include/linux/io.h
34
phys_addr_t phys_addr, pgprot_t prot)
include/linux/io.h
39
phys_addr_t phys_addr, pgprot_t prot)
include/linux/io.h
81
pgprot_t __init early_memremap_pgprot_adjust(resource_size_t phys_addr,
include/linux/io.h
82
unsigned long size, pgprot_t prot);
include/linux/kmsan.h
144
pgprot_t prot,
include/linux/kmsan.h
172
phys_addr_t phys_addr, pgprot_t prot,
include/linux/kmsan.h
351
unsigned long start, unsigned long end, pgprot_t prot,
include/linux/kmsan.h
365
pgprot_t prot,
include/linux/memory_hotplug.h
70
pgprot_t pgprot;
include/linux/mm.h
2268
static inline pte_t mk_pte(const struct page *page, pgprot_t pgprot)
include/linux/mm.h
2283
static inline pte_t folio_mk_pte(const struct folio *folio, pgprot_t pgprot)
include/linux/mm.h
2299
static inline pmd_t folio_mk_pmd(const struct folio *folio, pgprot_t pgprot)
include/linux/mm.h
2315
static inline pud_t folio_mk_pud(const struct folio *folio, pgprot_t pgprot)
include/linux/mm.h
2879
pgprot_t pgprot;
include/linux/mm.h
4105
pgprot_t vm_get_page_prot(vm_flags_t vm_flags);
include/linux/mm.h
4108
static inline pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
include/linux/mm.h
4128
unsigned long pfn, unsigned long size, pgprot_t pgprot);
include/linux/mm.h
4142
unsigned long pfn, pgprot_t pgprot);
include/linux/mm.h
4172
unsigned long size, pgprot_t orig_prot)
include/linux/mm.h
4175
const pgprot_t prot = pgprot_decrypted(orig_prot);
include/linux/mm_types.h
830
pgprot_t pgprot;
include/linux/mm_types.h
891
pgprot_t page_prot;
include/linux/mm_types.h
930
pgprot_t vm_page_prot; /* Access permissions of this VMA. */
include/linux/pgtable.h
1699
static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
include/linux/pgtable.h
1834
pgprot_t *prot)
include/linux/pgtable.h
1840
pgprot_t *prot)
include/linux/pgtable.h
1873
pgprot_t *prot);
include/linux/pgtable.h
1893
int pfnmap_track(unsigned long pfn, unsigned long size, pgprot_t *prot);
include/linux/pgtable.h
1915
static inline void pfnmap_setup_cachemode_pfn(unsigned long pfn, pgprot_t *prot)
include/linux/pgtable.h
2033
int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
include/linux/pgtable.h
2036
static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
include/linux/pgtable.h
2043
int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
include/linux/pgtable.h
2044
int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
include/linux/pgtable.h
2051
static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
include/linux/pgtable.h
2055
static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot)
include/linux/pgtable.h
2059
static inline int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot)
include/linux/pgtable.h
2107
unsigned long size, pgprot_t *vma_prot);
include/linux/pgtable.h
2116
static inline bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot)
include/linux/pgtable.h
2333
#define pte_pgprot(x) ((pgprot_t) {0})
include/linux/pgtable.h
2337
#define pmd_pgprot(x) ((pgprot_t) {0})
include/linux/pgtable.h
2341
#define pud_pgprot(x) ((pgprot_t) {0})
include/linux/pgtable.h
2365
pgprot_t vm_get_page_prot(vm_flags_t vm_flags) \
include/linux/vmalloc.h
100
static inline bool arch_vmap_pud_supported(pgprot_t prot)
include/linux/vmalloc.h
107
static inline bool arch_vmap_pmd_supported(pgprot_t prot)
include/linux/vmalloc.h
137
static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot)
include/linux/vmalloc.h
176
pgprot_t prot, unsigned long vm_flags, int node,
include/linux/vmalloc.h
218
unsigned long flags, pgprot_t prot);
include/linux/vmalloc.h
219
void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot);
include/linux/vmalloc.h
229
int vmap_pages_range(unsigned long addr, unsigned long end, pgprot_t prot,
include/linux/vmalloc.h
93
static inline bool arch_vmap_p4d_supported(pgprot_t prot)
include/rdma/ib_verbs.h
3059
unsigned long pfn, unsigned long size, pgprot_t prot,
include/xen/xen-ops.h
116
int *err_ptr, pgprot_t prot,
include/xen/xen-ops.h
152
pgprot_t prot, unsigned int domid)
include/xen/xen-ops.h
176
pgprot_t prot, unsigned int domid,
include/xen/xen-ops.h
47
xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
include/xen/xen-ops.h
52
pgprot_t prot, unsigned int domid,
include/xen/xen-ops.h
66
int *err_ptr, pgprot_t prot,
include/xen/xen-ops.h
79
int *err_ptr, pgprot_t prot,
kernel/dma/direct.c
269
pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs);
kernel/dma/mapping.c
535
pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs)
kernel/dma/remap.c
25
pgprot_t prot, const void *caller)
kernel/dma/remap.c
41
pgprot_t prot, const void *caller)
mm/debug_vm_pgtable.c
176
pgprot_t prot = vm_get_page_prot(idx);
mm/debug_vm_pgtable.c
302
pgprot_t prot = vm_get_page_prot(idx);
mm/debug_vm_pgtable.c
61
pgprot_t page_prot;
mm/debug_vm_pgtable.c
62
pgprot_t page_prot_none;
mm/debug_vm_pgtable.c
82
pgprot_t prot = vm_get_page_prot(idx);
mm/early_ioremap.c
108
__early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot)
mm/early_ioremap.c
228
pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size,
mm/early_ioremap.c
237
pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size,
mm/early_ioremap.c
43
pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr,
mm/early_ioremap.c
45
pgprot_t prot)
mm/early_ioremap.c
62
phys_addr_t phys, pgprot_t prot)
mm/execmem.c
29
pgprot_t pgprot, unsigned long vm_flags)
mm/execmem.c
466
pgprot_t pgprot = range->pgprot;
mm/execmem.c
82
pgprot_t pgprot, unsigned long vm_flags)
mm/highmem.c
550
void *__kmap_local_pfn_prot(unsigned long pfn, pgprot_t prot)
mm/highmem.c
576
void *__kmap_local_page_prot(const struct page *page, pgprot_t prot)
mm/huge_memory.c
1527
pmd_t *pmd, struct folio_or_pfn fop, pgprot_t prot,
mm/huge_memory.c
1612
pgprot_t pgprot = vma->vm_page_prot;
mm/huge_memory.c
1659
pud_t *pud, struct folio_or_pfn fop, pgprot_t prot, bool write)
mm/huge_memory.c
1720
pgprot_t pgprot = vma->vm_page_prot;
mm/huge_memory.c
2559
pmd_t *pmd, unsigned long addr, pgprot_t newprot,
mm/huge_memory.c
2660
pud_t *pudp, unsigned long addr, pgprot_t newprot,
mm/hugetlb.c
6416
pgprot_t newprot, unsigned long cp_flags)
mm/hugetlb_vmemmap.c
215
pgprot_t pgprot = PAGE_KERNEL_RO;
mm/hugetlb_vmemmap.c
259
pgprot_t pgprot = PAGE_KERNEL;
mm/hugetlb_vmemmap.c
68
pgprot_t pgprot = PAGE_KERNEL;
mm/internal.h
1438
pgprot_t prot, struct page **pages, unsigned int page_shift, gfp_t gfp_mask);
mm/internal.h
1447
pgprot_t prot, struct page **pages, unsigned int page_shift, gfp_t gfp_mask)
mm/internal.h
1454
unsigned long end, pgprot_t prot,
mm/internal.h
1753
unsigned long pfn, unsigned long size, pgprot_t pgprot);
mm/internal.h
1765
pgprot_t orig_prot)
mm/internal.h
1768
const pgprot_t prot = pgprot_decrypted(orig_prot);
mm/ioremap.c
16
pgprot_t prot)
mm/ioremap.c
53
pgprot_t prot)
mm/kmsan/hooks.c
150
phys_addr_t phys_addr, pgprot_t prot,
mm/kmsan/shadow.c
217
pgprot_t prot, struct page **pages,
mm/memory.c
2343
pgprot_t prot, bool mkwrite)
mm/memory.c
2383
struct page *page, pgprot_t prot, bool mkwrite)
mm/memory.c
2404
unsigned long addr, struct page *page, pgprot_t prot)
mm/memory.c
2418
struct page **pages, unsigned long *num, pgprot_t prot)
mm/memory.c
2627
unsigned long pfn, pgprot_t prot, bool mkwrite)
mm/memory.c
2711
unsigned long pfn, pgprot_t pgprot)
mm/memory.c
2781
pgprot_t pgprot = vma->vm_page_prot;
mm/memory.c
2827
pgprot_t pgprot = vmf->vma->vm_page_prot;
mm/memory.c
2869
unsigned long pfn, pgprot_t prot)
mm/memory.c
2895
unsigned long pfn, pgprot_t prot)
mm/memory.c
2918
unsigned long pfn, pgprot_t prot)
mm/memory.c
2940
unsigned long pfn, pgprot_t prot)
mm/memory.c
2980
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3013
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3031
unsigned long size, pgprot_t *prot)
mm/memory.c
3059
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3096
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3102
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3148
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3161
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
6729
pgprot_t pgprot, unsigned long pfn_base,
mm/memory.c
6908
pgprot_t prot = __pgprot(0);
mm/mmap.c
84
pgprot_t vm_page_prot;
mm/mprotect.c
216
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
453
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
523
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
582
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
605
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
637
pgprot_t newprot = vma->vm_page_prot;
mm/mprotect.c
668
*(pgprot_t *)(walk->private)) ?
mm/mprotect.c
677
*(pgprot_t *)(walk->private)) ?
mm/mprotect.c
722
pgprot_t new_pgprot = vm_get_page_prot(newflags);
mm/nommu.c
130
pgprot_t prot, unsigned long vm_flags, int node,
mm/nommu.c
1591
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/nommu.c
308
void *vmap(struct page **pages, unsigned int count, unsigned long flags, pgprot_t prot)
mm/vma.c
2085
bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot)
mm/vma.c
23
pgprot_t page_prot;
mm/vma.h
454
bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
mm/vma.h
483
static inline pgprot_t vm_pgprot_modify(pgprot_t oldprot, vm_flags_t vm_flags)
mm/vmalloc.c
143
phys_addr_t phys_addr, pgprot_t prot,
mm/vmalloc.c
168
phys_addr_t phys_addr, pgprot_t prot,
mm/vmalloc.c
195
phys_addr_t phys_addr, pgprot_t prot,
mm/vmalloc.c
220
phys_addr_t phys_addr, pgprot_t prot,
mm/vmalloc.c
247
phys_addr_t phys_addr, pgprot_t prot,
mm/vmalloc.c
272
phys_addr_t phys_addr, pgprot_t prot,
mm/vmalloc.c
299
phys_addr_t phys_addr, pgprot_t prot,
mm/vmalloc.c
333
phys_addr_t phys_addr, pgprot_t prot)
mm/vmalloc.c
347
phys_addr_t phys_addr, pgprot_t prot)
mm/vmalloc.c
3533
unsigned long flags, pgprot_t prot)
mm/vmalloc.c
3577
pgprot_t prot;
mm/vmalloc.c
3606
void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot)
mm/vmalloc.c
3828
pgprot_t prot, unsigned int page_shift,
mm/vmalloc.c
3988
pgprot_t prot, unsigned long vm_flags, int node,
mm/vmalloc.c
526
unsigned long end, pgprot_t prot, struct page **pages, int *nr,
mm/vmalloc.c
570
unsigned long end, pgprot_t prot, struct page **pages, int *nr,
mm/vmalloc.c
588
unsigned long end, pgprot_t prot, struct page **pages, int *nr,
mm/vmalloc.c
606
unsigned long end, pgprot_t prot, struct page **pages, int *nr,
mm/vmalloc.c
624
pgprot_t prot, struct page **pages)
mm/vmalloc.c
660
pgprot_t prot, struct page **pages, unsigned int page_shift)
mm/vmalloc.c
686
pgprot_t prot, struct page **pages, unsigned int page_shift,
mm/vmalloc.c
698
pgprot_t prot, struct page **pages, unsigned int page_shift,
mm/vmalloc.c
721
pgprot_t prot, struct page **pages, unsigned int page_shift)
mm/vmalloc.c
95
phys_addr_t phys_addr, pgprot_t prot,
tools/testing/vma/include/dup.h
1182
bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
tools/testing/vma/include/dup.h
1188
pgprot_t vm_page_prot;
tools/testing/vma/include/dup.h
370
#define __pgprot(x) ((pgprot_t) { (x) } )
tools/testing/vma/include/dup.h
440
pgprot_t pgprot;
tools/testing/vma/include/dup.h
501
pgprot_t page_prot;
tools/testing/vma/include/dup.h
524
pgprot_t vm_page_prot; /* Access permissions of this VMA. */
tools/testing/vma/include/dup.h
728
static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
tools/testing/vma/include/dup.h
733
static inline pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
tools/testing/vma/include/stubs.h
115
unsigned long pfn, unsigned long size, pgprot_t pgprot)