Home
last modified time | relevance | path

Searched refs:vci (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c225 volatile struct vcpu_info *vci; in evtchn_callback_fcn() local
238 vci = &HYPERVISOR_shared_info->vcpu_info[0]; in evtchn_callback_fcn()
241 DTRACE_PROBE2(evtchn__scan__start, int, vci->evtchn_upcall_pending, in evtchn_callback_fcn()
242 ulong_t, vci->evtchn_pending_sel); in evtchn_callback_fcn()
244 atomic_and_8(&vci->evtchn_upcall_pending, 0); in evtchn_callback_fcn()
250 GET_AND_CLEAR(&vci->evtchn_pending_sel, sels); in evtchn_callback_fcn()
284 DTRACE_PROBE2(evtchn__scan__end, int, vci->evtchn_upcall_pending, in evtchn_callback_fcn()
285 ulong_t, vci->evtchn_pending_sel); in evtchn_callback_fcn()
287 if ((volatile uint8_t)vci->evtchn_upcall_pending || in evtchn_callback_fcn()
288 ((volatile ulong_t)vci->evtchn_pending_sel)) in evtchn_callback_fcn()
/illumos-gate/usr/src/uts/i86xpv/os/
H A Devtchn.c1260 volatile vcpu_info_t *vci = cpu->cpu_m.mcpu_vcpu_info; in xen_callback_handler() local
1266 ASSERT(&si->vcpu_info[cpu->cpu_id] == vci); in xen_callback_handler()
1269 vci->evtchn_upcall_pending = 0; in xen_callback_handler()
1280 pending_sels = vci->evtchn_pending_sel; in xen_callback_handler()
1281 } while (atomic_cas_ulong((volatile ulong_t *)&vci->evtchn_pending_sel, in xen_callback_handler()
1470 volatile vcpu_info_t *vci = CPU->cpu_m.mcpu_vcpu_info; in ec_unmask_evtchn() local
1495 ulp = (volatile ulong_t *)&vci->evtchn_pending_sel; in ec_unmask_evtchn()
1499 vci->evtchn_upcall_pending = 1; in ec_unmask_evtchn()
/illumos-gate/usr/src/uts/i86xpv/io/psm/
H A Dxpv_uppc.c825 volatile vcpu_info_t *vci = cpu->cpu_m.mcpu_vcpu_info; in xen_uppc_setspl() local
828 ASSERT(vci->evtchn_upcall_mask != 0); in xen_uppc_setspl()
844 selp = (volatile ulong_t *)&vci->evtchn_pending_sel; in xen_uppc_setspl()
846 vci->evtchn_upcall_pending = 1; in xen_uppc_setspl()
H A Dxpv_psm.c597 volatile vcpu_info_t *vci = cpu->cpu_m.mcpu_vcpu_info; in xen_psm_setspl() local
600 ASSERT(vci->evtchn_upcall_mask != 0); in xen_psm_setspl()
616 selp = (volatile ulong_t *)&vci->evtchn_pending_sel; in xen_psm_setspl()
618 vci->evtchn_upcall_pending = 1; in xen_psm_setspl()