Home
last modified time | relevance | path

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

/linux-6.3-rc2/arch/x86/kernel/cpu/resctrl/
A Dctrlmondata.c99 unsigned int cbm_len = r->cache.cbm_len; in cbm_validate() local
113 first_bit = find_first_bit(&val, cbm_len); in cbm_validate()
114 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate()
118 (find_next_bit(&val, cbm_len, zero_bit) < cbm_len)) { in cbm_validate()
A Dcore.c152 r->cache.cbm_len = 20; in cache_alloc_hsw_probe()
275 r->cache.cbm_len = eax.split.cbm_len + 1; in rdt_get_cache_alloc_cfg()
276 r->default_ctrl = BIT_MASK(eax.split.cbm_len + 1) - 1; in rdt_get_cache_alloc_cfg()
278 r->data_width = (r->cache.cbm_len + 3) / 4; in rdt_get_cache_alloc_cfg()
A Drdtgroup.c949 for (i = r->cache.cbm_len - 1; i >= 0; i--) { in rdt_bit_usage_show()
1134 if (bitmap_intersects(&cbm, &ctrl_b, r->cache.cbm_len)) in __rdtgroup_cbm_overlaps()
1144 if (bitmap_intersects(&cbm, &ctrl_b, r->cache.cbm_len)) { in __rdtgroup_cbm_overlaps()
1331 num_b = bitmap_weight(&cbm, r->cache.cbm_len); in rdtgroup_cbm_to_size()
1335 size = ci->info_list[i].size / r->cache.cbm_len * num_b; in rdtgroup_cbm_to_size()
2974 unsigned int cbm_len = r->cache.cbm_len; in cbm_ensure_valid() local
2981 first_bit = find_first_bit(&val, cbm_len); in cbm_ensure_valid()
2982 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid()
2985 bitmap_clear(&val, zero_bit, cbm_len - zero_bit); in cbm_ensure_valid()
3041 unused_b = used_b ^ (BIT_MASK(r->cache.cbm_len) - 1); in __init_one_rdt_domain()
[all …]
A Dpseudo_lock.c801 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()
A Dinternal.h482 unsigned int cbm_len:5; member
/linux-6.3-rc2/include/linux/
A Dresctrl.h102 unsigned int cbm_len; member

Completed in 23 milliseconds