Home
last modified time | relevance | path

Searched refs:evtchn_port_t (Results 1 – 18 of 18) sorted by relevance

/linux-6.6.21/drivers/xen/events/
Devents_internal.h16 int (*setup)(evtchn_port_t port);
17 void (*remove)(evtchn_port_t port, unsigned int cpu);
18 void (*bind_to_cpu)(evtchn_port_t evtchn, unsigned int cpu,
21 void (*clear_pending)(evtchn_port_t port);
22 void (*set_pending)(evtchn_port_t port);
23 bool (*is_pending)(evtchn_port_t port);
24 void (*mask)(evtchn_port_t port);
25 void (*unmask)(evtchn_port_t port);
36 void handle_irq_for_port(evtchn_port_t port, struct evtchn_loop_ctrl *ctrl);
38 unsigned int cpu_from_evtchn(evtchn_port_t evtchn);
[all …]
Devents_base.c111 evtchn_port_t evtchn; /* event channel */
168 static DEFINE_PER_CPU(evtchn_port_t [XEN_NR_IPIS], ipi_to_evtchn) = {[0 ... XEN_NR_IPIS-1] = 0};
216 static int set_evtchn_to_irq(evtchn_port_t evtchn, unsigned int irq) in set_evtchn_to_irq()
268 static struct irq_info *evtchn_to_info(evtchn_port_t evtchn) in evtchn_to_info()
331 evtchn_port_t evtchn, in xen_irq_info_common_setup()
354 evtchn_port_t evtchn, in xen_irq_info_evtchn_setup()
368 evtchn_port_t evtchn, enum ipi_vector ipi) in xen_irq_info_ipi_setup()
379 evtchn_port_t evtchn, unsigned int virq) in xen_irq_info_virq_setup()
388 static int xen_irq_info_pirq_setup(struct irq_info *info, evtchn_port_t evtchn, in xen_irq_info_pirq_setup()
411 static evtchn_port_t evtchn_from_irq(unsigned int irq) in evtchn_from_irq()
[all …]
Devents_fifo.c85 static inline event_word_t *event_word_from_port(evtchn_port_t port) in event_word_from_port()
141 static int evtchn_fifo_setup(evtchn_port_t port) in evtchn_fifo_setup()
188 static void evtchn_fifo_bind_to_cpu(evtchn_port_t evtchn, unsigned int cpu, in evtchn_fifo_bind_to_cpu()
194 static void evtchn_fifo_clear_pending(evtchn_port_t port) in evtchn_fifo_clear_pending()
200 static void evtchn_fifo_set_pending(evtchn_port_t port) in evtchn_fifo_set_pending()
206 static bool evtchn_fifo_is_pending(evtchn_port_t port) in evtchn_fifo_is_pending()
212 static void evtchn_fifo_mask(evtchn_port_t port) in evtchn_fifo_mask()
218 static bool evtchn_fifo_is_masked(evtchn_port_t port) in evtchn_fifo_is_masked()
248 static void evtchn_fifo_unmask(evtchn_port_t port) in evtchn_fifo_unmask()
281 evtchn_port_t port; in consume_one_event()
Devents_2l.c50 static void evtchn_2l_remove(evtchn_port_t evtchn, unsigned int cpu) in evtchn_2l_remove()
55 static void evtchn_2l_bind_to_cpu(evtchn_port_t evtchn, unsigned int cpu, in evtchn_2l_bind_to_cpu()
62 static void evtchn_2l_clear_pending(evtchn_port_t port) in evtchn_2l_clear_pending()
68 static void evtchn_2l_set_pending(evtchn_port_t port) in evtchn_2l_set_pending()
74 static bool evtchn_2l_is_pending(evtchn_port_t port) in evtchn_2l_is_pending()
80 static void evtchn_2l_mask(evtchn_port_t port) in evtchn_2l_mask()
86 static void evtchn_2l_unmask(evtchn_port_t port) in evtchn_2l_unmask()
174 evtchn_port_t evtchn; in evtchn_2l_handle_events()
233 evtchn_port_t port; in evtchn_2l_handle_events()
/linux-6.6.21/include/xen/interface/
Devent_channel.h15 typedef uint32_t evtchn_port_t; typedef
16 DEFINE_GUEST_HANDLE(evtchn_port_t);
31 evtchn_port_t port;
47 evtchn_port_t remote_port;
49 evtchn_port_t local_port;
66 evtchn_port_t port;
82 evtchn_port_t port;
95 evtchn_port_t port;
106 evtchn_port_t port;
116 evtchn_port_t port;
[all …]
Dsched.h122 GUEST_HANDLE(evtchn_port_t) ports;
/linux-6.6.21/include/xen/
Devents.h19 int bind_evtchn_to_irq(evtchn_port_t evtchn);
20 int bind_evtchn_to_irq_lateeoi(evtchn_port_t evtchn);
21 int bind_evtchn_to_irqhandler(evtchn_port_t evtchn,
25 int bind_evtchn_to_irqhandler_lateeoi(evtchn_port_t evtchn,
41 evtchn_port_t remote_port);
43 evtchn_port_t remote_port,
72 int evtchn_make_refcounted(evtchn_port_t evtchn, bool is_static);
73 int evtchn_get(evtchn_port_t evtchn);
74 void evtchn_put(evtchn_port_t evtchn);
77 void rebind_evtchn_irq(evtchn_port_t evtchn, int irq);
[all …]
Dxenbus.h233 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port);
234 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port);
/linux-6.6.21/drivers/xen/
Devtchn.c68 evtchn_port_t *ring;
86 evtchn_port_t port;
90 static void evtchn_free_ring(evtchn_port_t *ring) in evtchn_free_ring()
101 static evtchn_port_t *evtchn_ring_entry(struct per_user_data *u, in evtchn_ring_entry()
142 evtchn_port_t port) in find_evtchn()
203 count &= ~(sizeof(evtchn_port_t)-1); in evtchn_read()
237 sizeof(evtchn_port_t); in evtchn_read()
238 bytes2 = evtchn_ring_offset(u, p) * sizeof(evtchn_port_t); in evtchn_read()
240 bytes1 = (p - c) * sizeof(evtchn_port_t); in evtchn_read()
259 WRITE_ONCE(u->ring_cons, c + (bytes1 + bytes2) / sizeof(evtchn_port_t)); in evtchn_read()
[all …]
Dgntdev-common.h43 evtchn_port_t event;
Dpvcalls-front.c381 static int create_active(struct sock_mapping *map, evtchn_port_t *evtchn) in create_active()
429 evtchn_port_t evtchn; in pvcalls_front_connect()
779 evtchn_port_t evtchn; in pvcalls_front_accept()
1138 evtchn_port_t evtchn; in pvcalls_front_probe()
Dpvcalls-back.c320 evtchn_port_t evtchn, in pvcalls_new_active_socket()
929 evtchn_port_t evtchn; in backend_connect()
Dxen-scsiback.c845 evtchn_port_t evtchn) in scsiback_init_sring()
887 evtchn_port_t evtchn; in scsiback_map()
Dgntdev.c728 evtchn_port_t out_event; in gntdev_ioctl_notify()
/linux-6.6.21/drivers/xen/xen-pciback/
Dxenbus.c108 evtchn_port_t remote_evtchn) in xen_pcibk_do_attach()
146 evtchn_port_t remote_evtchn; in xen_pcibk_attach()
/linux-6.6.21/drivers/xen/xenbus/
Dxenbus_client.c462 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port) in xenbus_alloc_evtchn()
485 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port) in xenbus_free_evtchn()
/linux-6.6.21/drivers/pci/
Dxen-pcifront.c116 evtchn_port_t port = pdev->evtchn; in do_pci_op()
/linux-6.6.21/arch/x86/kvm/
Dxen.c1168 evtchn_port_t *ports) in wait_pending_event()
1209 evtchn_port_t port, *ports; in kvm_xen_schedop_poll()