/kernel/linux/linux-5.10/mm/ |
D | debug_vm_pgtable.c | 63 pgprot_t prot = protection_map[idx]; in pte_basic_tests() local 92 pgprot_t prot) in pte_advanced_tests() 133 static void __init pte_savedwrite_tests(unsigned long pfn, pgprot_t prot) in pte_savedwrite_tests() 148 pgprot_t prot = protection_map[idx]; in pmd_basic_tests() local 187 pgprot_t prot, pgtable_t pgtable) in pmd_advanced_tests() 234 static void __init pmd_leaf_tests(unsigned long pfn, pgprot_t prot) in pmd_leaf_tests() 252 static void __init pmd_huge_tests(pmd_t *pmdp, unsigned long pfn, pgprot_t prot) in pmd_huge_tests() 271 static void __init pmd_huge_tests(pmd_t *pmdp, unsigned long pfn, pgprot_t prot) { } in pmd_huge_tests() 274 static void __init pmd_savedwrite_tests(unsigned long pfn, pgprot_t prot) in pmd_savedwrite_tests() 293 pgprot_t prot = protection_map[idx]; in pud_basic_tests() local [all …]
|
D | ioremap.c | 65 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pte_range() 86 pgprot_t prot) in ioremap_try_huge_pmd() 107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pmd_range() 132 pgprot_t prot) in ioremap_try_huge_pud() 153 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pud_range() 178 pgprot_t prot) in ioremap_try_huge_p4d() 199 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_p4d_range() 223 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range() 253 void __iomem *ioremap_prot(phys_addr_t addr, size_t size, unsigned long prot) in ioremap_prot()
|
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | mman.h | 9 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() 22 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument 40 pteval_t prot = 0; in arch_vm_get_page_prot() local 62 static inline bool arch_validate_prot(unsigned long prot, in arch_validate_prot() 75 #define arch_validate_prot(prot, addr) arch_validate_prot(prot, addr) argument
|
D | pgalloc.h | 23 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 33 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 41 static inline void __p4d_populate(p4d_t *p4dp, phys_addr_t pudp, p4dval_t prot) in __p4d_populate() 51 static inline void __p4d_populate(p4d_t *p4dp, phys_addr_t pudp, p4dval_t prot) in __p4d_populate() 61 pmdval_t prot) in __pmd_populate()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-4.19/net/ipv6/ |
D | protocol.c | 32 int inet6_add_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_add_protocol() 39 int inet6_del_protocol(const struct inet6_protocol *prot, unsigned char protocol) in inet6_del_protocol() 56 int inet6_add_offload(const struct net_offload *prot, unsigned char protocol) in inet6_add_offload() 63 int inet6_del_offload(const struct net_offload *prot, unsigned char protocol) in inet6_del_offload()
|
/kernel/linux/linux-4.19/net/ipv4/ |
D | protocol.c | 35 int inet_add_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_add_protocol() 48 int inet_add_offload(const struct net_offload *prot, unsigned char protocol) in inet_add_offload() 55 int inet_del_protocol(const struct net_protocol *prot, unsigned char protocol) in inet_del_protocol() 68 int inet_del_offload(const struct net_offload *prot, unsigned char protocol) in inet_del_offload()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | ioremap.c | 14 pgprot_t prot = pgprot_noncached(PAGE_KERNEL); in ioremap() local 25 pgprot_t prot = pgprot_noncached_wc(PAGE_KERNEL); in ioremap_wc() local 36 pgprot_t prot = pgprot_cached(PAGE_KERNEL); in ioremap_coherent() local 64 unsigned long size, pgprot_t prot) in early_ioremap_range() 79 pgprot_t prot, void *caller) in do_ioremap()
|
/kernel/linux/linux-4.19/arch/sparc/include/asm/ |
D | mman.h | 30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot) argument 31 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()
|
/kernel/linux/linux-5.10/arch/sparc/include/asm/ |
D | mman.h | 30 #define arch_calc_vm_prot_bits(prot, pkey) sparc_calc_vm_prot_bits(prot) argument 31 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()
|
/kernel/linux/linux-5.10/arch/arm/include/asm/ |
D | pgtable.h | 104 #define __pgprot_modify(prot,mask,bits) \ argument 107 #define pgprot_noncached(prot) \ argument 110 #define pgprot_writecombine(prot) \ argument 113 #define pgprot_stronglyordered(prot) \ argument 116 #define pgprot_device(prot) \ argument 120 #define pgprot_dmacoherent(prot) \ argument 127 #define pgprot_dmacoherent(prot) \ argument 180 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument 183 #define mk_pte(page,prot) pfn_pte(page_to_pfn(page), prot) argument 226 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() [all …]
|
/kernel/linux/linux-4.19/arch/arm/mm/ |
D | idmap.c | 24 unsigned long prot) in idmap_add_pmd() 55 unsigned long prot) in idmap_add_pmd() 68 unsigned long prot) in idmap_add_pud() 80 const char *text_end, unsigned long prot) in identity_mapping_add()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | mman.h | 16 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() 25 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument 39 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
|
/kernel/linux/linux-4.19/arch/powerpc/include/asm/ |
D | mman.h | 23 static inline unsigned long arch_calc_vm_prot_bits(unsigned long prot, in arch_calc_vm_prot_bits() 32 #define arch_calc_vm_prot_bits(prot, pkey) arch_calc_vm_prot_bits(prot, pkey) argument 46 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot()
|
/kernel/linux/linux-4.19/arch/arm64/mm/ |
D | mmu.c | 130 phys_addr_t phys, pgprot_t prot) in init_pte() 155 pgprot_t prot, in alloc_init_cont_pte() 189 phys_addr_t phys, pgprot_t prot, in init_pmd() 227 pgprot_t prot, in alloc_init_cont_pmd() 275 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 326 pgprot_t prot, in __create_pgd_mapping() 370 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc() 383 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping() 397 phys_addr_t size, pgprot_t prot) in update_mapping_prot() 413 phys_addr_t end, pgprot_t prot, int flags) in __map_memblock() [all …]
|
/kernel/linux/linux-5.10/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() 82 const char *text_end, unsigned long prot) in identity_mapping_add()
|
/kernel/linux/linux-4.19/lib/ |
D | ioremap.c | 62 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pte_range() 80 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pmd_range() 107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_pud_range() 134 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_p4d_range() 160 unsigned long end, phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range()
|
/kernel/linux/linux-4.19/arch/arm64/include/asm/ |
D | pgalloc.h | 45 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 55 static inline void __pud_populate(pud_t *pudp, phys_addr_t pmdp, pudval_t prot) in __pud_populate() 74 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate() 84 static inline void __pgd_populate(pgd_t *pgdp, phys_addr_t pudp, pgdval_t prot) in __pgd_populate() 130 pmdval_t prot) in __pmd_populate()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-4.19/arch/x86/mm/ |
D | iomap_32.c | 34 int iomap_create_wc(resource_size_t base, unsigned long size, pgprot_t *prot) in iomap_create_wc() 60 void *kmap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in kmap_atomic_prot_pfn() 81 iomap_atomic_prot_pfn(unsigned long pfn, pgprot_t prot) in iomap_atomic_prot_pfn()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/nohash/ |
D | pgtable.h | 233 #define pgprot_noncached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 236 #define pgprot_noncached_wc(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 239 #define pgprot_cached(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 243 #define pgprot_cached_wthru(prot) (__pgprot((pgprot_val(prot) & ~_PAGE_CACHE_CTL) | \ argument 246 #define pgprot_cached_wthru(prot) pgprot_noncached(prot) argument 249 #define pgprot_cached_noncoherent(prot) \ argument
|
/kernel/linux/linux-4.19/include/linux/ |
D | mman.h | 81 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument 95 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()
|
/kernel/linux/linux-4.19/arch/arm/include/asm/ |
D | pgtable.h | 116 #define __pgprot_modify(prot,mask,bits) \ argument 119 #define pgprot_noncached(prot) \ argument 122 #define pgprot_writecombine(prot) \ argument 125 #define pgprot_stronglyordered(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() 275 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit()
|