Searched refs:cbm_len (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/arch/x86/kernel/cpu/resctrl/ |
D | ctrlmondata.c | 99 unsigned int cbm_len = r->cache.cbm_len; in cbm_validate() local 114 first_bit = find_first_bit(&val, cbm_len); in cbm_validate() 115 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate() 119 (find_next_bit(&val, cbm_len, zero_bit) < cbm_len)) { in cbm_validate()
|
D | core.c | 140 r->cache.cbm_len = 20; in cache_alloc_hsw_probe() 250 r->cache.cbm_len = eax.split.cbm_len + 1; in rdt_get_cache_alloc_cfg() 251 r->default_ctrl = BIT_MASK(eax.split.cbm_len + 1) - 1; in rdt_get_cache_alloc_cfg() 253 r->data_width = (r->cache.cbm_len + 3) / 4; in rdt_get_cache_alloc_cfg()
|
D | rdtgroup.c | 954 for (i = r->cache.cbm_len - 1; i >= 0; i--) { in rdt_bit_usage_show() 1136 if (bitmap_intersects(&cbm, &ctrl_b, r->cache.cbm_len)) in __rdtgroup_cbm_overlaps() 1146 if (bitmap_intersects(&cbm, &ctrl_b, r->cache.cbm_len)) { in __rdtgroup_cbm_overlaps() 1333 num_b = bitmap_weight(&cbm, r->cache.cbm_len); in rdtgroup_cbm_to_size() 1337 size = ci->info_list[i].size / r->cache.cbm_len * num_b; in rdtgroup_cbm_to_size() 2718 unsigned int cbm_len = r->cache.cbm_len; in cbm_ensure_valid() local 2725 first_bit = find_first_bit(&val, cbm_len); in cbm_ensure_valid() 2726 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid() 2729 bitmap_clear(&val, zero_bit, cbm_len - zero_bit); in cbm_ensure_valid() 2785 unused_b = used_b ^ (BIT_MASK(r->cache.cbm_len) - 1); in __init_one_rdt_domain() [all …]
|
D | pseudo_lock.c | 801 unsigned int cbm_len; in rdtgroup_cbm_overlaps_pseudo_locked() local 805 cbm_len = d->plr->s->res->cache.cbm_len; in rdtgroup_cbm_overlaps_pseudo_locked() 807 if (bitmap_intersects(&cbm, &cbm_b, cbm_len)) in rdtgroup_cbm_overlaps_pseudo_locked()
|
D | internal.h | 466 unsigned int cbm_len:5; member
|
/linux-6.1.9/include/linux/ |
D | resctrl.h | 101 unsigned int cbm_len; member
|