Home
last modified time | relevance | path

Searched refs:cbm_len (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c89 unsigned int cbm_len = r->cache.cbm_len; in cbm_validate() local
104 first_bit = find_first_bit(&val, cbm_len); in cbm_validate()
105 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate()
109 (find_next_bit(&val, cbm_len, zero_bit) < cbm_len)) { in cbm_validate()
Dcore.c216 r->cache.cbm_len = 20; in cache_alloc_hsw_probe()
326 r->cache.cbm_len = eax.split.cbm_len + 1; in rdt_get_cache_alloc_cfg()
327 r->default_ctrl = BIT_MASK(eax.split.cbm_len + 1) - 1; in rdt_get_cache_alloc_cfg()
329 r->data_width = (r->cache.cbm_len + 3) / 4; in rdt_get_cache_alloc_cfg()
340 r->cache.cbm_len = r_l->cache.cbm_len; in rdt_get_cdp_config()
343 r->data_width = (r->cache.cbm_len + 3) / 4; in rdt_get_cdp_config()
Drdtgroup.c963 for (i = r->cache.cbm_len - 1; i >= 0; i--) { in rdt_bit_usage_show()
1203 if (bitmap_intersects(&cbm, &ctrl_b, r->cache.cbm_len)) in __rdtgroup_cbm_overlaps()
1214 if (bitmap_intersects(&cbm, &ctrl_b, r->cache.cbm_len)) { in __rdtgroup_cbm_overlaps()
1397 num_b = bitmap_weight(&cbm, r->cache.cbm_len); in rdtgroup_cbm_to_size()
1401 size = ci->info_list[i].size / r->cache.cbm_len * num_b; in rdtgroup_cbm_to_size()
2647 unsigned int cbm_len = r->cache.cbm_len; in cbm_ensure_valid() local
2654 first_bit = find_first_bit(&val, cbm_len); in cbm_ensure_valid()
2655 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid()
2658 bitmap_clear(&val, zero_bit, cbm_len - zero_bit); in cbm_ensure_valid()
2710 unused_b = used_b ^ (BIT_MASK(r->cache.cbm_len) - 1); in __init_one_rdt_domain()
[all …]
Dinternal.h367 unsigned int cbm_len; member
552 unsigned int cbm_len:5; member
Dpseudo_lock.c795 unsigned int cbm_len; in rdtgroup_cbm_overlaps_pseudo_locked() local
799 cbm_len = d->plr->r->cache.cbm_len; in rdtgroup_cbm_overlaps_pseudo_locked()
801 if (bitmap_intersects(&cbm, &cbm_b, cbm_len)) in rdtgroup_cbm_overlaps_pseudo_locked()