Searched refs:evtchn (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/i86xpv/os/
H A Devtchn.c28 * evtchn.c
120 * and the IRQ for /dev/xen/evtchn. The IRQ types are:
143 * This is a one-time IRQ used by /dev/xen/evtchn. Unlike other IRQs, we
144 * have a one-IRQ to many-evtchn mapping. We only track evtchn->irq for
146 * We enforce that IRQT_DEV_EVTCHN's representative evtchn (->ii_evtchn)
148 * accidentally attempting to use the illegal evtchn 0.
251 /* ensure evtchn is masked till we're ready to use it */
261 xen_close_evtchn(int evtchn) argument
266 close.port = evtchn;
288 xen_bind_vcpu(int evtchn, int cpu) argument
315 xen_evtchn_unmask(int evtchn) argument
325 update_evtchn_affinity(int evtchn) argument
349 bind_evtchn_to_cpuset(int evtchn, cpuset_t cpus) argument
359 clear_evtchn_affinity(int evtchn) argument
366 alloc_irq_evtchn(int irq, int index, int evtchn, int cpu) argument
398 alloc_irq(int type, int index, int evtchn, int cpu) argument
429 int evtchn; local
498 int evtchn = irq_evtchn(&irq_info[irq]); local
513 ec_bind_vcpu(int evtchn, int cpu) argument
526 int evtchn; local
610 int evtchn, tcpu; local
678 ec_bind_evtchn_to_irq(int evtchn) argument
694 int evtchn; local
719 int evtchn; local
814 ec_irq_add_evtchn(int irq, int evtchn) argument
833 ec_irq_rm_evtchn(int irq, int evtchn) argument
914 int evtchn = irq_evtchn(&irq_info[irq]); local
923 int evtchn; local
961 int evtchn; local
984 ec_wait_on_evtchn(int evtchn, int (*check_func)(void *), void *arg) argument
1097 int evtchn = virqp->mi_evtchns[0]; local
1115 int evtchn; local
1151 int evtchn; local
1564 int evtchn; local
1582 uint_t evtchn, evi, bit; local
[all...]
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/xpv/
H A Devtchn.c79 ec_bind_evtchn_to_handler(int evtchn, pri_t pri, ec_handler_fcn_t handler, argument
84 if (evtchn < 0 || evtchn >= NR_EVENT_CHANNELS) {
85 cmn_err(CE_WARN, "Binding invalid event channel: %d", evtchn);
91 ASSERT(evtchn_to_handle[evtchn] == NULL);
92 evtchn_to_handle[evtchn] = hdl;
96 hypervisor_unmask_event(evtchn);
100 ec_unbind_evtchn(int evtchn) argument
105 if (evtchn < 0 || evtchn >
[all...]
/illumos-gate/usr/src/cmd/mdb/i86xpv/modules/xpv_psm/
H A Dxpv_psm.c172 return ("evtchn");
182 * set -- see evtchn.h.
202 print_cpu(irq_info_t *irqp, int evtchn) argument
223 if (evtchn >= NR_EVENT_CHANNELS || evtchn == 0) {
229 (cpuset_size * evtchn));
315 char evtchn[8]; local
321 print_cpu(irqp, irqp->ii_u.evtchn);
331 strcpy(evtchn, "T");
333 mdb_snprintf(evtchn, sizeo
[all...]
/illumos-gate/usr/src/cmd/mdb/i86pc/modules/common/
H A Dintr_common.c221 char evtchn[8]; local
251 evtchn[0] = '\0';
253 (void) mdb_snprintf(evtchn, 8, "%-7hd", *evtchnp);
273 i, irqp->airq_vector, evtchn, ipl,
326 char evtchn[8]; local
366 evtchn[0] = '\0';
368 (void) mdb_snprintf(evtchn, 8, "%-7hd", *evtchnp);
391 "%-9s ", cpu_vector, irq, evtchn, ipl,
418 char evtchn[8]; local
431 evtchn[
[all...]
/illumos-gate/usr/src/cmd/mdb/i86xpv/modules/xpv_uppc/
H A Dxpv_uppc.c161 return ("evtchn");
205 pic_interrupt_dump(int i, struct autovec *avhp, int evtchn) argument
215 i, i + PIC_VECTBASE, evtchn, avec_tbl[i].avh_lo_pri,
230 char evtchn[8]; local
252 strcpy(evtchn, "T");
254 mdb_snprintf(evtchn, sizeof (evtchn), "%-7d",
255 irqp->ii_u.evtchn);
259 strcpy(evtchn, "I");
262 strcpy(evtchn, "
[all...]
/illumos-gate/usr/src/uts/i86xpv/evtchn/
H A DMakefile28 # This makefile drives the production of the evtchn
42 MODULE = evtchn
/illumos-gate/usr/src/uts/i86xpv/boot/
H A Dboot_xconsole.c186 send.port = xen_info->console.domU.evtchn;
239 send.port = xen_info->console.domU.evtchn;
/illumos-gate/usr/src/uts/i86xpv/sys/
H A Devtchn_impl.h27 * evtchn.h (renamed to evtchn_impl.h)
73 /* evtchn binding types */
79 #define IRQT_DEV_EVTCHN 5 /* Special evtchn device IRQ */
128 char mi_shared; /* one evtchn for all CPUs? */
136 ushort_t evtchn; /* event channel */ member in union:irq_info::__anon9482
189 * /dev/xen/evtchn handling.
/illumos-gate/usr/src/cmd/mdb/i86xpv/modules/xpv/
H A Dxpv.c63 struct evtchn *evtchn[NR_EVTCHN_BUCKETS]; member in struct:mdb_xpv_domain
231 if (mdb_ctf_offsetof(domain_type, "evtchn", &off)) {
/illumos-gate/usr/src/uts/common/xen/public/
H A Dxen.h560 uint32_t evtchn; /* Event channel for console page. */ member in struct:start_info::__anon9326::__anon9327
583 #define console_evtchn console.domU.evtchn
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxencons.h131 int evtchn; /* console event channel */ member in struct:xencons
H A Dxencons.c292 xcp->evtchn = xvdi_get_evtchn(xcp->dip);
687 ec_notify_via_evtchn(xcp->evtchn);
877 ec_notify_via_evtchn(xcp->evtchn);
1309 ec_notify_via_evtchn(xcp->evtchn);
1359 ec_wait_on_evtchn(xcp->evtchn, (int (*)(void *))xenconsischar, arg);
H A Dblk_common.c689 evtchn_port_t evtchn; local
709 "event-channel", "%u", &evtchn, NULL);
712 "Getting ring-ref and evtchn from frontend");
749 e = xvdi_bind_evtchn(dip, evtchn);
H A Dxdb.c735 evtchn_port_t evtchn; local
756 XBP_EVENT_CHAN, "%u", &evtchn,
760 "Getting ring-ref and evtchn from frontend");
816 err = xvdi_bind_evtchn(dip, evtchn);
H A Devtchn_dev.c29 * evtchn.c
77 #include <xen/sys/evtchn.h>
85 /* Soft state data structure for evtchn driver */
88 /* Notification ring, accessed via /dev/xen/evtchn. */
99 processorid_t cpu; /* cpu thread/evtchn is bound to */
121 * This is quite gross, we had to leave the evtchn that led to this
319 * of the evtchn device. Clients will need to be able to
621 error = ddi_create_minor_node(dip, "evtchn", S_IFCHR, unit,
/illumos-gate/usr/src/uts/common/xen/os/
H A Dxvdi.c170 { XEN_EVTCHN, NULL, NULL, NULL, "evtchn", NULL,
396 * Currently we only support one evtchn per device instance.
399 xvdi_bind_evtchn(dev_info_t *dip, evtchn_port_t evtchn) argument
412 pdp->xd_evtchn = xen_info->console.domU.evtchn;
425 if ((r = xen_bind_interdomain(oeid, evtchn, &pdp->xd_evtchn))) {
441 * Currently we only support one evtchn per device instance.
457 pdp->xd_evtchn = xen_info->console.domU.evtchn;
486 * Currently we only support one evtchn per device instance.

Completed in 99 milliseconds