Lines Matching defs:iovad

32 	struct iova_domain *iovad;  in iova_cpuhp_dead()  local
48 init_iova_domain(struct iova_domain *iovad, unsigned long granule, in init_iova_domain()
76 static bool has_iova_flush_queue(struct iova_domain *iovad) in has_iova_flush_queue()
81 static void free_iova_flush_queue(struct iova_domain *iovad) in free_iova_flush_queue()
98 int init_iova_flush_queue(struct iova_domain *iovad, in init_iova_flush_queue()
133 __get_cached_rbnode(struct iova_domain *iovad, unsigned long limit_pfn) in __get_cached_rbnode()
142 __cached_rbnode_insert_update(struct iova_domain *iovad, struct iova *new) in __cached_rbnode_insert_update()
151 __cached_rbnode_delete_update(struct iova_domain *iovad, struct iova *free) in __cached_rbnode_delete_update()
168 static struct rb_node *iova_find_limit(struct iova_domain *iovad, unsigned long limit_pfn) in iova_find_limit()
233 static int __alloc_and_insert_iova_range(struct iova_domain *iovad, in __alloc_and_insert_iova_range()
369 alloc_iova(struct iova_domain *iovad, unsigned long size, in alloc_iova()
393 private_find_iova(struct iova_domain *iovad, unsigned long pfn) in private_find_iova()
413 static void remove_iova(struct iova_domain *iovad, struct iova *iova) in remove_iova()
427 struct iova *find_iova(struct iova_domain *iovad, unsigned long pfn) in find_iova()
447 __free_iova(struct iova_domain *iovad, struct iova *iova) in __free_iova()
466 free_iova(struct iova_domain *iovad, unsigned long pfn) in free_iova()
494 alloc_iova_fast(struct iova_domain *iovad, unsigned long size, in alloc_iova_fast()
533 free_iova_fast(struct iova_domain *iovad, unsigned long pfn, unsigned long size) in free_iova_fast()
562 static void fq_ring_free(struct iova_domain *iovad, struct iova_fq *fq) in fq_ring_free()
585 static void iova_domain_flush(struct iova_domain *iovad) in iova_domain_flush()
592 static void fq_destroy_all_entries(struct iova_domain *iovad) in fq_destroy_all_entries()
615 struct iova_domain *iovad = from_timer(iovad, t, fq_timer); in fq_flush_timeout() local
632 void queue_iova(struct iova_domain *iovad, in queue_iova()
685 void put_iova_domain(struct iova_domain *iovad) in put_iova_domain()
725 __insert_new_range(struct iova_domain *iovad, in __insert_new_range()
756 reserve_iova(struct iova_domain *iovad, in reserve_iova()
825 iova_magazine_free_pfns(struct iova_magazine *mag, struct iova_domain *iovad) in iova_magazine_free_pfns()
887 static void init_iova_rcaches(struct iova_domain *iovad) in init_iova_rcaches()
916 static bool __iova_rcache_insert(struct iova_domain *iovad, in __iova_rcache_insert()
964 static bool iova_rcache_insert(struct iova_domain *iovad, unsigned long pfn, in iova_rcache_insert()
1019 static unsigned long iova_rcache_get(struct iova_domain *iovad, in iova_rcache_get()
1034 static void free_iova_rcaches(struct iova_domain *iovad) in free_iova_rcaches()
1057 static void free_cpu_cached_iovas(unsigned int cpu, struct iova_domain *iovad) in free_cpu_cached_iovas()
1077 static void free_global_cached_iovas(struct iova_domain *iovad) in free_global_cached_iovas()