Home
last modified time | relevance | path

Searched defs:prot (Results 76 – 100 of 418) sorted by relevance

12345678910>>...17

/Linux-v6.6/arch/um/os-Linux/skas/
Dmem.c169 int map(struct mm_id * mm_idp, unsigned long virt, unsigned long len, int prot, in map()
197 unsigned int prot, int done, void **data) in protect()
/Linux-v6.6/drivers/iommu/amd/
Dio_pgtable_v2.c50 u64 prot; in set_pgtable_attr() local
63 static u64 set_pte_attr(u64 paddr, u64 pg_size, int prot) in set_pte_attr()
238 int prot, gfp_t gfp, size_t *mapped) in iommu_v2_map_pages()
/Linux-v6.6/arch/arm64/kvm/hyp/
Dpgtable.c385 static int hyp_set_prot_attr(enum kvm_pgtable_prot prot, kvm_pte_t *ptep) in hyp_set_prot_attr()
421 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_hyp_pte_prot() local
485 enum kvm_pgtable_prot prot) in kvm_pgtable_hyp_map()
695 static int stage2_set_prot_attr(struct kvm_pgtable *pgt, enum kvm_pgtable_prot prot, in stage2_set_prot_attr()
724 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_stage2_pte_prot() local
1035 u64 phys, enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_map()
1296 enum kvm_pgtable_prot prot) in kvm_pgtable_stage2_relax_perms()
1353 enum kvm_pgtable_prot prot, in kvm_pgtable_stage2_create_unlinked()
1433 enum kvm_pgtable_prot prot; in stage2_split_walker() local
/Linux-v6.6/arch/x86/include/asm/
Dmman.h6 #define arch_calc_vm_prot_bits(prot, key) ( \ argument
/Linux-v6.6/arch/loongarch/include/asm/
Dpgtable-bits.h101 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() local
114 unsigned long prot = pgprot_val(_prot); in pgprot_writecombine() local
/Linux-v6.6/include/linux/
Dkmsan.h289 unsigned long start, unsigned long end, pgprot_t prot, in kmsan_vmap_pages_range_noflush()
303 pgprot_t prot, in kmsan_ioremap_page_range()
Dio-mapping.h26 pgprot_t prot; member
46 pgprot_t prot; in io_mapping_init_wc() local
/Linux-v6.6/arch/sh/mm/
Dpmb.c117 static inline unsigned long pgprot_to_pmb_flags(pgprot_t prot) in pgprot_to_pmb_flags()
207 static inline bool pmb_prot_valid(pgprot_t prot) in pmb_prot_valid()
336 unsigned long size, pgprot_t prot) in pmb_bolt_mapping()
411 pgprot_t prot, void *caller) in pmb_remap_caller()
Dioremap.h10 ioremap_fixed(phys_addr_t phys_addr, unsigned long size, pgprot_t prot) in ioremap_fixed()
/Linux-v6.6/arch/riscv/include/asm/
Dpgtable-64.h209 static inline pud_t pfn_pud(unsigned long pfn, pgprot_t prot) in pfn_pud()
249 static inline pmd_t pfn_pmd(unsigned long pfn, pgprot_t prot) in pfn_pmd()
263 #define mk_pmd(page, prot) pfn_pmd(page_to_pfn(page), prot) argument
312 static inline p4d_t pfn_p4d(unsigned long pfn, pgprot_t prot) in pfn_p4d()
/Linux-v6.6/arch/x86/mm/
Dinit_64.c373 pgprot_t prot; in __init_extra_mapping() local
455 pgprot_t prot, bool init) in phys_pte_init()
509 unsigned long page_size_mask, pgprot_t prot, bool init) in phys_pmd_init()
603 pgprot_t prot = _prot; in phys_pud_init() local
676 unsigned long page_size_mask, pgprot_t prot, bool init) in phys_p4d_init()
729 pgprot_t prot, bool init) in __kernel_physical_mapping_init()
785 unsigned long page_size_mask, pgprot_t prot) in kernel_physical_mapping_init()
Dinit_32.c252 pgprot_t prot) in kernel_physical_mapping_init()
314 pgprot_t prot = PAGE_KERNEL_LARGE; in kernel_physical_mapping_init() local
346 pgprot_t prot = PAGE_KERNEL; in kernel_physical_mapping_init() local
/Linux-v6.6/arch/xtensa/mm/
Dioremap.c14 unsigned long prot) in ioremap_prot()
/Linux-v6.6/arch/parisc/mm/
Dioremap.c17 unsigned long prot) in ioremap_prot()
/Linux-v6.6/arch/arm64/kvm/hyp/nvhe/
Dsetup.c76 enum kvm_pgtable_prot prot; in recreate_hyp_mappings() local
177 enum kvm_pgtable_prot prot; in fix_host_ownership_walker() local
/Linux-v6.6/arch/um/os-Linux/
Dprocess.c142 int prot; in os_map_memory() local
156 int prot = ((r ? PROT_READ : 0) | (w ? PROT_WRITE : 0) | in os_protect_memory() local
/Linux-v6.6/arch/x86/video/
Dfbdev.c18 unsigned long prot; in fb_pgprotect() local
/Linux-v6.6/arch/sh/boards/mach-lboxre2/
Dsetup.c49 pgprot_t prot; in lboxre2_devices_setup() local
/Linux-v6.6/drivers/gpu/drm/i915/selftests/
Digt_mmap.c15 unsigned long prot, in igt_mmap_offset()
/Linux-v6.6/drivers/iommu/
Ddma-iommu.c641 int prot = coherent ? IOMMU_CACHE : 0; in dma_info_to_prot() local
745 size_t size, int prot, u64 dma_mask) in __iommu_dma_map()
834 size_t size, struct sg_table *sgt, gfp_t gfp, pgprot_t prot, in __iommu_dma_alloc_noncontiguous()
909 dma_addr_t *dma_handle, gfp_t gfp, pgprot_t prot, in iommu_dma_alloc_remap()
1035 int prot = dma_info_to_prot(dir, coherent, attrs); in iommu_dma_map_page() local
1245 int prot = dma_info_to_prot(dir, dev_is_dma_coherent(dev), attrs); in iommu_dma_map_sg() local
1476 pgprot_t prot = dma_pgprot(dev, PAGE_KERNEL, attrs); in iommu_dma_alloc_pages() local
1660 int prot = IOMMU_WRITE | IOMMU_NOEXEC | IOMMU_MMIO; in iommu_dma_get_msi_page() local
Dio-pgtable-dart.c125 dart_iopte prot, int num_entries, in dart_init_pte()
214 int prot) in dart_prot_to_pte()
245 dart_iopte prot; in dart_map_pages() local
/Linux-v6.6/arch/sparc/kernel/
Dpci_sun4v.c58 unsigned long prot; /* IOMMU page protections */ member
68 static inline void iommu_batch_start(struct device *dev, unsigned long prot, unsigned long entry) in iommu_batch_start()
90 unsigned long prot = p->prot; in iommu_batch_flush() local
187 unsigned long prot = 0; in dma_4v_alloc_coherent() local
366 unsigned long prot; in dma_4v_map_page() local
474 unsigned long flags, handle, prot; in dma_4v_map_sg() local
/Linux-v6.6/arch/riscv/mm/
Dinit.c314 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot) in __set_fixmap()
370 phys_addr_t sz, pgprot_t prot) in create_pte_mapping()
451 phys_addr_t sz, pgprot_t prot) in create_pmd_mapping()
554 phys_addr_t sz, pgprot_t prot) in create_pud_mapping()
581 phys_addr_t sz, pgprot_t prot) in create_p4d_mapping()
639 phys_addr_t sz, pgprot_t prot) in create_pgd_mapping()
/Linux-v6.6/arch/powerpc/mm/
Dioremap_64.c8 pgprot_t prot, void *caller) in __ioremap_caller()
/Linux-v6.6/arch/arm64/mm/
Dioremap.c7 unsigned long prot) in ioremap_prot()

12345678910>>...17