Lines Matching refs:vss_transaction

62 } vss_transaction;  variable
85 vss_transaction.state = HVUTIL_READY; in vss_poll_wrapper()
101 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_timeout_func()
106 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_register_done()
148 if (vss_transaction.state > HVUTIL_READY) { in vss_on_msg()
154 } else if (vss_transaction.state == HVUTIL_USERSPACE_REQ) { in vss_on_msg()
155 vss_transaction.state = HVUTIL_USERSPACE_RECV; in vss_on_msg()
158 vss_transaction.msg->vss_cf.flags = in vss_on_msg()
164 hv_poll_channel(vss_transaction.recv_channel, in vss_on_msg()
177 int op = vss_transaction.msg->vss_hdr.operation; in vss_send_op()
182 if (vss_transaction.state != HVUTIL_HOSTMSG_RECEIVED) { in vss_send_op()
193 vss_transaction.state = HVUTIL_USERSPACE_REQ; in vss_send_op()
203 vss_transaction.state = HVUTIL_READY; in vss_send_op()
212 switch (vss_transaction.msg->vss_hdr.operation) { in vss_handle_request()
223 if (vss_transaction.state < HVUTIL_READY) { in vss_handle_request()
231 vss_transaction.msg->vss_hdr.operation); in vss_handle_request()
232 vss_transaction.state = HVUTIL_HOSTMSG_RECEIVED; in vss_handle_request()
236 vss_transaction.msg->dm_info.flags = 0; in vss_handle_request()
243 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_handle_request()
263 buf_len = vss_transaction.recv_len; in vss_respond_to_host()
264 channel = vss_transaction.recv_channel; in vss_respond_to_host()
265 req_id = vss_transaction.recv_req_id; in vss_respond_to_host()
301 if (vss_transaction.state > HVUTIL_READY) in hv_vss_onchannelcallback()
346 vss_transaction.recv_len = recvlen; in hv_vss_onchannelcallback()
347 vss_transaction.recv_req_id = requestid; in hv_vss_onchannelcallback()
348 vss_transaction.msg = (struct hv_vss_msg *)vss_msg; in hv_vss_onchannelcallback()
368 vss_transaction.state = HVUTIL_DEVICE_INIT; in vss_on_reset()
380 vss_transaction.recv_channel = srv->channel; in hv_vss_init()
381 vss_transaction.recv_channel->max_pkt_size = VSS_MAX_PKT_SIZE; in hv_vss_init()
389 vss_transaction.state = HVUTIL_DEVICE_INIT; in hv_vss_init()
409 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_suspend()
436 vss_transaction.state = HVUTIL_READY; in hv_vss_pre_suspend()
444 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_resume()
453 vss_transaction.state = HVUTIL_DEVICE_DYING; in hv_vss_deinit()