Lines Matching refs:evtchn_port_t
77 #define EVTCHN_RING_SIZE (PAGE_SIZE / sizeof(evtchn_port_t))
79 evtchn_port_t *ring;
89 evtchn_port_t port;
125 find_evtchn(struct per_user_data *u, evtchn_port_t port) in find_evtchn()
248 count &= ~(sizeof(evtchn_port_t)-1); in evtchn_read()
281 sizeof(evtchn_port_t); in evtchn_read()
282 bytes2 = EVTCHN_RING_MASK(p) * sizeof(evtchn_port_t); in evtchn_read()
284 bytes1 = (p - c) * sizeof(evtchn_port_t); in evtchn_read()
303 u->ring_cons += (bytes1 + bytes2) / sizeof(evtchn_port_t); in evtchn_read()
315 evtchn_port_t *kbuf; in evtchn_write()
326 count &= ~(sizeof(evtchn_port_t)-1); in evtchn_write()
341 for (i = 0; i < (count/sizeof(evtchn_port_t)); i++) { in evtchn_write()
342 evtchn_port_t port = kbuf[i]; in evtchn_write()