Home
last modified time | relevance | path

Searched refs:bucket_bits (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/fs/
Dmbcache.c357 struct mb_cache *mb_cache_create(int bucket_bits) in mb_cache_create() argument
360 unsigned long bucket_count = 1UL << bucket_bits; in mb_cache_create()
366 cache->c_bucket_bits = bucket_bits; in mb_cache_create()
/linux-6.6.21/include/linux/
Dmbcache.h40 struct mb_cache *mb_cache_create(int bucket_bits);
/linux-6.6.21/drivers/md/bcache/
Dbcache.h551 unsigned short bucket_bits; member
797 return s >> c->bucket_bits; in sector_to_bucket()
802 return ((sector_t) b) << c->bucket_bits; in bucket_to_sector()
Dbtree.c100 (((k)->ptr[0] >> c->bucket_bits) | PTR_GEN(k, 0))
Dsuper.c1885 c->bucket_bits = ilog2(sb->bucket_size); in bch_cache_set_alloc()
/linux-6.6.21/include/trace/events/
Dbcache.h440 __entry->offset = bucket << ca->set->bucket_bits;
460 __entry->offset = bucket << ca->set->bucket_bits;