Lines Matching refs:evtchn
373 static int create_active(struct sock_mapping *map, evtchn_port_t *evtchn) in create_active() argument
378 *evtchn = 0; in create_active()
391 ret = xenbus_alloc_evtchn(pvcalls_front_dev, evtchn); in create_active()
394 irq = bind_evtchn_to_irqhandler(*evtchn, pvcalls_front_conn_handler, in create_active()
409 if (*evtchn > 0) in create_active()
410 xenbus_free_evtchn(pvcalls_front_dev, *evtchn); in create_active()
421 evtchn_port_t evtchn; in pvcalls_front_connect() local
445 ret = create_active(map, &evtchn); in pvcalls_front_connect()
460 req->u.connect.evtchn = evtchn; in pvcalls_front_connect()
772 evtchn_port_t evtchn; in pvcalls_front_accept() local
836 ret = create_active(map2, &evtchn); in pvcalls_front_accept()
854 req->u.accept.evtchn = evtchn; in pvcalls_front_accept()
1133 evtchn_port_t evtchn; in pvcalls_front_probe() local
1189 ret = xenbus_alloc_evtchn(dev, &evtchn); in pvcalls_front_probe()
1193 bedata->irq = bind_evtchn_to_irqhandler(evtchn, in pvcalls_front_probe()
1224 evtchn); in pvcalls_front_probe()