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()
82 void free_iova(struct iova_domain *iovad, unsigned long pfn);
83 void __free_iova(struct iova_domain *iovad, struct iova *iova);
84 struct iova *alloc_iova(struct iova_domain *iovad, unsigned long size,
87 void free_iova_fast(struct iova_domain *iovad, unsigned long pfn,
89 unsigned long alloc_iova_fast(struct iova_domain *iovad, unsigned long size,
91 struct iova *reserve_iova(struct iova_domain *iovad, unsigned long pfn_lo,
93 void init_iova_domain(struct iova_domain *iovad, unsigned long granule,
95 int iova_domain_init_rcaches(struct iova_domain *iovad);
96 struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn);
97 void put_iova_domain(struct iova_domain *iovad);
108 static inline void free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova()
112 static inline void __free_iova(struct iova_domain *iovad, struct iova *iova) in __free_iova()
116 static inline struct iova *alloc_iova(struct iova_domain *iovad, in alloc_iova()
124 static inline void free_iova_fast(struct iova_domain *iovad, in free_iova_fast()
130 static inline unsigned long alloc_iova_fast(struct iova_domain *iovad, in alloc_iova_fast()
138 static inline struct iova *reserve_iova(struct iova_domain *iovad, in reserve_iova()
145 static inline void init_iova_domain(struct iova_domain *iovad, in init_iova_domain()
151 static inline struct iova *find_iova(struct iova_domain *iovad, in find_iova()
157 static inline void put_iova_domain(struct iova_domain *iovad) in put_iova_domain()