Symbol: pgprot_t
arch/alpha/include/asm/page.h
38
#define __pgprot(x) ((pgprot_t) { (x) } )
arch/alpha/include/asm/pgtable.h
135
static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
arch/alpha/include/asm/pgtable.h
179
extern inline pte_t pfn_pte(unsigned long physpfn, pgprot_t pgprot)
arch/alpha/include/asm/pgtable.h
182
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
122
extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/arm/include/asm/pgtable.h
123
unsigned long size, pgprot_t vma_prot);
arch/arm/include/asm/pgtable.h
207
static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot)
arch/arm/include/asm/pgtable.h
213
static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot)
arch/arm/include/asm/pgtable.h
259
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/arm/include/asm/pgtable.h
79
extern pgprot_t pgprot_user;
arch/arm/include/asm/pgtable.h
80
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
390
void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot)
arch/arm/mm/mmu.c
412
static pgprot_t protection_map[16] __ro_after_init = {
arch/arm/mm/mmu.c
59
pgprot_t pgprot_user;
arch/arm/mm/mmu.c
60
pgprot_t pgprot_kernel;
arch/arm/mm/mmu.c
706
pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/arm/mm/mmu.c
707
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
158
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
120
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
67
phys_addr_t size, pgprot_t prot);
arch/arm64/include/asm/mmu.h
70
pgprot_t prot, bool page_mappings_only);
arch/arm64/include/asm/mmu.h
71
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
1225
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/arm64/include/asm/pgtable.h
1249
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/arm64/include/asm/pgtable.h
230
static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot)
arch/arm64/include/asm/pgtable.h
236
static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot)
arch/arm64/include/asm/pgtable.h
242
static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot)
arch/arm64/include/asm/pgtable.h
248
static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot)
arch/arm64/include/asm/pgtable.h
457
static inline pgprot_t pte_pgprot(pte_t pte)
arch/arm64/include/asm/pgtable.h
514
static inline pgprot_t mk_pud_sect_prot(pgprot_t prot)
arch/arm64/include/asm/pgtable.h
519
static inline pgprot_t mk_pmd_sect_prot(pgprot_t prot)
arch/arm64/include/asm/pgtable.h
658
static inline pgprot_t pmd_pgprot(pmd_t pmd)
arch/arm64/include/asm/pgtable.h
666
static inline pgprot_t pud_pgprot(pud_t pud)
arch/arm64/include/asm/pgtable.h
774
extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/arm64/include/asm/pgtable.h
775
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
1550
pgprot_t prot;
arch/arm64/mm/contpte.c
262
pgprot_t prot;
arch/arm64/mm/contpte.c
362
pgprot_t orig_prot)
arch/arm64/mm/contpte.c
364
pgprot_t prot = pte_pgprot(pte_mkold(pte_mkclean(pte)));
arch/arm64/mm/contpte.c
389
pgprot_t orig_prot;
arch/arm64/mm/contpte.c
458
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
1018
phys_addr_t size, pgprot_t prot)
arch/arm64/mm/mmu.c
1030
pgprot_t prot, bool page_mappings_only)
arch/arm64/mm/mmu.c
1044
phys_addr_t size, pgprot_t prot)
arch/arm64/mm/mmu.c
1059
pgprot_t prot, int flags)
arch/arm64/mm/mmu.c
1340
static pgprot_t __init kernel_exec_prot(void)
arch/arm64/mm/mmu.c
1352
pgprot_t prot = kernel_exec_prot();
arch/arm64/mm/mmu.c
1393
pgprot_t prot, int level, pte_t *tbl, bool may_use_cont,
arch/arm64/mm/mmu.c
164
phys_addr_t phys, pgprot_t prot)
arch/arm64/mm/mmu.c
1817
int pud_set_huge(pud_t *pudp, phys_addr_t phys, pgprot_t prot)
arch/arm64/mm/mmu.c
1831
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
255
phys_addr_t phys, pgprot_t prot,
arch/arm64/mm/mmu.c
307
pgprot_t prot,
arch/arm64/mm/mmu.c
340
pgprot_t __prot = prot;
arch/arm64/mm/mmu.c
365
phys_addr_t phys, pgprot_t prot,
arch/arm64/mm/mmu.c
432
phys_addr_t phys, pgprot_t prot,
arch/arm64/mm/mmu.c
484
pgprot_t prot,
arch/arm64/mm/mmu.c
517
pgprot_t prot,
arch/arm64/mm/mmu.c
533
pgprot_t prot,
arch/arm64/mm/mmu.c
609
pgprot_t prot = pmd_pgprot(pmd);
arch/arm64/mm/mmu.c
656
pgprot_t prot = pud_pgprot(pud);
arch/arm64/mm/mmu.c
97
pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/arm64/mm/mmu.c
98
unsigned long size, pgprot_t vma_prot)
arch/arm64/mm/pageattr.c
106
pgprot_t set_mask, pgprot_t clear_mask)
arch/arm64/mm/pageattr.c
133
pgprot_t set_mask, pgprot_t clear_mask)
arch/arm64/mm/pageattr.c
151
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
256
pgprot_t clear_mask = __pgprot(PTE_PRESENT_VALID_KERNEL);
arch/arm64/mm/pageattr.c
257
pgprot_t set_mask = __pgprot(PTE_PRESENT_INVALID);
arch/arm64/mm/pageattr.c
268
pgprot_t set_mask = __pgprot(PTE_PRESENT_VALID_KERNEL | PTE_WRITE);
arch/arm64/mm/pageattr.c
269
pgprot_t clear_mask = __pgprot(PTE_PRESENT_INVALID | PTE_RDONLY);
arch/csky/include/asm/page.h
62
#define __pgprot(x) ((pgprot_t) { (x) })
arch/csky/include/asm/pgtable.h
219
extern pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/csky/include/asm/pgtable.h
220
unsigned long size, pgprot_t vma_prot);
arch/csky/include/asm/pgtable.h
230
static inline pgprot_t pgprot_noncached(pgprot_t _prot)
arch/csky/include/asm/pgtable.h
240
static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
arch/csky/include/asm/pgtable.h
249
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/csky/mm/init.c
131
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
282
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
33
phys_addr_t phys, pgprot_t flags);
arch/loongarch/include/asm/io.h
26
pgprot_t prot)
arch/loongarch/include/asm/page.h
54
#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
464
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/loongarch/include/asm/pgtable.h
592
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/loongarch/mm/cache.c
151
static const pgprot_t protection_map[16] = {
arch/loongarch/mm/init.c
197
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
162
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
216
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
82
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
270
static inline pte_t mk_pte_phys(phys_addr_t physpage, pgprot_t pgprot)
arch/microblaze/include/asm/pgtable.h
277
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
73
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
146
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/nios2/include/asm/pgtable.h
89
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
273
static inline pte_t __mk_pte(void *page, pgprot_t pgprot)
arch/openrisc/include/asm/pgtable.h
289
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/openrisc/mm/init.c
196
static int map_page(unsigned long va, phys_addr_t pa, pgprot_t prot)
arch/openrisc/mm/init.c
225
phys_addr_t phys, pgprot_t prot)
arch/openrisc/mm/init.c
237
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
339
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
arch/parisc/include/asm/pgtable.h
346
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
956
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
106
extern pgprot_t pci_phys_mem_access_prot(unsigned long pfn,
arch/powerpc/include/asm/pci.h
108
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
100
extern const pgprot_t protection_map[16];
arch/powerpc/include/asm/pgtable.h
122
pgprot_t __phys_mem_access_prot(unsigned long pfn, unsigned long size,
arch/powerpc/include/asm/pgtable.h
123
pgprot_t vma_prot);
arch/powerpc/include/asm/pgtable.h
126
static inline pgprot_t phys_mem_access_prot(struct file *file, unsigned long pfn,
arch/powerpc/include/asm/pgtable.h
127
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
68
static inline pgprot_t pmd_pgprot(pmd_t pmd)
arch/powerpc/include/asm/pgtable.h
74
static inline pgprot_t pud_pgprot(pud_t pud)
arch/powerpc/include/asm/pgtable.h
80
static inline pgprot_t pgprot_nx(pgprot_t prot)
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
222
static pmd_t pmd_set_protbits(pmd_t pmd, pgprot_t pgprot)
arch/powerpc/mm/book3s64/pgtable.c
227
static pud_t pud_set_protbits(pud_t pud, pgprot_t pgprot)
arch/powerpc/mm/book3s64/pgtable.c
237
pmd_t pfn_pmd(unsigned long pfn, pgprot_t pgprot)
arch/powerpc/mm/book3s64/pgtable.c
246
pud_t pfn_pud(unsigned long pfn, pgprot_t pgprot)
arch/powerpc/mm/book3s64/pgtable.c
255
pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/powerpc/mm/book3s64/pgtable.c
264
pud_t pud_modify(pud_t pud, pgprot_t newprot)
arch/powerpc/mm/book3s64/pgtable.c
287
int nid, pgprot_t prot)
arch/powerpc/mm/book3s64/pgtable.c
631
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
397
pgprot_t kprobes_prot = strict_module_rwx_enabled() ? PAGE_KERNEL_ROX : PAGE_KERNEL_EXEC;
arch/powerpc/mm/mem.c
398
pgprot_t prot = strict_module_rwx_enabled() ? PAGE_KERNEL : PAGE_KERNEL_EXEC;
arch/powerpc/mm/mem.c
41
pgprot_t __phys_mem_access_prot(unsigned long pfn, unsigned long size,
arch/powerpc/mm/mem.c
42
pgprot_t vma_prot)
arch/powerpc/mm/mem.c
66
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
77
#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
1158
static inline pud_t pud_modify(pud_t pud, pgprot_t newprot)
arch/riscv/include/asm/pgtable.h
250
static inline pgd_t pfn_pgd(unsigned long pfn, pgprot_t prot)
arch/riscv/include/asm/pgtable.h
330
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot)
arch/riscv/include/asm/pgtable.h
340
static inline pgprot_t pte_pgprot(pte_t pte)
arch/riscv/include/asm/pgtable.h
553
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/riscv/include/asm/pgtable.h
715
static inline pgprot_t pgprot_nx(pgprot_t _prot)
arch/riscv/include/asm/pgtable.h
721
static inline pgprot_t pgprot_noncached(pgprot_t _prot)
arch/riscv/include/asm/pgtable.h
732
static inline pgprot_t pgprot_writecombine(pgprot_t _prot)
arch/riscv/include/asm/pgtable.h
794
static inline pgprot_t pmd_pgprot(pmd_t pmd)
arch/riscv/include/asm/pgtable.h
800
static inline pgprot_t pud_pgprot(pud_t pud)
arch/riscv/include/asm/pgtable.h
805
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
187
gpa_t addr, pte_t *ptep, pgprot_t prot)
arch/riscv/kvm/gstage.c
215
pgprot_t prot;
arch/riscv/kvm/mmu.c
41
pgprot_t prot;
arch/riscv/mm/init.c
1187
uintptr_t fixed_map_size, const pgprot_t *pgprot)
arch/riscv/mm/init.c
351
static const pgprot_t protection_map[16] = {
arch/riscv/mm/init.c
371
void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot)
arch/riscv/mm/init.c
431
pgprot_t prot)
arch/riscv/mm/init.c
495
phys_addr_t sz, pgprot_t prot)
arch/riscv/mm/init.c
597
pgprot_t prot)
arch/riscv/mm/init.c
623
pgprot_t prot)
arch/riscv/mm/init.c
680
pgprot_t prot)
arch/riscv/mm/init.c
726
static __meminit pgprot_t pgprot_from_va(uintptr_t va)
arch/riscv/mm/init.c
751
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
109
int pmd_set_huge(pmd_t *pmd, phys_addr_t phys, pgprot_t prot)
arch/riscv/mm/pgtable.c
62
int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
arch/riscv/mm/pgtable.c
71
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
1050
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/s390/include/asm/pgtable.h
1353
pgprot_t pgprot_writecombine(pgprot_t prot);
arch/s390/include/asm/pgtable.h
1379
static inline pte_t mk_pte_phys(unsigned long physpage, pgprot_t pgprot)
arch/s390/include/asm/pgtable.h
1569
static inline unsigned long massage_pgprot_pmd(pgprot_t pgprot)
arch/s390/include/asm/pgtable.h
1600
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/s390/include/asm/pgtable.h
1618
static inline pmd_t mk_pmd_phys(unsigned long physpage, pgprot_t pgprot)
arch/s390/include/asm/pgtable.h
1997
extern int __vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot, bool alloc);
arch/s390/include/asm/pgtable.h
1998
extern int vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot);
arch/s390/include/asm/pgtable.h
558
static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot)
arch/s390/include/asm/pgtable.h
563
static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot)
arch/s390/include/asm/pgtable.h
568
static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot)
arch/s390/include/asm/pgtable.h
573
static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot)
arch/s390/include/asm/pgtable.h
578
static inline pud_t clear_pud_bit(pud_t pud, pgprot_t prot)
arch/s390/include/asm/pgtable.h
583
static inline pud_t set_pud_bit(pud_t pud, pgprot_t prot)
arch/s390/include/asm/pgtable.h
944
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
638
int __vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot, bool alloc)
arch/s390/mm/vmem.c
653
int vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot)
arch/s390/pci/pci.c
277
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
76
#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
251
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
arch/sparc/include/asm/pgtable_32.h
271
static inline pte_t mk_pte_phys(unsigned long page, pgprot_t pgprot)
arch/sparc/include/asm/pgtable_32.h
276
static inline pte_t mk_pte_io(unsigned long page, pgprot_t pgprot, int space)
arch/sparc/include/asm/pgtable_32.h
282
static inline pgprot_t pgprot_noncached(pgprot_t prot)
arch/sparc/include/asm/pgtable_32.h
288
static pte_t pte_modify(pte_t pte, pgprot_t newprot) __attribute_const__;
arch/sparc/include/asm/pgtable_32.h
289
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
218
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot)
arch/sparc/include/asm/pgtable_64.h
227
static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot)
arch/sparc/include/asm/pgtable_64.h
257
static inline pte_t pte_modify(pte_t pte, pgprot_t prot)
arch/sparc/include/asm/pgtable_64.h
316
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/sparc/include/asm/pgtable_64.h
326
static inline pgprot_t pgprot_noncached(pgprot_t prot)
arch/sparc/include/asm/pgtable_64.h
782
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
281
static const pgprot_t protection_map[16] = {
arch/sparc/mm/init_64.c
1754
unsigned long pend, pgprot_t prot,
arch/sparc/mm/init_64.c
2524
pgprot_t PAGE_KERNEL __read_mostly;
arch/sparc/mm/init_64.c
2527
pgprot_t PAGE_KERNEL_LOCKED __read_mostly;
arch/sparc/mm/init_64.c
2528
pgprot_t PAGE_COPY __read_mostly;
arch/sparc/mm/init_64.c
2530
pgprot_t PAGE_SHARED __read_mostly;
arch/sparc/mm/init_64.c
2570
static pgprot_t protection_map[16] __ro_after_init;
arch/sparc/mm/init_64.c
2731
pte_t mk_pte_io(unsigned long page, pgprot_t prot, int space, unsigned long page_size)
arch/sparc/mm/init_64.c
3139
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
260
static inline pte_t pfn_pte(unsigned long pfn, pgprot_t pgprot)
arch/um/include/asm/pgtable.h
269
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/um/kernel/mem.c
113
static const pgprot_t protection_map[16] = {
arch/x86/events/intel/ds.c
796
static void ds_update_cea(void *cea, void *addr, size_t size, pgprot_t prot)
arch/x86/include/asm/acpi.h
230
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
499
phys_addr_t phys, pgprot_t flags)
arch/x86/include/asm/paravirt_types.h
172
phys_addr_t phys, pgprot_t flags);
arch/x86/include/asm/pgtable.h
1174
unsigned long end, pgprot_t prot);
arch/x86/include/asm/pgtable.h
1662
extern bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot);
arch/x86/include/asm/pgtable.h
703
static inline pgprotval_t massage_pgprot(pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
713
static inline pgprotval_t check_pgprot(pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
730
static inline pte_t pfn_pte(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
741
static inline pmd_t pfn_pmd(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
749
static inline pud_t pfn_pud(unsigned long page_nr, pgprot_t pgprot)
arch/x86/include/asm/pgtable.h
771
static inline pte_t pte_modify(pte_t pte, pgprot_t newprot)
arch/x86/include/asm/pgtable.h
804
static inline pmd_t pmd_modify(pmd_t pmd, pgprot_t newprot)
arch/x86/include/asm/pgtable.h
827
static inline pud_t pud_modify(pud_t pud, pgprot_t newprot)
arch/x86/include/asm/pgtable.h
855
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
2554
pgprot_t pgprot;
arch/x86/kernel/apic/io_apic.c
2533
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
1091
pgprot_t ref_prot, unsigned long address,
arch/x86/mm/pat/set_memory.c
1095
pgprot_t prot;
arch/x86/mm/pat/set_memory.c
1134
pgprot_t ref_prot;
arch/x86/mm/pat/set_memory.c
1258
pgprot_t pgprot;
arch/x86/mm/pat/set_memory.c
1573
unsigned num_pages, pmd_t *pmd, pgprot_t pgprot)
arch/x86/mm/pat/set_memory.c
1592
unsigned num_pages, pud_t *pud, pgprot_t pgprot)
arch/x86/mm/pat/set_memory.c
1596
pgprot_t pmd_pgprot;
arch/x86/mm/pat/set_memory.c
1665
pgprot_t pgprot)
arch/x86/mm/pat/set_memory.c
1670
pgprot_t pud_pgprot;
arch/x86/mm/pat/set_memory.c
1748
pgprot_t pgprot = __pgprot(_KERNPG_TABLE);
arch/x86/mm/pat/set_memory.c
1868
pgprot_t old_prot = pte_pgprot(old_pte);
arch/x86/mm/pat/set_memory.c
1869
pgprot_t new_prot = pte_pgprot(old_pte);
arch/x86/mm/pat/set_memory.c
2057
pgprot_t mask_set, pgprot_t mask_clr,
arch/x86/mm/pat/set_memory.c
2140
pgprot_t mask, int array)
arch/x86/mm/pat/set_memory.c
2147
pgprot_t mask, int array)
arch/x86/mm/pat/set_memory.c
2154
pgprot_t mask)
arch/x86/mm/pat/set_memory.c
2161
pgprot_t mask)
arch/x86/mm/pat/set_memory.c
2328
pgprot_t clr = __pgprot(_PAGE_RW | _PAGE_DIRTY);
arch/x86/mm/pat/set_memory.c
2384
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
593
static inline bool conflicts(pgprot_t prot, pgprotval_t val)
arch/x86/mm/pat/set_memory.c
598
static inline void check_conflict(int warnlvl, pgprot_t prot, pgprotval_t val,
arch/x86/mm/pat/set_memory.c
622
static inline pgprot_t static_protections(pgprot_t prot, unsigned long start,
arch/x86/mm/pat/set_memory.c
670
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
911
static pgprot_t pgprot_clear_protnone_bits(pgprot_t prot)
arch/x86/mm/pat/set_memory.c
932
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
575
phys_addr_t phys, pgprot_t flags)
arch/x86/mm/pgtable.c
593
int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
arch/x86/mm/pgtable.c
624
int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot)
arch/x86/mm/pgtable.c
653
int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot)
arch/x86/power/hibernate_64.c
31
pgprot_t pgtable_prot = __pgprot(_KERNPG_TABLE);
arch/x86/power/hibernate_64.c
32
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
448
static void set_aliased_prot(void *v, pgprot_t prot)
arch/x86/xen/mmu_pv.c
1589
static inline void __set_pfn_prot(unsigned long pfn, pgprot_t prot)
arch/x86/xen/mmu_pv.c
1708
static void __init set_page_prot_flags(void *addr, pgprot_t prot,
arch/x86/xen/mmu_pv.c
1717
static void __init set_page_prot(void *addr, pgprot_t prot)
arch/x86/xen/mmu_pv.c
2098
static void xen_set_fixmap(unsigned idx, phys_addr_t phys, pgprot_t prot)
arch/x86/xen/mmu_pv.c
2443
pgprot_t prot;
arch/x86/xen/mmu_pv.c
2472
xen_pfn_t *pfn, int nr, int *err_ptr, pgprot_t prot,
arch/x86/xen/mmu_pv.c
316
void __init set_pte_mfn(unsigned long vaddr, unsigned long mfn, pgprot_t flags)
arch/x86/xen/xen-ops.h
78
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
273
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/dma-buf/heaps/system_heap.c
235
pgprot_t prot;
drivers/dma-buf/heaps/system_heap.c
276
pgprot_t prot;
drivers/firmware/efi/earlycon.c
58
pgprot_t fb_prot;
drivers/gpu/drm/drm_gem_shmem_helper.c
400
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
405
pgprot_t pgprot;
drivers/gpu/drm/panthor/panthor_gem.c
383
pgprot_t prot = PAGE_KERNEL;
drivers/gpu/drm/tegra/gem.c
604
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
281
pgprot_t prot;
drivers/infiniband/core/ib_core_uverbs.c
73
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
1416
pgprot_t prot;
drivers/infiniband/hw/hns/hns_roce_main.c
530
pgprot_t prot;
drivers/infiniband/hw/mana/main.c
513
pgprot_t prot;
drivers/infiniband/hw/mlx5/main.c
2594
pgprot_t prot;
drivers/infiniband/hw/mlx5/main.c
2712
pgprot_t prot;
drivers/iommu/dma-iommu.c
1020
pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs);
drivers/iommu/dma-iommu.c
1637
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
418
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
439
pgprot_t prot,
include/drm/ttm/ttm_bo.h
446
vm_fault_t ttm_bo_vm_dummy_page(struct vm_fault *vmf, pgprot_t prot);
include/drm/ttm/ttm_bo.h
474
pgprot_t ttm_io_prot(struct ttm_buffer_object *bo, struct ttm_resource *res,
include/drm/ttm/ttm_bo.h
475
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
208
void *dma_common_contiguous_remap(struct page *page, size_t size, pgprot_t prot,
include/linux/dma-map-ops.h
210
void *dma_common_pages_remap(struct page **pages, size_t size, pgprot_t prot,
include/linux/dma-map-ops.h
330
pgprot_t dma_pgprot(struct device *dev, pgprot_t prot, unsigned long attrs);
include/linux/dma-map-ops.h
332
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
476
pud_t *pudp, unsigned long addr, pgprot_t newprot,
include/linux/huge_mm.h
481
pud_t *pudp, unsigned long addr, pgprot_t newprot,
include/linux/huge_mm.h
778
unsigned long addr, pgprot_t newprot,
include/linux/hugetlb.h
272
unsigned long address, unsigned long end, pgprot_t newprot,
include/linux/hugetlb.h
433
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
2575
static inline pte_t mk_pte(const struct page *page, pgprot_t pgprot)
include/linux/mm.h
2590
static inline pte_t folio_mk_pte(const struct folio *folio, pgprot_t pgprot)
include/linux/mm.h
2606
static inline pmd_t folio_mk_pmd(const struct folio *folio, pgprot_t pgprot)
include/linux/mm.h
2622
static inline pud_t folio_mk_pud(const struct folio *folio, pgprot_t pgprot)
include/linux/mm.h
3160
pgprot_t pgprot;
include/linux/mm.h
4498
pgprot_t vm_get_page_prot(vm_flags_t vm_flags);
include/linux/mm.h
4500
static inline pgprot_t vma_get_page_prot(vma_flags_t vma_flags)
include/linux/mm.h
4509
static inline pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
include/linux/mm.h
4513
static inline pgprot_t vma_get_page_prot(vma_flags_t vma_flags)
include/linux/mm.h
4533
unsigned long pfn, unsigned long size, pgprot_t pgprot);
include/linux/mm.h
4550
unsigned long pfn, pgprot_t pgprot);
include/linux/mm.h
4580
unsigned long size, pgprot_t orig_prot)
include/linux/mm.h
4583
const pgprot_t prot = pgprot_decrypted(orig_prot);
include/linux/mm_types.h
832
pgprot_t pgprot;
include/linux/mm_types.h
898
pgprot_t page_prot;
include/linux/mm_types.h
937
pgprot_t vm_page_prot; /* Access permissions of this VMA. */
include/linux/pgtable.h
1812
static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
include/linux/pgtable.h
1947
pgprot_t *prot)
include/linux/pgtable.h
1953
pgprot_t *prot)
include/linux/pgtable.h
1986
pgprot_t *prot);
include/linux/pgtable.h
2006
int pfnmap_track(unsigned long pfn, unsigned long size, pgprot_t *prot);
include/linux/pgtable.h
2028
static inline void pfnmap_setup_cachemode_pfn(unsigned long pfn, pgprot_t *prot)
include/linux/pgtable.h
2161
int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot);
include/linux/pgtable.h
2164
static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
include/linux/pgtable.h
2171
int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot);
include/linux/pgtable.h
2172
int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot);
include/linux/pgtable.h
2179
static inline int p4d_set_huge(p4d_t *p4d, phys_addr_t addr, pgprot_t prot)
include/linux/pgtable.h
2183
static inline int pud_set_huge(pud_t *pud, phys_addr_t addr, pgprot_t prot)
include/linux/pgtable.h
2187
static inline int pmd_set_huge(pmd_t *pmd, phys_addr_t addr, pgprot_t prot)
include/linux/pgtable.h
2235
unsigned long size, pgprot_t *vma_prot);
include/linux/pgtable.h
2244
static inline bool pfn_modify_allowed(unsigned long pfn, pgprot_t prot)
include/linux/pgtable.h
2461
#define pte_pgprot(x) ((pgprot_t) {0})
include/linux/pgtable.h
2465
#define pmd_pgprot(x) ((pgprot_t) {0})
include/linux/pgtable.h
2469
#define pud_pgprot(x) ((pgprot_t) {0})
include/linux/pgtable.h
2493
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
3113
unsigned long pfn, unsigned long size, pgprot_t prot,
include/rdma/ib_verbs.h
3147
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
538
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
469
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
1542
pmd_t *pmd, struct folio_or_pfn fop, pgprot_t prot,
mm/huge_memory.c
1627
pgprot_t pgprot = vma->vm_page_prot;
mm/huge_memory.c
1674
pud_t *pud, struct folio_or_pfn fop, pgprot_t prot, bool write)
mm/huge_memory.c
1735
pgprot_t pgprot = vma->vm_page_prot;
mm/huge_memory.c
2601
pmd_t *pmd, unsigned long addr, pgprot_t newprot,
mm/huge_memory.c
2702
pud_t *pudp, unsigned long addr, pgprot_t newprot,
mm/hugetlb.c
6390
pgprot_t newprot, unsigned long cp_flags)
mm/hugetlb_vmemmap.c
69
pgprot_t pgprot = PAGE_KERNEL;
mm/internal.h
1535
pgprot_t prot, struct page **pages, unsigned int page_shift, gfp_t gfp_mask);
mm/internal.h
1544
pgprot_t prot, struct page **pages, unsigned int page_shift, gfp_t gfp_mask)
mm/internal.h
1553
unsigned long end, pgprot_t prot,
mm/internal.h
1859
const pgprot_t orig_pgprot = action->remap.pgprot;
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
2353
pgprot_t prot, bool mkwrite)
mm/memory.c
2393
struct page *page, pgprot_t prot, bool mkwrite)
mm/memory.c
2414
unsigned long addr, struct page *page, pgprot_t prot)
mm/memory.c
2428
struct page **pages, unsigned long *num, pgprot_t prot)
mm/memory.c
2671
unsigned long pfn, pgprot_t prot, bool mkwrite)
mm/memory.c
2755
unsigned long pfn, pgprot_t pgprot)
mm/memory.c
2825
pgprot_t pgprot = vma->vm_page_prot;
mm/memory.c
2871
pgprot_t pgprot = vmf->vma->vm_page_prot;
mm/memory.c
2913
unsigned long pfn, pgprot_t prot)
mm/memory.c
2939
unsigned long pfn, pgprot_t prot)
mm/memory.c
2962
unsigned long pfn, pgprot_t prot)
mm/memory.c
2984
unsigned long pfn, pgprot_t prot)
mm/memory.c
3024
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3057
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3075
unsigned long size, pgprot_t *prot)
mm/memory.c
3103
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3140
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3146
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3203
unsigned long pfn, unsigned long size, pgprot_t prot)
mm/memory.c
3221
const pgprot_t prot = action->remap.pgprot;
mm/memory.c
6791
pgprot_t pgprot, unsigned long pfn_base,
mm/memory.c
6970
pgprot_t prot = __pgprot(0);
mm/mmap.c
84
pgprot_t vm_page_prot;
mm/mprotect.c
282
int nr_ptes, unsigned long end, pgprot_t newprot,
mm/mprotect.c
321
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
483
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
553
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
612
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
635
unsigned long end, pgprot_t newprot, unsigned long cp_flags)
mm/mprotect.c
667
pgprot_t newprot = vma->vm_page_prot;
mm/mprotect.c
698
*(pgprot_t *)(walk->private)) ?
mm/mprotect.c
707
*(pgprot_t *)(walk->private)) ?
mm/mprotect.c
754
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
2109
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
457
bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
mm/vma.h
487
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
3538
unsigned long flags, pgprot_t prot)
mm/vmalloc.c
3582
pgprot_t prot;
mm/vmalloc.c
3611
void *vmap_pfn(unsigned long *pfns, unsigned int count, pgprot_t prot)
mm/vmalloc.c
3844
pgprot_t prot, unsigned int page_shift,
mm/vmalloc.c
4005
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
1411
bool vma_wants_writenotify(struct vm_area_struct *vma, pgprot_t vm_page_prot);
tools/testing/vma/include/dup.h
1417
pgprot_t vm_page_prot;
tools/testing/vma/include/dup.h
1535
static inline pgprot_t vma_get_page_prot(vma_flags_t vma_flags)
tools/testing/vma/include/dup.h
389
#define __pgprot(x) ((pgprot_t) { (x) } )
tools/testing/vma/include/dup.h
470
pgprot_t pgprot;
tools/testing/vma/include/dup.h
525
pgprot_t page_prot;
tools/testing/vma/include/dup.h
548
pgprot_t vm_page_prot; /* Access permissions of this VMA. */
tools/testing/vma/include/dup.h
774
static inline pgprot_t pgprot_modify(pgprot_t oldprot, pgprot_t newprot)
tools/testing/vma/include/dup.h
779
static inline pgprot_t vm_get_page_prot(vm_flags_t vm_flags)
tools/testing/vma/include/stubs.h
116
unsigned long pfn, unsigned long size, pgprot_t pgprot)