Lines Matching refs:BM
37 #define BM(x) (unsigned long *)(x) macro
39 #define EVTCHN_FIRST_BIT(w) find_first_bit(BM(&(w)), BITS_PER_EVTCHN_WORD)
52 clear_bit(evtchn, BM(per_cpu(cpu_evtchn_mask, cpu))); in evtchn_2l_remove()
58 clear_bit(evtchn, BM(per_cpu(cpu_evtchn_mask, old_cpu))); in evtchn_2l_bind_to_cpu()
59 set_bit(evtchn, BM(per_cpu(cpu_evtchn_mask, cpu))); in evtchn_2l_bind_to_cpu()
65 sync_clear_bit(port, BM(&s->evtchn_pending[0])); in evtchn_2l_clear_pending()
71 sync_set_bit(port, BM(&s->evtchn_pending[0])); in evtchn_2l_set_pending()
77 return sync_test_bit(port, BM(&s->evtchn_pending[0])); in evtchn_2l_is_pending()
83 sync_set_bit(port, BM(&s->evtchn_mask[0])); in evtchn_2l_mask()
107 sync_clear_bit(port, BM(&s->evtchn_mask[0])); in evtchn_2l_unmask()
108 evtchn_pending = sync_test_bit(port, BM(&s->evtchn_pending[0])); in evtchn_2l_unmask()
111 sync_set_bit(port, BM(&s->evtchn_mask[0])); in evtchn_2l_unmask()
132 BM(&vcpu_info->evtchn_pending_sel))) in evtchn_2l_unmask()
329 if (sync_test_bit(i, BM(sh->evtchn_pending))) { in xen_debug_interrupt()
334 sync_test_bit(word_idx, BM(&v->evtchn_pending_sel)) in xen_debug_interrupt()
336 !sync_test_bit(i, BM(sh->evtchn_mask)) in xen_debug_interrupt()
338 sync_test_bit(i, BM(cpu_evtchn)) in xen_debug_interrupt()