Lines Matching refs:pending

43 					struct sock *pending,
484 struct sock *pending; in vmci_transport_get_pending() local
495 pending = sk_vsock(vpending); in vmci_transport_get_pending()
496 sock_hold(pending); in vmci_transport_get_pending()
501 pending = NULL; in vmci_transport_get_pending()
503 return pending; in vmci_transport_get_pending()
507 static void vmci_transport_release_pending(struct sock *pending) in vmci_transport_release_pending() argument
509 sock_put(pending); in vmci_transport_release_pending()
943 struct sock *pending; in vmci_transport_recv_listen() local
957 pending = vmci_transport_get_pending(sk, pkt); in vmci_transport_recv_listen()
958 if (pending) { in vmci_transport_recv_listen()
959 lock_sock(pending); in vmci_transport_recv_listen()
962 vsock_sk(pending)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_listen()
964 switch (pending->sk_state) { in vmci_transport_recv_listen()
967 pending, in vmci_transport_recv_listen()
971 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_listen()
976 vsock_remove_pending(sk, pending); in vmci_transport_recv_listen()
978 release_sock(pending); in vmci_transport_recv_listen()
979 vmci_transport_release_pending(pending); in vmci_transport_recv_listen()
1008 pending = vsock_create_connected(sk); in vmci_transport_recv_listen()
1009 if (!pending) { in vmci_transport_recv_listen()
1014 vpending = vsock_sk(pending); in vmci_transport_recv_listen()
1027 sock_put(pending); in vmci_transport_recv_listen()
1058 pending, &version, true)) in vmci_transport_recv_listen()
1059 err = vmci_transport_send_negotiate(pending, qp_size); in vmci_transport_recv_listen()
1082 pending, &active_proto_version, false)) in vmci_transport_recv_listen()
1083 err = vmci_transport_send_negotiate2(pending, in vmci_transport_recv_listen()
1096 sock_put(pending); in vmci_transport_recv_listen()
1101 vsock_add_pending(sk, pending); in vmci_transport_recv_listen()
1104 pending->sk_state = TCP_SYN_SENT; in vmci_transport_recv_listen()
1109 vmci_trans(vpending)->notify_ops->process_request(pending); in vmci_transport_recv_listen()
1122 sock_hold(pending); in vmci_transport_recv_listen()
1131 struct sock *pending, in vmci_transport_recv_connecting_server() argument
1143 vpending = vsock_sk(pending); in vmci_transport_recv_connecting_server()
1149 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1157 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1178 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1208 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1232 pending->sk_state = TCP_ESTABLISHED; in vmci_transport_recv_connecting_server()
1237 err = vmci_transport_send_attach(pending, handle); in vmci_transport_recv_connecting_server()
1241 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1251 vsock_remove_pending(listener, pending); in vmci_transport_recv_connecting_server()
1252 vsock_enqueue_accept(listener, pending); in vmci_transport_recv_connecting_server()
1262 pending->sk_err = skerr; in vmci_transport_recv_connecting_server()
1263 pending->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_server()
1271 sock_put(pending); in vmci_transport_recv_connecting_server()
1621 LIST_HEAD(pending); in vmci_transport_cleanup()
1624 list_replace_init(&vmci_transport_cleanup_list, &pending); in vmci_transport_cleanup()
1626 vmci_transport_free_resources(&pending); in vmci_transport_cleanup()