/Linux-v6.6/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 __iomem *__iomap_local_pfn_prot(unsigned long pfn, pgprot_t prot) in __iomap_local_pfn_prot()
|
/Linux-v6.6/arch/powerpc/mm/ |
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()
|
/Linux-v6.6/arch/sh/include/asm/ |
D | pgtable.h | 121 static inline bool __pte_access_permitted(pte_t pte, u64 prot) in __pte_access_permitted() 129 u64 prot = _PAGE_PRESENT; in pte_access_permitted() local 139 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-v6.6/arch/sh/mm/ |
D | init.c | 81 static void set_pte_phys(unsigned long addr, unsigned long phys, pgprot_t prot) in set_pte_phys() 98 static void clear_pte_phys(unsigned long addr, pgprot_t prot) in clear_pte_phys() 111 void __set_fixmap(enum fixed_addresses idx, unsigned long phys, pgprot_t prot) in __set_fixmap() 123 void __clear_fixmap(enum fixed_addresses idx, pgprot_t prot) in __clear_fixmap()
|
/Linux-v6.6/include/linux/ |
D | highmem-internal.h | 82 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() 97 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot() 193 static inline void *kmap_local_page_prot(struct page *page, pgprot_t prot) in kmap_local_page_prot() 220 static inline void *kmap_atomic_prot(struct page *page, pgprot_t prot) in kmap_atomic_prot()
|
D | vmalloc.h | 85 static inline bool arch_vmap_p4d_supported(pgprot_t prot) in arch_vmap_p4d_supported() 92 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() 99 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported() 121 static inline pgprot_t arch_vmap_pgprot_tagged(pgprot_t prot) in arch_vmap_pgprot_tagged()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 158 u32 prot; in new_steering_entry() local 428 u32 prot; in add_promisc_qp() local 695 u8 *gid, enum mlx4_protocol prot, in find_entry() 1105 int block_mcast_loopback, enum mlx4_protocol prot, in mlx4_qp_attach_common() 1215 enum mlx4_protocol prot, enum mlx4_steer_type steer) in mlx4_qp_detach_common() 1337 enum mlx4_protocol prot) in mlx4_QP_ATTACH() 1370 enum mlx4_protocol prot, u64 *reg_id) in mlx4_trans_to_dmfs_attach() 1409 enum mlx4_protocol prot, u64 *reg_id) in mlx4_multicast_attach() 1439 enum mlx4_protocol prot, u64 reg_id) in mlx4_multicast_detach() 1531 int block_mcast_loopback, enum mlx4_protocol prot) in mlx4_unicast_attach() [all …]
|
/Linux-v6.6/mm/ |
D | ioremap.c | 16 pgprot_t prot) in generic_ioremap_prot() 53 unsigned long prot) in ioremap_prot()
|
D | vmalloc.c | 94 phys_addr_t phys_addr, pgprot_t prot, in vmap_pte_range() 127 phys_addr_t phys_addr, pgprot_t prot, in vmap_try_huge_pmd() 152 phys_addr_t phys_addr, pgprot_t prot, in vmap_pmd_range() 177 phys_addr_t phys_addr, pgprot_t prot, in vmap_try_huge_pud() 202 phys_addr_t phys_addr, pgprot_t prot, in vmap_pud_range() 228 phys_addr_t phys_addr, pgprot_t prot, in vmap_try_huge_p4d() 253 phys_addr_t phys_addr, pgprot_t prot, in vmap_p4d_range() 279 phys_addr_t phys_addr, pgprot_t prot, in vmap_range_noflush() 308 phys_addr_t phys_addr, pgprot_t prot) in ioremap_page_range() 459 unsigned long end, pgprot_t prot, struct page **pages, int *nr, in vmap_pages_pte_range() [all …]
|
/Linux-v6.6/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-v6.6/kernel/dma/ |
D | remap.c | 23 pgprot_t prot, const void *caller) in dma_common_pages_remap() 39 pgprot_t prot, const void *caller) in dma_common_contiguous_remap()
|
/Linux-v6.6/arch/riscv/include/asm/ |
D | vmalloc.h | 11 static inline bool arch_vmap_pud_supported(pgprot_t prot) in arch_vmap_pud_supported() 17 static inline bool arch_vmap_pmd_supported(pgprot_t prot) in arch_vmap_pmd_supported()
|
/Linux-v6.6/arch/m68k/include/asm/ |
D | pgtable_mm.h | 165 # define pgprot_noncached(prot) (__pgprot(pgprot_val(prot) | CF_PAGE_NOCACHE)) argument 172 #define pgprot_noncached(prot) \ argument 182 #define pgprot_dmacoherent(prot) pgprot_dmacoherent(prot) argument
|
/Linux-v6.6/arch/mips/include/asm/ |
D | pgtable-32.h | 158 pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() 174 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() 188 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) argument 189 #define pfn_pmd(pfn, prot) __pmd(((unsigned long long)(pfn) << PFN_PTE_SHIFT) | pgprot_val(prot)) argument
|
/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/ |
D | mm.c | 36 unsigned long phys, enum kvm_pgtable_prot prot) in __pkvm_create_mappings() 94 enum kvm_pgtable_prot prot, in __pkvm_create_private_mapping() 113 int pkvm_create_mappings_locked(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings_locked() 138 int pkvm_create_mappings(void *from, void *to, enum kvm_pgtable_prot prot) in pkvm_create_mappings()
|
/Linux-v6.6/arch/arc/include/asm/ |
D | pgtable-levels.h | 144 #define pfn_pmd(pfn,prot) __pmd(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) argument 145 #define mk_pmd(page,prot) pfn_pmd(page_to_pfn(page),prot) argument 179 #define pfn_pte(pfn, prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot)) argument 180 #define mk_pte(page, prot) pfn_pte(page_to_pfn(page), prot) argument
|
/Linux-v6.6/arch/um/include/asm/ |
D | pgtable-2level.h | 40 #define pfn_pte(pfn, prot) __pte(pfn_to_phys(pfn) | pgprot_val(prot)) argument 41 #define pfn_pmd(pfn, prot) __pmd(pfn_to_phys(pfn) | pgprot_val(prot)) argument
|
/Linux-v6.6/arch/arm64/kvm/hyp/include/nvhe/ |
D | mem_protect.h | 37 static inline enum kvm_pgtable_prot pkvm_mkstate(enum kvm_pgtable_prot prot, in pkvm_mkstate() 43 static inline enum pkvm_page_state pkvm_getstate(enum kvm_pgtable_prot prot) in pkvm_getstate()
|
/Linux-v6.6/arch/microblaze/kernel/ |
D | sys_microblaze.c | 37 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument 47 unsigned long, prot, unsigned long, flags, unsigned long, fd, in SYSCALL_DEFINE6() argument
|
/Linux-v6.6/arch/um/kernel/ |
D | tlb.c | 24 unsigned int prot; member 35 unsigned int prot; member 122 unsigned int prot, struct host_vm_change *hvc) in add_mmap() 187 unsigned int prot, struct host_vm_change *hvc) in add_mprotect() 222 int r, w, x, prot, ret = 0; in update_pte_range() local 464 int r, w, x, prot, err = 0; in flush_tlb_page() local
|
/Linux-v6.6/arch/csky/include/asm/ |
D | pgtable.h | 39 #define pfn_pte(pfn, prot) __pte(((unsigned long long)(pfn) << PAGE_SHIFT) \ argument 235 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() local 245 unsigned long prot = pgprot_val(_prot); in pgprot_writecombine() local 271 #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ argument
|
/Linux-v6.6/tools/testing/selftests/mm/ |
D | protection_keys.c | 626 int prot; member 631 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() 696 void *malloc_pkey_with_mprotect(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect() 716 void *malloc_pkey_anon_huge(long size, int prot, u16 pkey) in malloc_pkey_anon_huge() 797 void *malloc_pkey_hugetlb(long size, int prot, u16 pkey) in malloc_pkey_hugetlb() 818 void *malloc_pkey_mmap_dax(long size, int prot, u16 pkey) in malloc_pkey_mmap_dax() 853 void *malloc_pkey(long size, int prot, u16 pkey) in malloc_pkey() 1352 int prot; in test_mprotect_with_pkey_0() local 1711 int prot = PROT_READ|PROT_WRITE; in run_tests_once() local
|
/Linux-v6.6/arch/s390/mm/ |
D | vmem.c | 156 unsigned long prot, pages = 0; in modify_pte_table() local 213 unsigned long next, prot, pages = 0; in modify_pmd_table() local 307 unsigned long next, prot, pages = 0; in modify_pud_table() local 604 int __vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot, bool alloc) in __vmem_map_4k_page() 619 int vmem_map_4k_page(unsigned long addr, unsigned long phys, pgprot_t prot) in vmem_map_4k_page()
|
/Linux-v6.6/tools/testing/selftests/riscv/mm/ |
D | mmap_test.h | 35 int prot = PROT_READ | PROT_WRITE; in do_mmaps() local 56 int prot = PROT_READ | PROT_WRITE; in memory_layout() local
|