Lines Matching refs:bit_idx
1111 int word_idx, bit_idx; in __xen_evtchn_do_upcall() local
1148 bit_idx = 0; in __xen_evtchn_do_upcall()
1154 bit_idx = 0; /* usually scan entire word from start */ in __xen_evtchn_do_upcall()
1159 bit_idx = start_bit_idx; in __xen_evtchn_do_upcall()
1162 bit_idx &= (1UL << start_bit_idx) - 1; in __xen_evtchn_do_upcall()
1170 bits = MASK_LSBS(pending_bits, bit_idx); in __xen_evtchn_do_upcall()
1176 bit_idx = __ffs(bits); in __xen_evtchn_do_upcall()
1179 port = (word_idx * BITS_PER_LONG) + bit_idx; in __xen_evtchn_do_upcall()
1191 bit_idx = (bit_idx + 1) % BITS_PER_LONG; in __xen_evtchn_do_upcall()
1195 bit_idx ? word_idx : in __xen_evtchn_do_upcall()
1197 __this_cpu_write(current_bit_idx, bit_idx); in __xen_evtchn_do_upcall()
1198 } while (bit_idx != 0); in __xen_evtchn_do_upcall()