Home
last modified time | relevance | path

Searched refs:bucket_bits (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/fs/
H A Dmbcache.c353 * @bucket_bits: log2 of the hash table size
355 * Create cache for keys with 2^bucket_bits hash entries.
357 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()
/kernel/linux/linux-5.10/include/linux/
H A Dmbcache.h40 struct mb_cache *mb_cache_create(int bucket_bits);
/kernel/linux/linux-6.6/include/linux/
H A Dmbcache.h40 struct mb_cache *mb_cache_create(int bucket_bits);
/kernel/linux/linux-5.10/fs/
H A Dmbcache.c390 * @bucket_bits: log2 of the hash table size
392 * Create cache for keys with 2^bucket_bits hash entries.
394 struct mb_cache *mb_cache_create(int bucket_bits) in mb_cache_create() argument
397 unsigned long bucket_count = 1UL << bucket_bits; in mb_cache_create()
403 cache->c_bucket_bits = bucket_bits; in mb_cache_create()
/kernel/linux/linux-5.10/drivers/md/bcache/
H A Dbcache.h545 unsigned short bucket_bits; member
791 return s >> c->bucket_bits; in sector_to_bucket()
796 return ((sector_t) b) << c->bucket_bits; in bucket_to_sector()
H A Dbtree.c100 (((k)->ptr[0] >> c->bucket_bits) | PTR_GEN(k, 0))
H A Dsuper.c1911 c->bucket_bits = ilog2(sb->bucket_size); in bch_cache_set_alloc()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A 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()
H A Dbtree.c100 (((k)->ptr[0] >> c->bucket_bits) | PTR_GEN(k, 0))
H A Dsuper.c1885 c->bucket_bits = ilog2(sb->bucket_size); in bch_cache_set_alloc()
/kernel/linux/linux-6.6/include/trace/events/
H A Dbcache.h440 __entry->offset = bucket << ca->set->bucket_bits;
460 __entry->offset = bucket << ca->set->bucket_bits;
/kernel/linux/linux-5.10/include/trace/events/
H A Dbcache.h440 __entry->offset = bucket << ca->set->bucket_bits;
460 __entry->offset = bucket << ca->set->bucket_bits;

Completed in 19 milliseconds