Home
last modified time | relevance | path

Searched refs:evtchn_pending (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/xen/events/
H A Devents_2l.c65 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()
90 int do_hypercall = 0, evtchn_pending = 0; in evtchn_2l_unmask() local
108 evtchn_pending = sync_test_bit(port, BM(&s->evtchn_pending[0])); in evtchn_2l_unmask()
110 if (unlikely(evtchn_pending && xen_hvm_domain())) { in evtchn_2l_unmask()
130 if (evtchn_pending && in evtchn_2l_unmask()
151 return sh->evtchn_pending[idx] & in active_evtchns()
292 for (i = ARRAY_SIZE(sh->evtchn_pending)-1; i >= 0; i--) in xen_debug_interrupt()
294 (int)sizeof(sh->evtchn_pending[0])*2, in xen_debug_interrupt()
[all …]
/openbmc/linux/tools/testing/selftests/kvm/x86_64/
H A Dxen_shinfo_test.c144 unsigned long evtchn_pending[64]; member
236 while (!si->evtchn_pending[0]) in guest_code()
710 shinfo->evtchn_pending[0] = 0; in main()
720 shinfo->evtchn_pending[1] = 0; in main()
736 shinfo->evtchn_pending[0] = 0; in main()
753 shinfo->evtchn_pending[1] = 0; in main()
764 shinfo->evtchn_pending[0] = 0; in main()
777 shinfo->evtchn_pending[0] = 0; in main()
788 shinfo->evtchn_pending[1] = 0; in main()
811 shinfo->evtchn_pending[0] = 0; in main()
[all …]
/openbmc/qemu/hw/i386/kvm/
H A Dxen_evtchn.c99 uint32_t evtchn_pending[32]; member
685 const int bits_per_word = BITS_PER_BYTE * sizeof(shinfo->evtchn_pending[0]); in do_unmask_port_lm()
686 typeof(shinfo->evtchn_pending[0]) mask; in do_unmask_port_lm()
716 if (!(qatomic_fetch_or(&shinfo->evtchn_pending[idx], 0) & mask)) { in do_unmask_port_lm()
743 const int bits_per_word = BITS_PER_BYTE * sizeof(shinfo->evtchn_pending[0]); in do_unmask_port_compat()
744 typeof(shinfo->evtchn_pending[0]) mask; in do_unmask_port_compat()
774 if (!(qatomic_fetch_or(&shinfo->evtchn_pending[idx], 0) & mask)) { in do_unmask_port_compat()
825 const int bits_per_word = BITS_PER_BYTE * sizeof(shinfo->evtchn_pending[0]); in do_set_port_lm()
826 typeof(shinfo->evtchn_pending[0]) mask; in do_set_port_lm()
837 if (qatomic_fetch_or(&shinfo->evtchn_pending[idx], mask) & mask) { in do_set_port_lm()
[all …]
/openbmc/linux/arch/x86/kvm/
H A Dxen.h220 uint32_t evtchn_pending[32]; member
228 evtchn_pending))
H A Dxen.c1185 pending_bits = (unsigned long *)&shinfo->evtchn_pending; in wait_pending_event()
1188 pending_bits = (unsigned long *)&shinfo->evtchn_pending; in wait_pending_event()
1588 pending_bits = (unsigned long *)&shinfo->evtchn_pending; in kvm_xen_set_evtchn_fast()
1593 pending_bits = (unsigned long *)&shinfo->evtchn_pending; in kvm_xen_set_evtchn_fast()
/openbmc/linux/include/xen/interface/
H A Dxen.h576 xen_ulong_t evtchn_pending[sizeof(xen_ulong_t) * 8]; member
/openbmc/qemu/include/hw/xen/interface/
H A Dxen.h761 xen_ulong_t evtchn_pending[sizeof(xen_ulong_t) * 8]; member