Searched refs:IOVA_RANGE_CACHE_MAX_SIZE (Results 1 – 1 of 1) sorted by relevance
18 #define IOVA_RANGE_CACHE_MAX_SIZE 6 /* log of max cached IOVA range size (in pages) */ macro31 return PAGE_SIZE << (IOVA_RANGE_CACHE_MAX_SIZE - 1); in iova_rcache_range()451 if (size < (1 << (IOVA_RANGE_CACHE_MAX_SIZE - 1))) in alloc_iova_fast()725 iovad->rcaches = kcalloc(IOVA_RANGE_CACHE_MAX_SIZE, in iova_domain_init_rcaches()731 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in iova_domain_init_rcaches()828 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_insert()884 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_get()900 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_iova_rcaches()928 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_cpu_cached_iovas()947 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_global_cached_iovas()