Lines Matching refs:cache_bucket
92 struct hlist_head *cache_bucket; member
122 if (!pool->cache_bucket) in ib_fmr_cache_lookup()
125 bucket = pool->cache_bucket + ib_fmr_hash(*page_list); in ib_fmr_cache_lookup()
257 pool->cache_bucket = NULL; in ib_create_fmr_pool()
266 pool->cache_bucket = in ib_create_fmr_pool()
267 kmalloc(IB_FMR_HASH_SIZE * sizeof *pool->cache_bucket, in ib_create_fmr_pool()
269 if (!pool->cache_bucket) { in ib_create_fmr_pool()
276 INIT_HLIST_HEAD(pool->cache_bucket + i); in ib_create_fmr_pool()
308 if (pool->cache_bucket) in ib_create_fmr_pool()
340 kfree(pool->cache_bucket); in ib_create_fmr_pool()
385 kfree(pool->cache_bucket); in ib_destroy_fmr_pool()
490 if (pool->cache_bucket) { in ib_fmr_pool_map_phys()
497 pool->cache_bucket + ib_fmr_hash(fmr->page_list[0])); in ib_fmr_pool_map_phys()