Home
last modified time | relevance | path

Searched refs:evtchn_port_t (Results 1 - 25 of 35) sorted by relevance

12

/kernel/linux/linux-5.10/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 int get_evtchn_to_irq(evtchn_port_t evtchn);
37 void handle_irq_for_port(evtchn_port_t por
[all...]
H A Devents_base.c108 evtchn_port_t evtchn; /* event channel */
206 static int set_evtchn_to_irq(evtchn_port_t evtchn, unsigned int irq) in set_evtchn_to_irq()
241 int get_evtchn_to_irq(evtchn_port_t evtchn) in get_evtchn_to_irq()
287 evtchn_port_t evtchn, in xen_irq_info_common_setup()
311 evtchn_port_t evtchn) in xen_irq_info_evtchn_setup()
320 evtchn_port_t evtchn, in xen_irq_info_ipi_setup()
334 evtchn_port_t evtchn, in xen_irq_info_virq_setup()
347 evtchn_port_t evtchn, in xen_irq_info_pirq_setup()
373 evtchn_port_t evtchn_from_irq(unsigned irq) in evtchn_from_irq()
385 unsigned int irq_from_evtchn(evtchn_port_t evtch
[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()
248 static void evtchn_fifo_unmask(evtchn_port_t port) in evtchn_fifo_unmask()
281 evtchn_port_t por in consume_one_event()
[all...]
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()
178 evtchn_port_t evtchn = evtchn_from_irq(irq); in evtchn_2l_handle_events()
233 evtchn_port_t port; in evtchn_2l_handle_events()
/kernel/linux/linux-6.6/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 evtch
[all...]
H A 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_ir
[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()
248 static void evtchn_fifo_unmask(evtchn_port_t port) in evtchn_fifo_unmask()
281 evtchn_port_t por in consume_one_event()
[all...]
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()
/kernel/linux/linux-5.10/include/xen/interface/
H A Devent_channel.h15 typedef uint32_t evtchn_port_t; typedef
16 DEFINE_GUEST_HANDLE(evtchn_port_t); variable
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 por
[all...]
H A Dsched.h139 GUEST_HANDLE(evtchn_port_t) ports;
/kernel/linux/linux-6.6/include/xen/interface/
H A Devent_channel.h15 typedef uint32_t evtchn_port_t; typedef
16 DEFINE_GUEST_HANDLE(evtchn_port_t); variable
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 por
[all...]
H A Dsched.h122 GUEST_HANDLE(evtchn_port_t) ports;
/kernel/linux/linux-6.6/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 evtch
[all...]
H A 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);
/kernel/linux/linux-5.10/include/xen/
H A Devents.h17 int bind_evtchn_to_irq(evtchn_port_t evtchn);
18 int bind_evtchn_to_irq_lateeoi(evtchn_port_t evtchn);
19 int bind_evtchn_to_irqhandler(evtchn_port_t evtchn,
23 int bind_evtchn_to_irqhandler_lateeoi(evtchn_port_t evtchn,
39 evtchn_port_t remote_port);
41 evtchn_port_t remote_port,
70 int evtchn_make_refcounted(evtchn_port_t evtchn);
71 int evtchn_get(evtchn_port_t evtchn);
72 void evtchn_put(evtchn_port_t evtchn);
75 void rebind_evtchn_irq(evtchn_port_t evtch
[all...]
H A Dxenbus.h227 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port);
228 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port);
/kernel/linux/linux-5.10/drivers/xen/
H A 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()
198 count &= ~(sizeof(evtchn_port_t)-1); in evtchn_read()
232 sizeof(evtchn_port_t); in evtchn_read()
233 bytes2 = evtchn_ring_offset(u, p) * sizeof(evtchn_port_t); in evtchn_read()
235 bytes1 = (p - c) * sizeof(evtchn_port_t); in evtchn_read()
254 u->ring_cons += (bytes1 + bytes2) / sizeof(evtchn_port_t); in evtchn_read()
[all...]
H A Dgntdev-common.h43 evtchn_port_t event;
H A Dpvcalls-front.c371 static int create_active(struct sock_mapping *map, evtchn_port_t *evtchn) in create_active()
419 evtchn_port_t evtchn; in pvcalls_front_connect()
770 evtchn_port_t evtchn; in pvcalls_front_accept()
1131 evtchn_port_t evtchn; in pvcalls_front_probe()
/kernel/linux/linux-6.6/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.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()
/kernel/linux/linux-5.10/drivers/xen/xenbus/
H A Dxenbus_client.c417 int xenbus_alloc_evtchn(struct xenbus_device *dev, evtchn_port_t *port) in xenbus_alloc_evtchn()
440 int xenbus_free_evtchn(struct xenbus_device *dev, evtchn_port_t port) in xenbus_free_evtchn()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/drivers/xen/xenbus/
H A 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()

Completed in 21 milliseconds

12