| /Linux-v5.4/lib/ | 
| D | ioremap.c | 64 		unsigned long end, phys_addr_t phys_addr, pgprot_t prot)  in ioremap_pte_range()83 				pgprot_t prot)  in ioremap_try_huge_pmd()
 104 		unsigned long end, phys_addr_t phys_addr, pgprot_t prot)  in ioremap_pmd_range()
 126 				pgprot_t prot)  in ioremap_try_huge_pud()
 147 		unsigned long end, phys_addr_t phys_addr, pgprot_t prot)  in ioremap_pud_range()
 169 				pgprot_t prot)  in ioremap_try_huge_p4d()
 190 		unsigned long end, phys_addr_t phys_addr, pgprot_t prot)  in ioremap_p4d_range()
 211 		       unsigned long end, phys_addr_t phys_addr, pgprot_t prot)  in ioremap_page_range()
 
 | 
| /Linux-v5.4/net/ipv4/ | 
| D | protocol.c | 32 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol)  in inet_add_protocol()45 int inet_add_offload(const struct net_offload *prot, unsigned char protocol)  in inet_add_offload()
 52 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol)  in inet_del_protocol()
 65 int inet_del_offload(const struct net_offload *prot, unsigned char protocol)  in inet_del_offload()
 
 | 
| /Linux-v5.4/net/ipv6/ | 
| D | protocol.c | 28 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol)  in inet6_add_protocol()35 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol)  in inet6_del_protocol()
 52 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol)  in inet6_add_offload()
 59 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol)  in inet6_del_offload()
 
 | 
| /Linux-v5.4/arch/powerpc/mm/ | 
| D | ioremap.c | 13 	pgprot_t prot = pgprot_noncached(PAGE_KERNEL);  in ioremap()  local24 	pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL);  in ioremap_wc()  local
 35 	pgprot_t prot = pgprot_cached(PAGE_KERNEL);  in ioremap_coherent()  local
 63 			unsigned long size, pgprot_t prot)  in early_ioremap_range()
 78 			 pgprot_t prot, void *caller)  in do_ioremap()
 
 | 
| D | ioremap_32.c | 11 	pgprot_t prot = pgprot_cached_wthru(PAGE_KERNEL);  in ioremap_wt()  local18 __ioremap_caller(phys_addr_t addr, unsigned long size, pgprot_t prot, void *caller)  in __ioremap_caller()
 
 | 
| /Linux-v5.4/arch/sparc/include/asm/ | 
| D | mman.h | 30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot)  argument31 static inline unsigned long sparc_calc_vm_prot_bits(unsigned long prot)  in sparc_calc_vm_prot_bits()
 55 #define arch_validate_prot(prot, addr) sparc_validate_prot(prot, addr)  argument
 56 static inline int sparc_validate_prot(unsigned long prot, unsigned long addr)  in sparc_validate_prot()
 
 | 
| /Linux-v5.4/arch/arm64/include/asm/ | 
| D | pgalloc.h | 47 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot)  in __pud_populate()57 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot)  in __pud_populate()
 76 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot)  in __pgd_populate()
 86 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot)  in __pgd_populate()
 96 				  pmdval_t prot)  in __pmd_populate()
 
 | 
| /Linux-v5.4/arch/arm/mm/ | 
| D | idmap.c | 25 	unsigned long prot)  in idmap_add_pmd()56 	unsigned long prot)  in idmap_add_pmd()
 69 	unsigned long prot)  in idmap_add_pud()
 81 				 const char *text_end, unsigned long prot)  in identity_mapping_add()
 
 | 
| /Linux-v5.4/arch/powerpc/include/asm/ | 
| D | mman.h | 20 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot,  in arch_calc_vm_prot_bits()29 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey)  argument
 43 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr)  in arch_validate_prot()
 
 | 
| /Linux-v5.4/arch/arm64/mm/ | 
| D | mmu.c | 141 		     phys_addr_t phys, pgprot_t prot)  in init_pte()166 				pgprot_t prot,  in alloc_init_cont_pte()
 200 		     phys_addr_t phys, pgprot_t prot,  in init_pmd()
 238 				pgprot_t prot,  in alloc_init_cont_pmd()
 286 			   phys_addr_t phys, pgprot_t prot,  in alloc_init_pud()
 337 				 pgprot_t prot,  in __create_pgd_mapping()
 400 				  phys_addr_t size, pgprot_t prot)  in create_mapping_noalloc()
 413 			       pgprot_t prot, bool page_mappings_only)  in create_pgd_mapping()
 427 				phys_addr_t size, pgprot_t prot)  in update_mapping_prot()
 443 				  phys_addr_t end, pgprot_t prot, int flags)  in __map_memblock()
 [all …]
 
 | 
| /Linux-v5.4/arch/arm/include/asm/ | 
| D | pgtable.h | 113 #define __pgprot_modify(prot,mask,bits)		\  argument116 #define pgprot_noncached(prot) \  argument
 119 #define pgprot_writecombine(prot) \  argument
 122 #define pgprot_stronglyordered(prot) \  argument
 125 #define pgprot_device(prot) \  argument
 129 #define pgprot_dmacoherent(prot) \  argument
 136 #define pgprot_dmacoherent(prot) \  argument
 212 #define pfn_pte(pfn,prot)	__pte(__pfn_to_phys(pfn) | pgprot_val(prot))  argument
 215 #define mk_pte(page,prot)	pfn_pte(page_to_pfn(page), prot)  argument
 269 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot)  in clear_pte_bit()
 [all …]
 
 | 
| /Linux-v5.4/include/xen/ | 
| D | xen-ops.h | 71 				pgprot_t prot,  unsigned int domid,  in xen_remap_pfn()98 					    int *err_ptr, pgprot_t prot,  in xen_xlate_remap_gfn_array()
 135 					     int *err_ptr, pgprot_t prot,  in xen_remap_domain_gfn_array()
 172 					     pgprot_t prot, unsigned int domid,  in xen_remap_domain_mfn_array()
 197 					     pgprot_t prot, unsigned int domid,  in xen_remap_domain_gfn_range()
 
 | 
| /Linux-v5.4/arch/powerpc/include/asm/nohash/ | 
| D | pgtable.h | 240 #define pgprot_noncached(prot)	  (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \  argument243 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \  argument
 246 #define pgprot_cached(prot)       (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \  argument
 250 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \  argument
 253 #define pgprot_cached_wthru(prot)	pgprot_noncached(prot)  argument
 256 #define pgprot_cached_noncoherent(prot) \  argument
 
 | 
| /Linux-v5.4/arch/x86/mm/ | 
| D | iomap_32.c | 21 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot)  in iomap_create_wc()47 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot)  in kmap_atomic_prot_pfn()
 68 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot)  in iomap_atomic_prot_pfn()
 
 | 
| D | dump_pagetables.c | 177 static void printk_prot(struct seq_file *m, pgprot_t prot, int level, bool dmsg)  in printk_prot()271 	pgprotval_t prot, cur, eff;  in note_page()  local
 362 	pgprotval_t prot, eff;  in walk_pte_level()  local
 389 		pgprotval_t prot = pte_flags(kasan_early_shadow_pte[0]);  in kasan_page_table()  local
 410 	pgprotval_t prot, eff;  in walk_pmd_level()  local
 443 	pgprotval_t prot, eff;  in walk_pud_level()  local
 476 	pgprotval_t prot, eff;  in walk_p4d_level()  local
 522 	pgprotval_t prot, eff;  in ptdump_walk_pgd_level_core()  local
 
 | 
| /Linux-v5.4/include/linux/ | 
| D | mman.h | 81 #define arch_calc_vm_prot_bits(prot, pkey) 0  argument95 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr)  in arch_validate_prot()
 117 calc_vm_prot_bits(unsigned long prot, unsigned long pkey)  in calc_vm_prot_bits()
 
 | 
| /Linux-v5.4/mm/ | 
| D | early_ioremap.c | 36 						    pgprot_t prot)  in early_memremap_pgprot_adjust()58 					    phys_addr_t phys, pgprot_t prot)  in __late_set_fixmap()
 106 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot)  in __early_ioremap()
 226 	pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size,  in early_memremap()  local
 235 	pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size,  in early_memremap_ro()  local
 
 | 
| /Linux-v5.4/arch/s390/mm/ | 
| D | dump_pagetables.c | 73 	unsigned int prot, cur;  in note_page()  local117 	unsigned int prot;  in note_kasan_early_shadow_page()  local
 136 	unsigned int prot;  in walk_pte_level()  local
 153 	unsigned int prot;  in walk_pmd_level()  local
 184 	unsigned int prot;  in walk_pud_level()  local
 
 | 
| /Linux-v5.4/arch/sh/include/asm/ | 
| D | pgtable.h | 147 static inline bool __pte_access_permitted(pte_t pte, u64 prot)  in __pte_access_permitted()155 	u64 prot = _PAGE_PRESENT;  in pte_access_permitted()  local
 165 	u64 prot = _PAGE_PRESENT | _PAGE_USER | _PAGE_READ;  in pte_access_permitted()  local
 174 	u64 prot = _PAGE_PRESENT | _PAGE_USER;  in pte_access_permitted()  local
 
 | 
| D | mmu.h | 72 		 unsigned long size, pgprot_t prot)  in pmb_bolt_mapping()79 		 pgprot_t prot, void *caller)  in pmb_remap_caller()
 100 pmb_remap(phys_addr_t phys, unsigned long size, pgprot_t prot)  in pmb_remap()
 
 | 
| /Linux-v5.4/arch/riscv/kernel/ | 
| D | sys_riscv.c | 13 			   unsigned long prot, unsigned long flags,  in riscv_sys_mmap()25 	unsigned long, prot, unsigned long, flags,  in SYSCALL_DEFINE6()  argument
 32 	unsigned long, prot, unsigned long, flags,  in SYSCALL_DEFINE6()  argument
 
 | 
| /Linux-v5.4/drivers/gpu/drm/ttm/ | 
| D | ttm_bo_util.c | 287 void *ttm_kmap_atomic_prot(struct page *page, pgprot_t prot)  in ttm_kmap_atomic_prot()303 void ttm_kunmap_atomic_prot(void *addr, pgprot_t prot)  in ttm_kunmap_atomic_prot()
 314 				pgprot_t prot)  in ttm_copy_io_ttm_page()
 336 				pgprot_t prot)  in ttm_copy_ttm_io_page()
 421 			pgprot_t prot = ttm_io_prot(old_mem->placement,  in ttm_bo_move_memcpy()  local
 426 			pgprot_t prot = ttm_io_prot(new_mem->placement,  in ttm_bo_move_memcpy()  local
 588 	pgprot_t prot;  in ttm_bo_kmap_ttm()  local
 
 | 
| /Linux-v5.4/arch/sh/kernel/ | 
| D | sys_sh.c | 33 	unsigned long prot, unsigned long flags,  in old_mmap()42 	unsigned long prot, unsigned long flags,  in sys_mmap2()
 
 | 
| /Linux-v5.4/arch/sh/mm/ | 
| D | init.c | 72 static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot)  in set_pte_phys()89 static void clear_pte_phys(unsigned long addr, pgprot_t prot)  in clear_pte_phys()
 102 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot)  in __set_fixmap()
 114 void __clear_fixmap(enum fixed_addresses idx, pgprot_t prot)  in __clear_fixmap()
 
 | 
| /Linux-v5.4/arch/powerpc/kernel/ | 
| D | syscalls.c | 41 			unsigned long prot, unsigned long flags,  in do_mmap2()61 		unsigned long, prot, unsigned long, flags,  in SYSCALL_DEFINE6()  argument
 68 		unsigned long, prot, unsigned long, flags,  in SYSCALL_DEFINE6()  argument
 
 |