Searched refs:bucket_bits (Results 1 – 5 of 5) sorted by relevance
351 * @bucket_bits: log2 of the hash table size353 * Create cache for keys with 2^bucket_bits hash entries.355 struct mb_cache *mb_cache_create(int bucket_bits) in mb_cache_create() argument 358 unsigned long bucket_count = 1UL << bucket_bits; in mb_cache_create() 364 cache->c_bucket_bits = bucket_bits; in mb_cache_create()
40 struct mb_cache *mb_cache_create(int bucket_bits);
440 __entry->offset = bucket << ca->set->bucket_bits;460 __entry->offset = bucket << ca->set->bucket_bits;
99 (((k)->ptr[0] >> c->bucket_bits) | PTR_GEN(k, 0))
1884 c->bucket_bits = ilog2(sb->bucket_size); in bch_cache_set_alloc()