Lines Matching refs:iova_domain

28 struct iova_domain {  struct
48 static inline unsigned long iova_shift(struct iova_domain *iovad) in iova_shift() argument
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()
84 void free_iova(struct iova_domain *iovad, unsigned long pfn);
85 void __free_iova(struct iova_domain *iovad, struct iova *iova);
86 struct iova *alloc_iova(struct iova_domain *iovad, unsigned long size,
89 void free_iova_fast(struct iova_domain *iovad, unsigned long pfn,
91 unsigned long alloc_iova_fast(struct iova_domain *iovad, unsigned long size,
93 struct iova *reserve_iova(struct iova_domain *iovad, unsigned long pfn_lo,
95 void init_iova_domain(struct iova_domain *iovad, unsigned long granule,
97 int iova_domain_init_rcaches(struct iova_domain *iovad);
98 struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn);
99 void put_iova_domain(struct iova_domain *iovad);
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()
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()
159 static inline void put_iova_domain(struct iova_domain *iovad) in put_iova_domain()