• Home
  • Raw
  • Download

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()
947 struct sock *pending; in vmci_transport_recv_listen() local
961 pending = vmci_transport_get_pending(sk, pkt); in vmci_transport_recv_listen()
962 if (pending) { in vmci_transport_recv_listen()
963 lock_sock(pending); in vmci_transport_recv_listen()
966 vsock_sk(pending)->local_addr.svm_cid = pkt->dg.dst.context; in vmci_transport_recv_listen()
968 switch (pending->sk_state) { in vmci_transport_recv_listen()
971 pending, in vmci_transport_recv_listen()
975 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_listen()
980 vsock_remove_pending(sk, pending); in vmci_transport_recv_listen()
982 release_sock(pending); in vmci_transport_recv_listen()
983 vmci_transport_release_pending(pending); in vmci_transport_recv_listen()
1012 pending = vsock_create_connected(sk); in vmci_transport_recv_listen()
1013 if (!pending) { in vmci_transport_recv_listen()
1018 vpending = vsock_sk(pending); in vmci_transport_recv_listen()
1031 sock_put(pending); in vmci_transport_recv_listen()
1062 pending, &version, true)) in vmci_transport_recv_listen()
1063 err = vmci_transport_send_negotiate(pending, qp_size); in vmci_transport_recv_listen()
1086 pending, &active_proto_version, false)) in vmci_transport_recv_listen()
1087 err = vmci_transport_send_negotiate2(pending, in vmci_transport_recv_listen()
1100 sock_put(pending); in vmci_transport_recv_listen()
1105 vsock_add_pending(sk, pending); in vmci_transport_recv_listen()
1108 pending->sk_state = TCP_SYN_SENT; in vmci_transport_recv_listen()
1113 vmci_trans(vpending)->notify_ops->process_request(pending); in vmci_transport_recv_listen()
1126 sock_hold(pending); in vmci_transport_recv_listen()
1135 struct sock *pending, in vmci_transport_recv_connecting_server() argument
1147 vpending = vsock_sk(pending); in vmci_transport_recv_connecting_server()
1153 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1161 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1182 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1212 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1236 pending->sk_state = TCP_ESTABLISHED; in vmci_transport_recv_connecting_server()
1241 err = vmci_transport_send_attach(pending, handle); in vmci_transport_recv_connecting_server()
1245 vmci_transport_send_reset(pending, pkt); in vmci_transport_recv_connecting_server()
1255 vsock_remove_pending(listener, pending); in vmci_transport_recv_connecting_server()
1256 vsock_enqueue_accept(listener, pending); in vmci_transport_recv_connecting_server()
1266 pending->sk_err = skerr; in vmci_transport_recv_connecting_server()
1267 pending->sk_state = TCP_CLOSE; in vmci_transport_recv_connecting_server()
1275 sock_put(pending); in vmci_transport_recv_connecting_server()
1625 LIST_HEAD(pending); in vmci_transport_cleanup()
1628 list_replace_init(&vmci_transport_cleanup_list, &pending); in vmci_transport_cleanup()
1630 vmci_transport_free_resources(&pending); in vmci_transport_cleanup()