Lines Matching refs:cbm_len
963 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()
2711 unused_b &= BIT_MASK(r->cache.cbm_len) - 1; in __init_one_rdt_domain()
2723 if (bitmap_weight(&tmp_cbm, r->cache.cbm_len) < r->cache.min_cbm_bits) { in __init_one_rdt_domain()