Searched refs:zero_bit (Results 1 – 2 of 2) sorted by relevance
/arch/x86/kernel/cpu/resctrl/ |
D | ctrlmondata.c | 91 unsigned long first_bit, zero_bit, val; in cbm_validate() local 108 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate() 112 (find_next_bit(&val, cbm_len, zero_bit) < cbm_len)) { in cbm_validate() 117 if ((zero_bit - first_bit) < r->cache.min_cbm_bits) { in cbm_validate()
|
D | rdtgroup.c | 2703 unsigned long first_bit, zero_bit; in cbm_ensure_valid() local 2710 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid() 2713 bitmap_clear(&val, zero_bit, cbm_len - zero_bit); in cbm_ensure_valid()
|