Lines Matching refs:word_idx
171 int word_idx, bit_idx; in evtchn_2l_handle_events() local
180 word_idx = evtchn / BITS_PER_LONG; in evtchn_2l_handle_events()
182 if (active_evtchns(cpu, s, word_idx) & (1ULL << bit_idx)) in evtchn_2l_handle_events()
196 word_idx = start_word_idx; in evtchn_2l_handle_events()
201 words = MASK_LSBS(pending_words, word_idx); in evtchn_2l_handle_events()
207 word_idx = 0; in evtchn_2l_handle_events()
211 word_idx = EVTCHN_FIRST_BIT(words); in evtchn_2l_handle_events()
213 pending_bits = active_evtchns(cpu, s, word_idx); in evtchn_2l_handle_events()
227 if (word_idx == start_word_idx) { in evtchn_2l_handle_events()
245 port = (word_idx * BITS_PER_EVTCHN_WORD) + bit_idx; in evtchn_2l_handle_events()
252 bit_idx ? word_idx : in evtchn_2l_handle_events()
253 (word_idx+1) % BITS_PER_EVTCHN_WORD); in evtchn_2l_handle_events()
258 if ((word_idx != start_word_idx) || (i != 0)) in evtchn_2l_handle_events()
259 pending_words &= ~(1UL << word_idx); in evtchn_2l_handle_events()
261 word_idx = (word_idx + 1) % BITS_PER_EVTCHN_WORD; in evtchn_2l_handle_events()
331 int word_idx = i / BITS_PER_EVTCHN_WORD; in xen_debug_interrupt() local
335 sync_test_bit(word_idx, BM(&v->evtchn_pending_sel)) in xen_debug_interrupt()