Searched refs:iova_domain (Results 1 - 3 of 3) sorted by relevance
/linux-4.1.27/include/linux/ |
H A D | iova.h | 27 struct iova_domain { struct 41 static inline unsigned long iova_shift(struct iova_domain *iovad) iova_shift() 46 static inline unsigned long iova_mask(struct iova_domain *iovad) iova_mask() 51 static inline size_t iova_offset(struct iova_domain *iovad, dma_addr_t iova) iova_offset() 56 static inline size_t iova_align(struct iova_domain *iovad, size_t size) iova_align() 61 static inline dma_addr_t iova_dma_addr(struct iova_domain *iovad, struct iova *iova) iova_dma_addr() 66 static inline unsigned long iova_pfn(struct iova_domain *iovad, dma_addr_t iova) iova_pfn() 76 void free_iova(struct iova_domain *iovad, unsigned long pfn); 77 void __free_iova(struct iova_domain *iovad, struct iova *iova); 78 struct iova *alloc_iova(struct iova_domain *iovad, unsigned long size, 81 struct iova *reserve_iova(struct iova_domain *iovad, unsigned long pfn_lo, 83 void copy_reserved_iova(struct iova_domain *from, struct iova_domain *to); 84 void init_iova_domain(struct iova_domain *iovad, unsigned long granule, 86 struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn); 87 void put_iova_domain(struct iova_domain *iovad); 88 struct iova *split_and_remove_iova(struct iova_domain *iovad,
|
/linux-4.1.27/drivers/iommu/ |
H A D | iova.c | 58 init_iova_domain(struct iova_domain *iovad, unsigned long granule, init_iova_domain() 77 __get_cached_rbnode(struct iova_domain *iovad, unsigned long *limit_pfn) __get_cached_rbnode() 92 __cached_rbnode_insert_update(struct iova_domain *iovad, __cached_rbnode_insert_update() 101 __cached_rbnode_delete_update(struct iova_domain *iovad, struct iova *free) __cached_rbnode_delete_update() 138 static int __alloc_and_insert_iova_range(struct iova_domain *iovad, __alloc_and_insert_iova_range() 256 alloc_iova(struct iova_domain *iovad, unsigned long size, alloc_iova() 291 struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn) find_iova() 331 __free_iova(struct iova_domain *iovad, struct iova *iova) __free_iova() 350 free_iova(struct iova_domain *iovad, unsigned long pfn) free_iova() 363 void put_iova_domain(struct iova_domain *iovad) put_iova_domain() 405 __insert_new_range(struct iova_domain *iovad, __insert_new_range() 436 reserve_iova(struct iova_domain *iovad, reserve_iova() 476 copy_reserved_iova(struct iova_domain *from, struct iova_domain *to) copy_reserved_iova() 494 split_and_remove_iova(struct iova_domain *iovad, struct iova *iova, split_and_remove_iova()
|
H A D | intel-iommu.c | 323 struct iova_domain iovad; /* iova's that belong to this domain */ 1643 static struct iova_domain reserved_iova_list;
|
Completed in 152 milliseconds