Searched refs:IOVA_RANGE_CACHE_MAX_SIZE (Results 1 – 3 of 3) sorted by relevance
28 #define IOVA_RANGE_CACHE_MAX_SIZE 6 /* log of max cached IOVA range size (in pages) */ macro86 struct iova_rcache rcaches[IOVA_RANGE_CACHE_MAX_SIZE]; /* IOVA range caches */
869 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in init_iova_rcaches()944 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_insert()1000 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_get()1016 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_iova_rcaches()1039 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_cpu_cached_iovas()
422 if (iova_len < (1 << (IOVA_RANGE_CACHE_MAX_SIZE - 1))) in iommu_dma_alloc_iova()