Searched refs:rcaches (Results 1 – 2 of 2) sorted by relevance
507 if (iovad->rcaches) in put_iova_domain()716 iovad->rcaches = kcalloc(IOVA_RANGE_CACHE_MAX_SIZE, in iova_domain_init_rcaches()719 if (!iovad->rcaches) in iova_domain_init_rcaches()726 rcache = &iovad->rcaches[i]; in iova_domain_init_rcaches()822 return __iova_rcache_insert(iovad, &iovad->rcaches[log_size], pfn); in iova_rcache_insert()875 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE || !iovad->rcaches) in iova_rcache_get()878 return __iova_rcache_get(&iovad->rcaches[log_size], limit_pfn - size); in iova_rcache_get()892 rcache = &iovad->rcaches[i]; in free_iova_rcaches()905 kfree(iovad->rcaches); in free_iova_rcaches()906 iovad->rcaches = NULL; in free_iova_rcaches()[all …]
39 struct iova_rcache *rcaches; member