Lines Matching refs:evtchn
338 static int create_active(struct sock_mapping *map, int *evtchn) in create_active() argument
343 *evtchn = -1; in create_active()
368 ret = xenbus_alloc_evtchn(pvcalls_front_dev, evtchn); in create_active()
371 irq = bind_evtchn_to_irqhandler(*evtchn, pvcalls_front_conn_handler, in create_active()
386 if (*evtchn >= 0) in create_active()
387 xenbus_free_evtchn(pvcalls_front_dev, *evtchn); in create_active()
399 int notify, req_id, ret, evtchn; in pvcalls_front_connect() local
417 ret = create_active(map, &evtchn); in pvcalls_front_connect()
431 req->u.connect.evtchn = evtchn; in pvcalls_front_connect()
746 int notify, req_id, ret, evtchn, nonblock; in pvcalls_front_accept() local
800 ret = create_active(map2, &evtchn); in pvcalls_front_accept()
817 req->u.accept.evtchn = evtchn; in pvcalls_front_accept()
1095 int ret = -ENOMEM, evtchn, i; in pvcalls_front_probe() local
1151 ret = xenbus_alloc_evtchn(dev, &evtchn); in pvcalls_front_probe()
1155 bedata->irq = bind_evtchn_to_irqhandler(evtchn, in pvcalls_front_probe()
1186 evtchn); in pvcalls_front_probe()