Searched refs:bucket_bits (Results 1 – 6 of 6) sorted by relevance
357 struct mb_cache *mb_cache_create(int bucket_bits) in mb_cache_create() argument360 unsigned long bucket_count = 1UL << bucket_bits; in mb_cache_create()366 cache->c_bucket_bits = bucket_bits; in mb_cache_create()
40 struct mb_cache *mb_cache_create(int bucket_bits);
551 unsigned short bucket_bits; member797 return s >> c->bucket_bits; in sector_to_bucket()802 return ((sector_t) b) << c->bucket_bits; in bucket_to_sector()
100 (((k)->ptr[0] >> c->bucket_bits) | PTR_GEN(k, 0))
1885 c->bucket_bits = ilog2(sb->bucket_size); in bch_cache_set_alloc()
440 __entry->offset = bucket << ca->set->bucket_bits;460 __entry->offset = bucket << ca->set->bucket_bits;