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