Home
last modified time | relevance | path

Searched defs:iovad (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/include/linux/
Diova.h48 static inline unsigned long iova_shift(struct iova_domain *iovad) in iova_shift()
53 static inline unsigned long iova_mask(struct iova_domain *iovad) in iova_mask()
58 static inline size_t iova_offset(struct iova_domain *iovad, dma_addr_t iova) in iova_offset()
63 static inline size_t iova_align(struct iova_domain *iovad, size_t size) in iova_align()
68 static inline dma_addr_t iova_dma_addr(struct iova_domain *iovad, struct iova *iova) in iova_dma_addr()
73 static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) in iova_pfn()
110 static inline void free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova()
114 static inline void __free_iova(struct iova_domain *iovad, struct iova *iova) in __free_iova()
118 static inline struct iova *alloc_iova(struct iova_domain *iovad, in alloc_iova()
126 static inline void free_iova_fast(struct iova_domain *iovad, in free_iova_fast()
[all …]
/linux-6.1.9/drivers/iommu/
Diova.c36 struct iova_domain *iovad; in iova_cpuhp_dead() local
52 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain()
77 __get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn) in __get_cached_rbnode()
86 __cached_rbnode_insert_update(struct iova_domain *iovad, struct iova *new) in __cached_rbnode_insert_update()
95 __cached_rbnode_delete_update(struct iova_domain *iovad, struct iova *free) in __cached_rbnode_delete_update()
113 static struct rb_node *iova_find_limit(struct iova_domain *iovad, unsigned long limit_pfn) in iova_find_limit()
178 static int __alloc_and_insert_iova_range(struct iova_domain *iovad, in __alloc_and_insert_iova_range()
314 alloc_iova(struct iova_domain *iovad, unsigned long size, in alloc_iova()
338 private_find_iova(struct iova_domain *iovad, unsigned long pfn) in private_find_iova()
358 static void remove_iova(struct iova_domain *iovad, struct iova *iova) in remove_iova()
[all …]
Ddma-iommu.c50 struct iova_domain iovad; member
400 struct iova_domain *iovad = &cookie->iovad; in cookie_init_hw_msi_region() local
432 struct iova_domain *iovad) in iova_reserve_pci_windows()
481 struct iova_domain *iovad = &cookie->iovad; in iova_reserve_iommu_regions() local
542 struct iova_domain *iovad; in iommu_dma_init_domain() local
629 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_alloc_iova() local
660 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_free_iova() local
679 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_unmap() local
702 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_map() local
795 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_alloc_noncontiguous() local
[all …]
/linux-6.1.9/drivers/vdpa/vdpa_user/
Diova_domain.c355 vduse_domain_alloc_iova(struct iova_domain *iovad, in vduse_domain_alloc_iova()
367 static void vduse_domain_free_iova(struct iova_domain *iovad, in vduse_domain_free_iova()
381 struct iova_domain *iovad = &domain->stream_iovad; in vduse_domain_map_page() local
413 struct iova_domain *iovad = &domain->stream_iovad; in vduse_domain_unmap_page() local
428 struct iova_domain *iovad = &domain->consistent_iovad; in vduse_domain_alloc_coherent() local
462 struct iova_domain *iovad = &domain->consistent_iovad; in vduse_domain_free_coherent() local