Lines Matching refs:evtchn
371 static int create_active(struct sock_mapping *map, evtchn_port_t *evtchn) in create_active() argument
376 *evtchn = 0; in create_active()
389 ret = xenbus_alloc_evtchn(pvcalls_front_dev, evtchn); in create_active()
392 irq = bind_evtchn_to_irqhandler(*evtchn, pvcalls_front_conn_handler, in create_active()
407 if (*evtchn > 0) in create_active()
408 xenbus_free_evtchn(pvcalls_front_dev, *evtchn); in create_active()
419 evtchn_port_t evtchn; in pvcalls_front_connect() local
443 ret = create_active(map, &evtchn); in pvcalls_front_connect()
458 req->u.connect.evtchn = evtchn; in pvcalls_front_connect()
770 evtchn_port_t evtchn; in pvcalls_front_accept() local
834 ret = create_active(map2, &evtchn); in pvcalls_front_accept()
852 req->u.accept.evtchn = evtchn; in pvcalls_front_accept()
1131 evtchn_port_t evtchn; in pvcalls_front_probe() local
1187 ret = xenbus_alloc_evtchn(dev, &evtchn); in pvcalls_front_probe()
1191 bedata->irq = bind_evtchn_to_irqhandler(evtchn, in pvcalls_front_probe()
1222 evtchn); in pvcalls_front_probe()