/kernel/linux/linux-6.6/tools/power/x86/intel-speed-select/ |
H A D | isst-core-tpmi.c | 313 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; in tpmi_get_fact_info() [all...] |
/kernel/linux/linux-5.10/net/ceph/crush/ |
H A D | mapper.c | 535 (-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()
|
H A D | crush.c | 113 for (b = 0; b < map->max_buckets; b++) { in crush_destroy()
|
/kernel/linux/linux-6.6/net/ceph/crush/ |
H A D | mapper.c | 535 (-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 D | crush.c | 113 for (b = 0; b < map->max_buckets; b++) { in crush_destroy()
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | isst_if.h | 342 * @max_buckets: Maximum trl buckets 372 __u16 max_buckets; member 447 __u16 max_buckets; member
|
/kernel/linux/linux-5.10/include/linux/crush/ |
H A D | crush.h | 243 __s32 max_buckets; member
|
/kernel/linux/linux-6.6/include/linux/crush/ |
H A D | crush.h | 243 __s32 max_buckets; member
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-region-hash.c | 171 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()
|
H A D | dm-snap.c | 884 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local 891 max_buckets = calc_max_buckets(); in init_hash_tables() 894 hash_size = min(hash_size, max_buckets); in init_hash_tables()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-region-hash.c | 174 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 D | dm-snap.c | 884 sector_t hash_size, cow_dev_size, max_buckets; in init_hash_tables() local 891 max_buckets = calc_max_buckets(); in init_hash_tables() 894 hash_size = min(hash_size, max_buckets); in init_hash_tables()
|
/kernel/linux/linux-5.10/net/ceph/ |
H A D | osdmap.c | 350 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() 3005 for (i = 0; i < c->max_buckets; i++) { in get_immediate_parent()
|
/kernel/linux/linux-6.6/net/ceph/ |
H A D | osdmap.c | 366 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()
|
/kernel/linux/linux-6.6/drivers/platform/x86/intel/speed_select_if/ |
H A D | isst_tpmi_core.c | 954 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()
|