Home
last modified time | relevance | path

Searched refs:IOVA_RANGE_CACHE_MAX_SIZE (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/linux/
Diova.h28 #define IOVA_RANGE_CACHE_MAX_SIZE 6 /* log of max cached IOVA range size (in pages) */ macro
86 struct iova_rcache rcaches[IOVA_RANGE_CACHE_MAX_SIZE]; /* IOVA range caches */
/Linux-v5.10/drivers/iommu/
Diova.c869 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()
Ddma-iommu.c422 if (iova_len < (1 << (IOVA_RANGE_CACHE_MAX_SIZE - 1))) in iommu_dma_alloc_iova()