Lines Matching refs:bit_idx
168 int word_idx, bit_idx; in evtchn_2l_handle_events() local
178 bit_idx = evtchn % BITS_PER_LONG; in evtchn_2l_handle_events()
179 if (active_evtchns(cpu, s, word_idx) & (1ULL << bit_idx)) in evtchn_2l_handle_events()
205 bit_idx = 0; in evtchn_2l_handle_events()
211 bit_idx = 0; /* usually scan entire word from start */ in evtchn_2l_handle_events()
226 bit_idx = start_bit_idx; in evtchn_2l_handle_events()
233 bits = MASK_LSBS(pending_bits, bit_idx); in evtchn_2l_handle_events()
239 bit_idx = EVTCHN_FIRST_BIT(bits); in evtchn_2l_handle_events()
242 port = (word_idx * BITS_PER_EVTCHN_WORD) + bit_idx; in evtchn_2l_handle_events()
248 bit_idx = (bit_idx + 1) % BITS_PER_EVTCHN_WORD; in evtchn_2l_handle_events()
252 bit_idx ? word_idx : in evtchn_2l_handle_events()
254 __this_cpu_write(current_bit_idx, bit_idx); in evtchn_2l_handle_events()
255 } while (bit_idx != 0); in evtchn_2l_handle_events()