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()719 iovad->rcaches = kcalloc(IOVA_RANGE_CACHE_MAX_SIZE, in iova_domain_init_rcaches()725 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in iova_domain_init_rcaches()822 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_insert()878 if (log_size >= IOVA_RANGE_CACHE_MAX_SIZE) in iova_rcache_get()894 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_iova_rcaches()922 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_cpu_cached_iovas()941 for (i = 0; i < IOVA_RANGE_CACHE_MAX_SIZE; ++i) { in free_global_cached_iovas()