Lines Matching defs:map2
767 struct sock_mapping *map2 = NULL;
792 map2 = map->passive.accept_map;
807 map2 = kzalloc(sizeof(*map2), GFP_KERNEL);
808 if (map2 == NULL) {
814 ret = alloc_active_ring(map2);
818 kfree(map2);
828 free_active_ring(map2);
829 kfree(map2);
834 ret = create_active(map2, &evtchn);
836 free_active_ring(map2);
837 kfree(map2);
844 list_add_tail(&map2->list, &bedata->socket_mappings);
850 req->u.accept.ref = map2->active.ref;
851 req->u.accept.id_new = (uintptr_t) map2;
853 map->passive.accept_map = map2;
876 map2->sock = newsock;
883 pvcalls_front_free_map(bedata, map2);
887 newsock->sk->sk_send_head = (void *)map2;