Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/crush/
Dcrush.h185 __s32 max_buckets; member
/linux-4.4.14/net/ceph/crush/
Dcrush.c117 for (b = 0; b < map->max_buckets; b++) { in crush_destroy()
Dmapper.c486 (-1-item) >= map->max_buckets) { in crush_choose_firstn()
691 (-1-item) >= map->max_buckets) { in crush_choose_indep()
838 (-1-curstep->arg1 < map->max_buckets && in crush_do_rule()
/linux-4.4.14/drivers/md/
Ddm-region-hash.c170 unsigned nr_buckets, max_buckets; in dm_region_hash_create() local
177 max_buckets = nr_regions >> 6; in dm_region_hash_create()
178 for (nr_buckets = 128u; nr_buckets < max_buckets; nr_buckets <<= 1) in dm_region_hash_create()
Ddm-snap.c803 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local
810 max_buckets = calc_max_buckets(); in init_hash_tables()
813 hash_size = min(hash_size, max_buckets); in init_hash_tables()
/linux-4.4.14/net/ceph/
Dosdmap.c185 c->max_buckets = ceph_decode_32(p); in crush_decode()
189 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode()
197 for (i = 0; i < c->max_buckets; i++) { in crush_decode()