Home
last modified time | relevance | path

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

/linux/drivers/iommu/
H A Diova.c19 #define IOVA_RANGE_CACHE_MAX_SIZE 6 /* log of max cached IOVA range size (in pages) */ macro
388 if (size < (1 << (IOVA_RANGE_CACHE_MAX_SIZE - 1))) in alloc_iova_fast()
597 return PAGE_SIZE << (IOVA_RANGE_CACHE_MAX_SIZE - 1); in iova_rcache_range()
712 iovad->rcaches = kcalloc(IOVA_RANGE_CACHE_MAX_SIZE, in iova_domain_init_rcaches()
718 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in iova_domain_init_rcaches()
806 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_insert()
862 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_get()
877 for (int i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_iova_rcaches()
906 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_cpu_cached_iovas()
924 for (int i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_global_cached_iovas()