Lines Matching refs:word_idx
170 int word_idx, bit_idx; in evtchn_2l_handle_events() local
179 word_idx = evtchn / BITS_PER_LONG; in evtchn_2l_handle_events()
181 if (active_evtchns(cpu, s, word_idx) & (1ULL << bit_idx)) in evtchn_2l_handle_events()
195 word_idx = start_word_idx; in evtchn_2l_handle_events()
200 words = MASK_LSBS(pending_words, word_idx); in evtchn_2l_handle_events()
206 word_idx = 0; in evtchn_2l_handle_events()
210 word_idx = EVTCHN_FIRST_BIT(words); in evtchn_2l_handle_events()
212 pending_bits = active_evtchns(cpu, s, word_idx); in evtchn_2l_handle_events()
226 if (word_idx == start_word_idx) { in evtchn_2l_handle_events()
244 port = (word_idx * BITS_PER_EVTCHN_WORD) + bit_idx; in evtchn_2l_handle_events()
251 bit_idx ? word_idx : in evtchn_2l_handle_events()
252 (word_idx+1) % BITS_PER_EVTCHN_WORD); in evtchn_2l_handle_events()
257 if ((word_idx != start_word_idx) || (i != 0)) in evtchn_2l_handle_events()
258 pending_words &= ~(1UL << word_idx); in evtchn_2l_handle_events()
260 word_idx = (word_idx + 1) % BITS_PER_EVTCHN_WORD; in evtchn_2l_handle_events()
330 int word_idx = i / BITS_PER_EVTCHN_WORD; in xen_debug_interrupt() local
334 sync_test_bit(word_idx, BM(&v->evtchn_pending_sel)) in xen_debug_interrupt()