/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()
|
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
|
/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()
|
D | pgtable.h | 87 #define pfn_pte(pfn,prot) \ argument 150 static inline pte_t clear_pte_bit(pte_t pte, pgprot_t prot) in clear_pte_bit() 156 static inline pte_t set_pte_bit(pte_t pte, pgprot_t prot) in set_pte_bit() 162 static inline pmd_t clear_pmd_bit(pmd_t pmd, pgprot_t prot) in clear_pmd_bit() 168 static inline pmd_t set_pmd_bit(pmd_t pmd, pgprot_t prot) in set_pmd_bit() 378 static inline pgprot_t mk_pud_sect_prot(pgprot_t prot) in mk_pud_sect_prot() 383 static inline pgprot_t mk_pmd_sect_prot(pgprot_t prot) in mk_pmd_sect_prot() 456 #define pfn_pmd(pfn,prot) __pmd(__phys_to_pmd_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… argument 457 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot) argument 468 #define pfn_pud(pfn,prot) __pud(__phys_to_pud_val((phys_addr_t)(pfn) << PAGE_SHIFT) | pgprot_val(pr… argument [all …]
|
/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-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()
|
D | ioremap_32.c | 11 pgprot_t prot = pgprot_cached_wthru(PAGE_KERNEL); in ioremap_wt() local 18 __ioremap_caller(phys_addr_t addr, unsigned long size, pgprot_t prot, void *caller) in __ioremap_caller()
|
/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/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-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 …]
|
D | pgtable-nommu.h | 56 #define pgprot_noncached(prot) (prot) argument 57 #define pgprot_writecombine(prot) (prot) argument 58 #define pgprot_device(prot) (prot) argument
|
/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-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-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-5.10/include/linux/ |
D | mman.h | 86 #define arch_calc_vm_prot_bits(prot, pkey) 0 argument 104 static inline bool arch_validate_prot(unsigned long prot, unsigned long addr) in arch_validate_prot() 139 calc_vm_prot_bits(unsigned long prot, unsigned long pkey) in calc_vm_prot_bits()
|
/kernel/linux/linux-5.10/arch/riscv/kernel/ |
D | sys_riscv.c | 14 unsigned long prot, unsigned long flags, in riscv_sys_mmap() 31 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument 38 unsigned long, prot, unsigned long, flags, in SYSCALL_DEFINE6() argument
|
/kernel/linux/linux-5.10/arch/mips/include/asm/ |
D | pgtable-32.h | 160 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() 176 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() 191 #define pfn_pte(pfn, prot) __pte(((pfn) << (PAGE_SHIFT + 2)) | pgprot_val(prot)) argument 194 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) argument 195 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << _PFN_SHIFT) | pgprot_val(prot)) argument
|
/kernel/linux/linux-5.10/arch/arm64/mm/ |
D | mmu.c | 154 phys_addr_t phys, pgprot_t prot) in init_pte() 179 pgprot_t prot, in alloc_init_cont_pte() 213 phys_addr_t phys, pgprot_t prot, in init_pmd() 251 pgprot_t prot, in alloc_init_cont_pmd() 299 phys_addr_t phys, pgprot_t prot, in alloc_init_pud() 351 pgprot_t prot, in __create_pgd_mapping() 413 phys_addr_t size, pgprot_t prot) in create_mapping_noalloc() 426 pgprot_t prot, bool page_mappings_only) in create_pgd_mapping() 440 phys_addr_t size, pgprot_t prot) in update_mapping_prot() 456 phys_addr_t end, pgprot_t prot, int flags) in __map_memblock() [all …]
|
/kernel/liteos_a/kernel/base/vm/ |
D | los_vm_syscall.c | 82 STATUS_T OsNamedMmapingPermCheck(struct file *filep, unsigned long flags, unsigned prot) in OsNamedMmapingPermCheck() 105 VADDR_T LOS_MMap(VADDR_T vaddr, size_t len, unsigned prot, unsigned long flags, int fd, unsigned lo… in LOS_MMap() 176 STATIC INLINE BOOL OsProtMprotectPermCheck(unsigned long prot, LosVmMapRegion *region) in OsProtMprotectPermCheck() 281 INT32 LOS_DoMprotect(VADDR_T vaddr, size_t len, unsigned long prot) in LOS_DoMprotect()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/sh/include/asm/ |
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()
|