Lines Matching refs:vss_transaction
69 } vss_transaction; variable
92 vss_transaction.state = HVUTIL_READY; in vss_poll_wrapper()
108 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_timeout_func()
113 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_register_done()
155 if (vss_transaction.state > HVUTIL_READY) { in vss_on_msg()
161 } else if (vss_transaction.state == HVUTIL_USERSPACE_REQ) { in vss_on_msg()
162 vss_transaction.state = HVUTIL_USERSPACE_RECV; in vss_on_msg()
165 vss_transaction.msg->vss_cf.flags = in vss_on_msg()
171 hv_poll_channel(vss_transaction.recv_channel, in vss_on_msg()
184 int op = vss_transaction.msg->vss_hdr.operation; in vss_send_op()
189 if (vss_transaction.state != HVUTIL_HOSTMSG_RECEIVED) { in vss_send_op()
200 vss_transaction.state = HVUTIL_USERSPACE_REQ; in vss_send_op()
210 vss_transaction.state = HVUTIL_READY; in vss_send_op()
219 switch (vss_transaction.msg->vss_hdr.operation) { in vss_handle_request()
230 if (vss_transaction.state < HVUTIL_READY) { in vss_handle_request()
238 vss_transaction.msg->vss_hdr.operation); in vss_handle_request()
239 vss_transaction.state = HVUTIL_HOSTMSG_RECEIVED; in vss_handle_request()
243 vss_transaction.msg->dm_info.flags = 0; in vss_handle_request()
250 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_handle_request()
270 buf_len = vss_transaction.recv_len; in vss_respond_to_host()
271 channel = vss_transaction.recv_channel; in vss_respond_to_host()
272 req_id = vss_transaction.recv_req_id; in vss_respond_to_host()
308 if (vss_transaction.state > HVUTIL_READY) in hv_vss_onchannelcallback()
338 vss_transaction.recv_len = recvlen; in hv_vss_onchannelcallback()
339 vss_transaction.recv_req_id = requestid; in hv_vss_onchannelcallback()
340 vss_transaction.msg = (struct hv_vss_msg *)vss_msg; in hv_vss_onchannelcallback()
360 vss_transaction.state = HVUTIL_DEVICE_INIT; in vss_on_reset()
372 vss_transaction.recv_channel = srv->channel; in hv_vss_init()
380 vss_transaction.state = HVUTIL_DEVICE_INIT; in hv_vss_init()
394 vss_transaction.state = HVUTIL_DEVICE_DYING; in hv_vss_deinit()