Home
last modified time | relevance | path

Searched defs:prot (Results 551 - 575 of 729) sorted by relevance

1...<<21222324252627282930

/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/
H A Dpgtable.c385 static int hyp_set_prot_attr(enum kvm_pgtable_prot prot, kvm_pte_t *ptep) in hyp_set_prot_attr() argument
421 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; in kvm_pgtable_hyp_pte_prot() local
484 kvm_pgtable_hyp_map(struct kvm_pgtable *pgt, u64 addr, u64 size, u64 phys, enum kvm_pgtable_prot prot) kvm_pgtable_hyp_map() argument
695 stage2_set_prot_attr(struct kvm_pgtable *pgt, enum kvm_pgtable_prot prot, kvm_pte_t *ptep) stage2_set_prot_attr() argument
724 enum kvm_pgtable_prot prot = pte & KVM_PTE_LEAF_ATTR_HI_SW; kvm_pgtable_stage2_pte_prot() local
1034 kvm_pgtable_stage2_map(struct kvm_pgtable *pgt, u64 addr, u64 size, u64 phys, enum kvm_pgtable_prot prot, void *mc, enum kvm_pgtable_walk_flags flags) kvm_pgtable_stage2_map() argument
1295 kvm_pgtable_stage2_relax_perms(struct kvm_pgtable *pgt, u64 addr, enum kvm_pgtable_prot prot) kvm_pgtable_stage2_relax_perms() argument
1351 kvm_pgtable_stage2_create_unlinked(struct kvm_pgtable *pgt, u64 phys, u32 level, enum kvm_pgtable_prot prot, void *mc, bool force_pte) kvm_pgtable_stage2_create_unlinked() argument
1433 enum kvm_pgtable_prot prot; stage2_split_walker() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
H A Dprotection_keys.c634 int prot; member
639 void record_pkey_malloc(void *ptr, long size, int prot) in record_pkey_malloc() argument
704 void *malloc_pkey_with_mprotect(long size, int prot, u16 pkey) in malloc_pkey_with_mprotect() argument
724 malloc_pkey_anon_huge(long size, int prot, u16 pkey) malloc_pkey_anon_huge() argument
805 malloc_pkey_hugetlb(long size, int prot, u16 pkey) malloc_pkey_hugetlb() argument
826 malloc_pkey_mmap_dax(long size, int prot, u16 pkey) malloc_pkey_mmap_dax() argument
861 malloc_pkey(long size, int prot, u16 pkey) malloc_pkey() argument
1288 int prot; test_mprotect_with_pkey_0() local
1520 int prot = PROT_READ|PROT_WRITE; run_tests_once() local
[all...]
/kernel/linux/linux-6.6/arch/arm/mm/
H A Ddma-mapping.c45 pgprot_t prot; member
202 pgprot_t prot = pgprot_dmacoherent(PAGE_KERNEL); in atomic_pool_init() local
313 pgprot_t prot = *(pgprot_t *)data; in __dma_update_pte() local
319 static void __dma_remap(struct page *page, size_t size, pgprot_t prot) in __dma_remap() argument
328 __alloc_remap_buffer(struct device *dev, size_t size, gfp_t gfp, pgprot_t prot, struct page **ret_page, const void *caller, bool want_vaddr) __alloc_remap_buffer() argument
391 __alloc_from_contiguous(struct device *dev, size_t size, pgprot_t prot, struct page **ret_page, const void *caller, bool want_vaddr, int coherent_flag, gfp_t gfp) __alloc_from_contiguous() argument
438 __get_dma_pgprot(unsigned long attrs, pgprot_t prot) __get_dma_pgprot() argument
533 __dma_alloc(struct device *dev, size_t size, dma_addr_t *handle, gfp_t gfp, pgprot_t prot, bool is_coherent, unsigned long attrs, const void *caller) __dma_alloc() argument
735 int prot = 0; __dma_info_to_prot() local
1081 pgprot_t prot = __get_dma_pgprot(attrs, PAGE_KERNEL); arm_iommu_alloc_attrs() local
1197 int prot; __map_sg_chunk() local
1377 int ret, prot, len = PAGE_ALIGN(size + offset); arm_iommu_map_page() local
1442 int ret, prot; arm_iommu_map_resource() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/mm/book3s64/
H A Dhash_utils.c1034 unsigned long prot; in htab_initialize() local
347 htab_bolt_mapping(unsigned long vstart, unsigned long vend, unsigned long pstart, unsigned long prot, int psize, int ssize) htab_bolt_mapping() argument
963 hash__create_section_mapping(unsigned long start, unsigned long end, int nid, pgprot_t prot) hash__create_section_mapping() argument
[all...]
/kernel/linux/linux-6.6/arch/riscv/include/asm/
H A Dpgtable.h259 static inline pgd_t pfn_pgd(unsigned long pfn, pgprot_t prot) in pfn_pgd() argument
339 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() argument
619 unsigned long prot = pgprot_val(_prot); in pgprot_noncached() local
630 unsigned long prot = pgprot_val(_prot); pgprot_writecombine() local
[all...]
/kernel/linux/linux-6.6/arch/s390/include/uapi/asm/
H A Dptrace.h425 ptprot_flags prot; member
/kernel/linux/linux-6.6/arch/s390/kvm/
H A Dgaccess.c961 enum prot_type prot; in guest_range_to_gpas() local
496 trans_exc_ending(struct kvm_vcpu *vcpu, int code, unsigned long gva, u8 ar, enum gacc_mode mode, enum prot_type prot, bool terminate) trans_exc_ending() argument
566 trans_exc(struct kvm_vcpu *vcpu, int code, unsigned long gva, u8 ar, enum gacc_mode mode, enum prot_type prot) trans_exc() argument
632 guest_translate(struct kvm_vcpu *vcpu, unsigned long gva, unsigned long *gpa, const union asce asce, enum gacc_mode mode, enum prot_type *prot) guest_translate() argument
1074 enum prot_type prot; access_guest_with_key() local
[all...]
/kernel/linux/linux-6.6/arch/s390/mm/
H A Dgmap.c890 gmap_pte_op_fixup(struct gmap *gmap, unsigned long gaddr, unsigned long vmaddr, int prot) gmap_pte_op_fixup() argument
976 gmap_protect_pmd(struct gmap *gmap, unsigned long gaddr, pmd_t *pmdp, int prot, unsigned long bits) gmap_protect_pmd() argument
1021 gmap_protect_pte(struct gmap *gmap, unsigned long gaddr, pmd_t *pmdp, int prot, unsigned long bits) gmap_protect_pte() argument
1057 gmap_protect_range(struct gmap *gmap, unsigned long gaddr, unsigned long len, int prot, unsigned long bits) gmap_protect_range() argument
1117 gmap_mprotect_notify(struct gmap *gmap, unsigned long gaddr, unsigned long len, int prot) gmap_mprotect_notify() argument
2142 int prot; gmap_shadow_page() local
[all...]
/kernel/linux/linux-6.6/arch/riscv/mm/
H A Dinit.c317 void __set_fixmap(enum fixed_addresses idx, phys_addr_t phys, pgprot_t prot) in __set_fixmap() argument
371 create_pte_mapping(pte_t *ptep, uintptr_t va, phys_addr_t pa, phys_addr_t sz, pgprot_t prot) create_pte_mapping() argument
452 create_pmd_mapping(pmd_t *pmdp, uintptr_t va, phys_addr_t pa, phys_addr_t sz, pgprot_t prot) create_pmd_mapping() argument
555 create_pud_mapping(pud_t *pudp, uintptr_t va, phys_addr_t pa, phys_addr_t sz, pgprot_t prot) create_pud_mapping() argument
582 create_p4d_mapping(p4d_t *p4dp, uintptr_t va, phys_addr_t pa, phys_addr_t sz, pgprot_t prot) create_p4d_mapping() argument
640 create_pgd_mapping(pgd_t *pgdp, uintptr_t va, phys_addr_t pa, phys_addr_t sz, pgprot_t prot) create_pgd_mapping() argument
[all...]
/kernel/linux/linux-6.6/arch/sparc/include/asm/
H A Dpgtable_64.h221 static inline pte_t pfn_pte(unsigned long pfn, pgprot_t prot) in pfn_pte() argument
262 static inline pte_t pte_modify(pte_t pte, pgprot_t prot) in pte_modify() argument
331 static inline pgprot_t pgprot_noncached(pgprot_t prot) in pgprot_noncached() argument
1125 u64 prot; in pte_access_permitted() local
1086 io_remap_pfn_range(struct vm_area_struct *vma, unsigned long from, unsigned long pfn, unsigned long size, pgprot_t prot) io_remap_pfn_range() argument
[all...]
/kernel/linux/linux-6.6/arch/sparc/kernel/
H A 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() argument
90 unsigned long prot = p->prot; in iommu_batch_flush() local
187 unsigned long prot = 0; dma_4v_alloc_coherent() local
366 unsigned long prot; dma_4v_map_page() local
474 unsigned long flags, handle, prot; dma_4v_map_sg() local
[all...]
/kernel/linux/linux-5.10/drivers/iommu/arm/arm-smmu/
H A Darm-smmu.c1595 int prot = IOMMU_WRITE | IOMMU_NOEXEC | IOMMU_MMIO; in arm_smmu_get_resv_regions() local
1210 arm_smmu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) arm_smmu_map() argument
/kernel/linux/linux-5.10/drivers/iommu/
H A Dexynos-iommu.c980 lv1set_section(struct exynos_iommu_domain *domain, sysmmu_pte_t *sent, sysmmu_iova_t iova, phys_addr_t paddr, int prot, short *pgcnt) lv1set_section() argument
1018 lv2set_page(sysmmu_pte_t *pent, phys_addr_t paddr, size_t size, int prot, short *pgcnt) lv2set_page() argument
1078 exynos_iommu_map(struct iommu_domain *iommu_domain, unsigned long l_iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) exynos_iommu_map() argument
[all...]
H A Drockchip-iommu.c229 static u32 rk_mk_pte(phys_addr_t page, int prot) in rk_mk_pte() argument
715 rk_iommu_map_iova(struct rk_iommu_domain *rk_domain, u32 *pte_addr, dma_addr_t pte_dma, dma_addr_t iova, phys_addr_t paddr, size_t size, int prot) rk_iommu_map_iova() argument
760 rk_iommu_map(struct iommu_domain *domain, unsigned long _iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) rk_iommu_map() argument
[all...]
H A Dtegra-smmu.c704 __tegra_smmu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp, unsigned long *flags) __tegra_smmu_map() argument
758 tegra_smmu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) tegra_smmu_map() argument
H A Dsun50i-iommu.c270 static u32 sun50i_mk_pte(phys_addr_t page, int prot) in sun50i_mk_pte() argument
522 sun50i_iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) sun50i_iommu_map() argument
789 sun50i_iommu_report_fault(struct sun50i_iommu *iommu, unsigned master, phys_addr_t iova, unsigned prot) sun50i_iommu_report_fault() argument
[all...]
H A Dipmmu-vmsa.c681 ipmmu_map(struct iommu_domain *io_domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) ipmmu_map() argument
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dwr.c650 bool prot = false; in set_sig_data_segment() local
/kernel/linux/linux-5.10/drivers/iommu/loongson/
H A Diommu.c1155 iommu_map_page(dom_info *priv, unsigned long start, phys_addr_t pa, size_t size, int prot, gfp_t gfp) iommu_map_page() argument
1234 loongson_iommu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t pa, size_t len, int prot, gfp_t gfp) loongson_iommu_map() argument
/kernel/linux/linux-5.10/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c2241 do_otp_read(struct map_info *map, struct flchip *chip, u_long offset, u_char *buf, u_int size, u_long prot, u_int grpno, u_int grpsz) do_otp_read() argument
2274 do_otp_write(struct map_info *map, struct flchip *chip, u_long offset, u_char *buf, u_int size, u_long prot, u_int grpno, u_int grpsz) do_otp_write() argument
2299 do_otp_lock(struct map_info *map, struct flchip *chip, u_long offset, u_char *buf, u_int size, u_long prot, u_int grpno, u_int grpsz) do_otp_lock() argument
/kernel/linux/linux-5.10/drivers/s390/net/
H A Dqeth_l3_main.c1311 static int arpentry_matches_prot(struct qeth_arp_entrytype *type, __u16 prot) in arpentry_matches_prot() argument
401 qeth_l3_send_setrouting(struct qeth_card *card, enum qeth_routing_types type, enum qeth_prot_versions prot) qeth_l3_send_setrouting() argument
420 qeth_l3_correct_routing_type(struct qeth_card *card, enum qeth_routing_types *type, enum qeth_prot_versions prot) qeth_l3_correct_routing_type() argument
1396 qeth_l3_query_arp_cache_info(struct qeth_card *card, enum qeth_prot_versions prot, struct qeth_arp_query_info *qinfo) qeth_l3_query_arp_cache_info() argument
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dqla_attr.c3026 int prot = 0, guard; in qla24xx_vport_create() local
/kernel/linux/linux-5.10/drivers/scsi/
H A Dscsi_lib.c1139 void *prot = cmd->prot_sdb; in scsi_init_command() local
/kernel/linux/linux-5.10/drivers/vfio/
H A Dvfio.c1895 vfio_pin_pages(struct device *dev, unsigned long *user_pfn, int npage, int prot, unsigned long *phys_pfn) vfio_pin_pages() argument
2006 vfio_group_pin_pages(struct vfio_group *group, unsigned long *user_iova_pfn, int npage, int prot, unsigned long *phys_pfn) vfio_group_pin_pages() argument
/kernel/linux/linux-5.10/net/smc/
H A Daf_smc.c239 struct proto *prot; in smc_sock_alloc() local

Completed in 65 milliseconds

1...<<21222324252627282930