Home
last modified time | relevance | path

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

/linux-5.19.10/fs/
Dmbcache.c414 struct mb_cache *mb_cache_create(int bucket_bits) in mb_cache_create() argument
417 unsigned long bucket_count = 1UL << bucket_bits; in mb_cache_create()
423 cache->c_bucket_bits = bucket_bits; in mb_cache_create()
/linux-5.19.10/include/linux/
Dmbcache.h27 struct mb_cache *mb_cache_create(int bucket_bits);
/linux-5.19.10/drivers/md/bcache/
Dbcache.h550 unsigned short bucket_bits; member
796 return s >> c->bucket_bits; in sector_to_bucket()
801 return ((sector_t) b) << c->bucket_bits; in bucket_to_sector()
Dbtree.c100 (((k)->ptr[0] >> c->bucket_bits) | PTR_GEN(k, 0))
Dsuper.c1886 c->bucket_bits = ilog2(sb->bucket_size); in bch_cache_set_alloc()
/linux-5.19.10/include/trace/events/
Dbcache.h440 __entry->offset = bucket << ca->set->bucket_bits;
460 __entry->offset = bucket << ca->set->bucket_bits;