Lines Matching refs:vmci_trans
764 vmci_trans(vsk)->notify_ops->handle_notify_pkt( in vmci_transport_recv_stream_cb()
808 if (!vmci_handle_is_invalid(vmci_trans(vsk)->qp_handle)) { in vmci_transport_handle_detach()
1105 vmci_trans(vpending)->produce_size = in vmci_transport_recv_listen()
1106 vmci_trans(vpending)->consume_size = qp_size; in vmci_transport_recv_listen()
1109 vmci_trans(vpending)->notify_ops->process_request(pending); in vmci_transport_recv_listen()
1176 vmci_trans(vpending), &detach_sub_id); in vmci_transport_recv_connecting_server()
1184 vmci_trans(vpending)->detach_sub_id = detach_sub_id; in vmci_transport_recv_connecting_server()
1200 vmci_trans(vpending)->produce_size, in vmci_transport_recv_connecting_server()
1201 vmci_trans(vpending)->consume_size, in vmci_transport_recv_connecting_server()
1213 vmci_trans(vpending)->qp_handle = handle; in vmci_transport_recv_connecting_server()
1214 vmci_trans(vpending)->qpair = qpair; in vmci_transport_recv_connecting_server()
1290 vmci_trans(vsk)->qp_handle)) { in vmci_transport_recv_connecting_client()
1312 || !vmci_handle_is_invalid(vmci_trans(vsk)->qp_handle) in vmci_transport_recv_connecting_client()
1313 || vmci_trans(vsk)->qpair in vmci_transport_recv_connecting_client()
1314 || vmci_trans(vsk)->produce_size != 0 in vmci_transport_recv_connecting_client()
1315 || vmci_trans(vsk)->consume_size != 0 in vmci_transport_recv_connecting_client()
1316 || vmci_trans(vsk)->detach_sub_id != VMCI_INVALID_ID) { in vmci_transport_recv_connecting_client()
1444 vmci_trans(vsk), &detach_sub_id); in vmci_transport_recv_connecting_client_negotiate()
1474 vmci_trans(vsk)->qp_handle = handle; in vmci_transport_recv_connecting_client_negotiate()
1475 vmci_trans(vsk)->qpair = qpair; in vmci_transport_recv_connecting_client_negotiate()
1477 vmci_trans(vsk)->produce_size = vmci_trans(vsk)->consume_size = in vmci_transport_recv_connecting_client_negotiate()
1480 vmci_trans(vsk)->detach_sub_id = detach_sub_id; in vmci_transport_recv_connecting_client_negotiate()
1482 vmci_trans(vsk)->notify_ops->process_negotiate(sk); in vmci_transport_recv_connecting_client_negotiate()
1563 vmci_trans(vsk)->notify_ops->handle_notify_pkt( in vmci_transport_recv_connected()
1582 vmci_trans(vsk)->dg_handle = VMCI_INVALID_HANDLE; in vmci_transport_socket_init()
1583 vmci_trans(vsk)->qp_handle = VMCI_INVALID_HANDLE; in vmci_transport_socket_init()
1584 vmci_trans(vsk)->qpair = NULL; in vmci_transport_socket_init()
1585 vmci_trans(vsk)->produce_size = vmci_trans(vsk)->consume_size = 0; in vmci_transport_socket_init()
1586 vmci_trans(vsk)->detach_sub_id = VMCI_INVALID_ID; in vmci_transport_socket_init()
1587 vmci_trans(vsk)->notify_ops = NULL; in vmci_transport_socket_init()
1588 INIT_LIST_HEAD(&vmci_trans(vsk)->elem); in vmci_transport_socket_init()
1589 vmci_trans(vsk)->sk = &vsk->sk; in vmci_transport_socket_init()
1590 spin_lock_init(&vmci_trans(vsk)->lock); in vmci_transport_socket_init()
1632 if (!vmci_trans(vsk)) in vmci_transport_destruct()
1638 spin_lock_bh(&vmci_trans(vsk)->lock); in vmci_transport_destruct()
1639 vmci_trans(vsk)->sk = NULL; in vmci_transport_destruct()
1640 spin_unlock_bh(&vmci_trans(vsk)->lock); in vmci_transport_destruct()
1642 if (vmci_trans(vsk)->notify_ops) in vmci_transport_destruct()
1643 vmci_trans(vsk)->notify_ops->socket_destruct(vsk); in vmci_transport_destruct()
1646 list_add(&vmci_trans(vsk)->elem, &vmci_transport_cleanup_list); in vmci_transport_destruct()
1657 if (!vmci_handle_is_invalid(vmci_trans(vsk)->dg_handle)) { in vmci_transport_release()
1658 vmci_datagram_destroy_handle(vmci_trans(vsk)->dg_handle); in vmci_transport_release()
1659 vmci_trans(vsk)->dg_handle = VMCI_INVALID_HANDLE; in vmci_transport_release()
1685 &vmci_trans(vsk)->dg_handle); in vmci_transport_dgram_bind()
1689 vmci_trans(vsk)->dg_handle.resource); in vmci_transport_dgram_bind()
1837 err = vmci_qpair_peekv(vmci_trans(vsk)->qpair, msg, len, 0); in vmci_transport_stream_dequeue()
1839 err = vmci_qpair_dequev(vmci_trans(vsk)->qpair, msg, len, 0); in vmci_transport_stream_dequeue()
1854 err = vmci_qpair_enquev(vmci_trans(vsk)->qpair, msg, len, 0); in vmci_transport_stream_enqueue()
1863 return vmci_qpair_consume_buf_ready(vmci_trans(vsk)->qpair); in vmci_transport_stream_has_data()
1868 return vmci_qpair_produce_free_space(vmci_trans(vsk)->qpair); in vmci_transport_stream_has_space()
1873 return vmci_trans(vsk)->consume_size; in vmci_transport_stream_rcvhiwat()
1878 return !vmci_handle_is_invalid(vmci_trans(vsk)->qp_handle); in vmci_transport_stream_is_active()
1886 return vmci_trans(vsk)->notify_ops->poll_in( in vmci_transport_notify_poll_in()
1895 return vmci_trans(vsk)->notify_ops->poll_out( in vmci_transport_notify_poll_out()
1904 return vmci_trans(vsk)->notify_ops->recv_init( in vmci_transport_notify_recv_init()
1914 return vmci_trans(vsk)->notify_ops->recv_pre_block( in vmci_transport_notify_recv_pre_block()
1924 return vmci_trans(vsk)->notify_ops->recv_pre_dequeue( in vmci_transport_notify_recv_pre_dequeue()
1936 return vmci_trans(vsk)->notify_ops->recv_post_dequeue( in vmci_transport_notify_recv_post_dequeue()
1945 return vmci_trans(vsk)->notify_ops->send_init( in vmci_transport_notify_send_init()
1954 return vmci_trans(vsk)->notify_ops->send_pre_block( in vmci_transport_notify_send_pre_block()
1963 return vmci_trans(vsk)->notify_ops->send_pre_enqueue( in vmci_transport_notify_send_pre_enqueue()
1973 return vmci_trans(vsk)->notify_ops->send_post_enqueue( in vmci_transport_notify_send_post_enqueue()
2004 vmci_trans(vsk)->notify_ops = &vmci_transport_notify_pkt_ops; in vmci_transport_proto_to_notify_struct()
2010 vmci_trans(vsk)->notify_ops = in vmci_transport_proto_to_notify_struct()
2019 vmci_trans(vsk)->notify_ops->socket_init(sk); in vmci_transport_proto_to_notify_struct()