Lines Matching refs:evtchn_port_t
60 #define EVTCHN_RING_SIZE (PAGE_SIZE / sizeof(evtchn_port_t))
62 evtchn_port_t *ring;
142 count &= ~(sizeof(evtchn_port_t)-1); in evtchn_read()
176 sizeof(evtchn_port_t); in evtchn_read()
177 bytes2 = EVTCHN_RING_MASK(p) * sizeof(evtchn_port_t); in evtchn_read()
179 bytes1 = (p - c) * sizeof(evtchn_port_t); in evtchn_read()
198 u->ring_cons += (bytes1 + bytes2) / sizeof(evtchn_port_t); in evtchn_read()
210 evtchn_port_t *kbuf = (evtchn_port_t *)__get_free_page(GFP_KERNEL); in evtchn_write()
217 count &= ~(sizeof(evtchn_port_t)-1); in evtchn_write()
232 for (i = 0; i < (count/sizeof(evtchn_port_t)); i++) { in evtchn_write()
461 u->ring = (evtchn_port_t *)__get_free_page(GFP_KERNEL); in evtchn_open()