Home
last modified time | relevance | path

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

/openbmc/linux/tools/power/x86/intel-speed-select/
H A Disst-core-tpmi.c313 if (info.max_buckets > TRL_MAX_BUCKETS) in tpmi_get_get_trls()
314 info.max_buckets = TRL_MAX_BUCKETS; in tpmi_get_get_trls()
320 for (j = 0; j < info.max_buckets; ++j) in tpmi_get_get_trls()
358 if (info.max_buckets > TRL_MAX_BUCKETS) in tpmi_get_trl_bucket_info()
359 info.max_buckets = TRL_MAX_BUCKETS; in tpmi_get_trl_bucket_info()
361 for (i = 0; i < info.max_buckets; ++i) in tpmi_get_trl_bucket_info()
509 if (info.max_buckets > TRL_MAX_BUCKETS) in tpmi_get_fact_info()
510 info.max_buckets = TRL_MAX_BUCKETS; in tpmi_get_fact_info()
516 for (j = 0; j < info.max_buckets; ++j) in tpmi_get_fact_info()
521 for (i = 0; i < info.max_buckets; ++i) in tpmi_get_fact_info()
/openbmc/linux/include/uapi/linux/
H A Disst_if.h372 __u16 max_buckets; member
447 __u16 max_buckets; member
/openbmc/linux/net/ceph/crush/
H 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()
947 -1-curstep->arg1 < map->max_buckets && in crush_do_rule()
1015 if (bno < 0 || bno >= map->max_buckets) { in crush_do_rule()
H A Dcrush.c113 for (b = 0; b < map->max_buckets; b++) { in crush_destroy()
/openbmc/linux/include/linux/crush/
H A Dcrush.h243 __s32 max_buckets; member
/openbmc/linux/drivers/md/
H A Ddm-region-hash.c174 unsigned int nr_buckets, max_buckets; in dm_region_hash_create() local
182 max_buckets = nr_regions >> 6; in dm_region_hash_create()
183 for (nr_buckets = 128u; nr_buckets < max_buckets; nr_buckets <<= 1) in dm_region_hash_create()
H A Ddm-snap.c886 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local
893 max_buckets = calc_max_buckets(); in init_hash_tables()
896 hash_size = min(hash_size, max_buckets); in init_hash_tables()
/openbmc/linux/net/ceph/
H A Dosdmap.c366 arg_map->size = c->max_buckets; in decode_choose_args()
411 c->max_buckets * sizeof(struct crush_work_bucket *); in crush_finalize()
413 for (b = 0; b < c->max_buckets; b++) { in crush_finalize()
463 c->max_buckets = ceph_decode_32(p); in crush_decode()
467 c->buckets = kcalloc(c->max_buckets, sizeof(*c->buckets), GFP_NOFS); in crush_decode()
475 for (i = 0; i < c->max_buckets; i++) { in crush_decode()
3040 for (i = 0; i < c->max_buckets; i++) { in get_immediate_parent()
/openbmc/linux/drivers/platform/x86/intel/speed_select_if/
H A Disst_tpmi_core.c954 perf_level.max_buckets = TRL_MAX_BUCKETS; in isst_if_get_perf_level_info()
1167 turbo_freq.max_buckets = TRL_MAX_BUCKETS; in isst_if_get_turbo_freq_info()