Lines Matching refs:map2
776 struct sock_mapping *map2 = NULL; in pvcalls_front_accept() local
801 map2 = map->passive.accept_map; in pvcalls_front_accept()
816 map2 = kzalloc(sizeof(*map2), GFP_KERNEL); in pvcalls_front_accept()
817 if (map2 == NULL) { in pvcalls_front_accept()
823 ret = alloc_active_ring(map2); in pvcalls_front_accept()
827 kfree(map2); in pvcalls_front_accept()
831 ret = create_active(map2, &evtchn); in pvcalls_front_accept()
833 free_active_ring(map2); in pvcalls_front_accept()
834 kfree(map2); in pvcalls_front_accept()
847 pvcalls_front_free_map(bedata, map2); in pvcalls_front_accept()
852 list_add_tail(&map2->list, &bedata->socket_mappings); in pvcalls_front_accept()
858 req->u.accept.ref = map2->active.ref; in pvcalls_front_accept()
859 req->u.accept.id_new = (uintptr_t) map2; in pvcalls_front_accept()
861 map->passive.accept_map = map2; in pvcalls_front_accept()
884 map2->sock = newsock; in pvcalls_front_accept()
891 pvcalls_front_free_map(bedata, map2); in pvcalls_front_accept()
895 newsock->sk->sk_send_head = (void *)map2; in pvcalls_front_accept()