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