Searched refs:c_index_hash (Results 1 – 2 of 2) sorted by relevance
223 cache->c_index_hash = kmalloc(bucket_count * sizeof(struct list_head), in mb_cache_create()225 if (!cache->c_index_hash) in mb_cache_create()228 INIT_LIST_HEAD(&cache->c_index_hash[n]); in mb_cache_create()247 kfree(cache->c_index_hash); in mb_cache_create()326 kfree(cache->c_index_hash); in mb_cache_destroy()407 list_add(&ce->e_index.o_list, &cache->c_index_hash[bucket]); in mb_cache_entry_insert()562 l = cache->c_index_hash[bucket].next; in mb_cache_entry_find_first()563 ce = __mb_cache_entry_find(l, &cache->c_index_hash[bucket], bdev, key); in mb_cache_entry_find_first()598 ce = __mb_cache_entry_find(l, &cache->c_index_hash[bucket], bdev, key); in mb_cache_entry_find_next()
29 struct list_head *c_index_hash; member