Searched defs:iovad (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | iova.h | 48 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() 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() 132 static inline unsigned long alloc_iova_fast(struct iova_domain *iovad, in alloc_iova_fast() 140 static inline struct iova *reserve_iova(struct iova_domain *iovad, in reserve_iova() 147 static inline void init_iova_domain(struct iova_domain *iovad, in init_iova_domain() 153 static inline struct iova *find_iova(struct iova_domain *iovad, in find_iova() [all …]
|
/linux-6.3-rc2/drivers/iommu/ |
A D | iova.c | 36 struct iova_domain *iovad; in iova_cpuhp_dead() local 52 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain() 314 alloc_iova(struct iova_domain *iovad, unsigned long size, in alloc_iova() 392 __free_iova(struct iova_domain *iovad, struct iova *iova) in __free_iova() 411 free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova() 508 void put_iova_domain(struct iova_domain *iovad) in put_iova_domain() 546 __insert_new_range(struct iova_domain *iovad, in __insert_new_range() 577 reserve_iova(struct iova_domain *iovad, in reserve_iova() 714 int iova_domain_init_rcaches(struct iova_domain *iovad) in iova_domain_init_rcaches() 769 static bool __iova_rcache_insert(struct iova_domain *iovad, in __iova_rcache_insert() [all …]
|
A D | dma-iommu.c | 51 struct iova_domain iovad; member 403 struct iova_domain *iovad = &cookie->iovad; in cookie_init_hw_msi_region() local 435 struct iova_domain *iovad) in iova_reserve_pci_windows() 484 struct iova_domain *iovad = &cookie->iovad; in iova_reserve_iommu_regions() local 545 struct iova_domain *iovad; in iommu_dma_init_domain() local 632 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_alloc_iova() local 663 struct iova_domain *iovad = &cookie->iovad; in iommu_dma_free_iova() local 682 struct iova_domain *iovad = &cookie->iovad; in __iommu_dma_unmap() local 705 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.3-rc2/drivers/vdpa/vdpa_user/ |
A D | iova_domain.c | 355 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
|
Completed in 14 milliseconds