Lines Matching refs:loaded
646 struct iova_magazine *loaded; member
757 cpu_rcache->loaded = iova_magazine_alloc(GFP_KERNEL); in iova_domain_init_rcaches()
759 if (!cpu_rcache->loaded || !cpu_rcache->prev) { in iova_domain_init_rcaches()
796 if (!iova_magazine_full(cpu_rcache->loaded)) { in __iova_rcache_insert()
799 swap(cpu_rcache->prev, cpu_rcache->loaded); in __iova_rcache_insert()
808 cpu_rcache->loaded; in __iova_rcache_insert()
810 mag_to_free = cpu_rcache->loaded; in __iova_rcache_insert()
814 cpu_rcache->loaded = new_mag; in __iova_rcache_insert()
820 iova_magazine_push(cpu_rcache->loaded, iova_pfn); in __iova_rcache_insert()
859 if (!iova_magazine_empty(cpu_rcache->loaded)) { in __iova_rcache_get()
862 swap(cpu_rcache->prev, cpu_rcache->loaded); in __iova_rcache_get()
867 iova_magazine_free(cpu_rcache->loaded); in __iova_rcache_get()
868 cpu_rcache->loaded = rcache->depot[--rcache->depot_size]; in __iova_rcache_get()
875 iova_pfn = iova_magazine_pop(cpu_rcache->loaded, limit_pfn); in __iova_rcache_get()
915 iova_magazine_free(cpu_rcache->loaded); in free_iova_rcaches()
941 iova_magazine_free_pfns(cpu_rcache->loaded, iovad); in free_cpu_cached_iovas()