Home
last modified time | relevance | path

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

/linux/drivers/xen/events/
H A 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 …]
H A 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()
247 static void evtchn_fifo_unmask(evtchn_port_t port) in evtchn_fifo_unmask()
279 evtchn_port_t port; in consume_one_event()
H A 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/include/xen/interface/
H A 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 …]
H A Dsched.h122 GUEST_HANDLE(evtchn_port_t) ports;
/linux/include/xen/
H A 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 …]
H A Dxenbus.h230 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port);
231 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port);
/linux/drivers/xen/
H A Devtchn.c68 evtchn_port_t *ring;
86 evtchn_port_t port;
91 static void evtchn_free_ring(evtchn_port_t *ring) in evtchn_free_ring()
102 static evtchn_port_t *evtchn_ring_entry(struct per_user_data *u, in evtchn_ring_entry()
143 evtchn_port_t port) in find_evtchn()
208 count &= ~(sizeof(evtchn_port_t)-1); in evtchn_read()
242 sizeof(evtchn_port_t); in evtchn_read()
243 bytes2 = evtchn_ring_offset(u, p) * sizeof(evtchn_port_t); in evtchn_read()
245 bytes1 = (p - c) * sizeof(evtchn_port_t); in evtchn_read()
264 WRITE_ONCE(u->ring_cons, c + (bytes1 + bytes2) / sizeof(evtchn_port_t)); in evtchn_read()
[all …]
H A Dgntdev-common.h43 evtchn_port_t event;
H A Dpvcalls-front.c382 static int create_active(struct sock_mapping *map, evtchn_port_t *evtchn) in create_active()
430 evtchn_port_t evtchn; in pvcalls_front_connect()
786 evtchn_port_t evtchn; in pvcalls_front_accept()
1148 evtchn_port_t evtchn; in pvcalls_front_probe()
H A Dpvcalls-back.c320 evtchn_port_t evtchn, in pvcalls_new_active_socket()
933 evtchn_port_t evtchn; in backend_connect()
H A Dxen-scsiback.c845 evtchn_port_t evtchn) in scsiback_init_sring()
887 evtchn_port_t evtchn; in scsiback_map()
H A Dgntdev.c728 evtchn_port_t out_event; in gntdev_ioctl_notify()
/linux/drivers/xen/xen-pciback/
H A Dxenbus.c108 evtchn_port_t remote_evtchn) in xen_pcibk_do_attach()
146 evtchn_port_t remote_evtchn; in xen_pcibk_attach()
/linux/drivers/xen/xenbus/
H A Dxenbus_client.c471 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port) in xenbus_alloc_evtchn()
494 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port) in xenbus_free_evtchn()
/linux/drivers/pci/
H A Dxen-pcifront.c116 evtchn_port_t port = pdev->evtchn; in do_pci_op()