Lines Matching refs:vss_transaction

59 } vss_transaction;  variable
82 vss_transaction.state = HVUTIL_READY; in vss_poll_wrapper()
98 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_timeout_func()
103 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_register_done()
145 if (vss_transaction.state > HVUTIL_READY) { in vss_on_msg()
151 } else if (vss_transaction.state == HVUTIL_USERSPACE_REQ) { in vss_on_msg()
152 vss_transaction.state = HVUTIL_USERSPACE_RECV; in vss_on_msg()
155 vss_transaction.msg->vss_cf.flags = in vss_on_msg()
161 hv_poll_channel(vss_transaction.recv_channel, in vss_on_msg()
174 int op = vss_transaction.msg->vss_hdr.operation; in vss_send_op()
179 if (vss_transaction.state != HVUTIL_HOSTMSG_RECEIVED) { in vss_send_op()
190 vss_transaction.state = HVUTIL_USERSPACE_REQ; in vss_send_op()
200 vss_transaction.state = HVUTIL_READY; in vss_send_op()
209 switch (vss_transaction.msg->vss_hdr.operation) { in vss_handle_request()
220 if (vss_transaction.state < HVUTIL_READY) { in vss_handle_request()
228 vss_transaction.msg->vss_hdr.operation); in vss_handle_request()
229 vss_transaction.state = HVUTIL_HOSTMSG_RECEIVED; in vss_handle_request()
233 vss_transaction.msg->dm_info.flags = 0; in vss_handle_request()
240 hv_poll_channel(vss_transaction.recv_channel, vss_poll_wrapper); in vss_handle_request()
260 buf_len = vss_transaction.recv_len; in vss_respond_to_host()
261 channel = vss_transaction.recv_channel; in vss_respond_to_host()
262 req_id = vss_transaction.recv_req_id; in vss_respond_to_host()
298 if (vss_transaction.state > HVUTIL_READY) in hv_vss_onchannelcallback()
343 vss_transaction.recv_len = recvlen; in hv_vss_onchannelcallback()
344 vss_transaction.recv_req_id = requestid; in hv_vss_onchannelcallback()
345 vss_transaction.msg = (struct hv_vss_msg *)vss_msg; in hv_vss_onchannelcallback()
365 vss_transaction.state = HVUTIL_DEVICE_INIT; in vss_on_reset()
377 vss_transaction.recv_channel = srv->channel; in hv_vss_init()
378 vss_transaction.recv_channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2; in hv_vss_init()
386 vss_transaction.state = HVUTIL_DEVICE_INIT; in hv_vss_init()
406 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_suspend()
433 vss_transaction.state = HVUTIL_READY; in hv_vss_pre_suspend()
441 struct vmbus_channel *channel = vss_transaction.recv_channel; in hv_vss_pre_resume()
450 vss_transaction.state = HVUTIL_DEVICE_DYING; in hv_vss_deinit()