Home
last modified time | relevance | path

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

/linux/net/ceph/crush/
A Dmapper.c535 (-1-item) >= map->max_buckets) { in crush_choose_firstn()
749 (-1-item) >= map->max_buckets) { in crush_choose_indep()
863 v += map->max_buckets * sizeof(struct crush_work_bucket *); in crush_init_workspace()
864 for (b = 0; b < map->max_buckets; ++b) { in crush_init_workspace()
948 -1-curstep->arg1 < map->max_buckets && in crush_do_rule()
1016 if (bno < 0 || bno >= map->max_buckets) { in crush_do_rule()
A Dcrush.c113 for (b = 0; b < map->max_buckets; b++) { in crush_destroy()
/linux/drivers/md/
A Ddm-region-hash.c171 unsigned nr_buckets, max_buckets; in dm_region_hash_create() local
179 max_buckets = nr_regions >> 6; in dm_region_hash_create()
180 for (nr_buckets = 128u; nr_buckets < max_buckets; nr_buckets <<= 1) in dm_region_hash_create()
A Ddm-snap.c885 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local
892 max_buckets = calc_max_buckets(); in init_hash_tables()
895 hash_size = min(hash_size, max_buckets); in init_hash_tables()
/linux/include/linux/crush/
A Dcrush.h243 __s32 max_buckets; member
/linux/net/ceph/
A Dosdmap.c350 arg_map->size = c->max_buckets; in decode_choose_args()
395 c->max_buckets * sizeof(struct crush_work_bucket *); in crush_finalize()
397 for (b = 0; b < c->max_buckets; b++) { in crush_finalize()
447 c->max_buckets = ceph_decode_32(p); in crush_decode()
451 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode()
459 for (i = 0; i < c->max_buckets; i++) { in crush_decode()
3024 for (i = 0; i < c->max_buckets; i++) { in get_immediate_parent()

Completed in 19 milliseconds