Home
last modified time | relevance | path

Searched refs:first_bit (Results 1 – 3 of 3) sorted by relevance

/arch/x86/kernel/cpu/resctrl/
Dctrlmondata.c91 unsigned long first_bit, zero_bit, val; in cbm_validate() local
107 first_bit = find_first_bit(&val, cbm_len); in cbm_validate()
108 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_validate()
117 if ((zero_bit - first_bit) < r->cache.min_cbm_bits) { in cbm_validate()
Dpseudo_lock.c116 unsigned long first_bit; in pseudo_lock_minor_get() local
118 first_bit = find_first_bit(&pseudo_lock_minor_avail, MINORBITS); in pseudo_lock_minor_get()
120 if (first_bit == MINORBITS) in pseudo_lock_minor_get()
123 __clear_bit(first_bit, &pseudo_lock_minor_avail); in pseudo_lock_minor_get()
124 *minor = first_bit; in pseudo_lock_minor_get()
Drdtgroup.c2703 unsigned long first_bit, zero_bit; in cbm_ensure_valid() local
2709 first_bit = find_first_bit(&val, cbm_len); in cbm_ensure_valid()
2710 zero_bit = find_next_zero_bit(&val, cbm_len, first_bit); in cbm_ensure_valid()