Lines Matching refs:fcopy_transaction

55 } fcopy_transaction;  variable
73 fcopy_transaction.state = HVUTIL_READY; in fcopy_poll_wrapper()
84 hv_poll_channel(fcopy_transaction.recv_channel, fcopy_poll_wrapper); in fcopy_timeout_func()
90 hv_poll_channel(fcopy_transaction.recv_channel, fcopy_poll_wrapper); in fcopy_register_done()
125 int operation = fcopy_transaction.fcopy_msg->operation; in fcopy_send_data()
149 smsg_in = (struct hv_start_fcopy *)fcopy_transaction.fcopy_msg; in fcopy_send_data()
165 out_src = fcopy_transaction.fcopy_msg; in fcopy_send_data()
169 out_src = fcopy_transaction.fcopy_msg; in fcopy_send_data()
170 out_len = fcopy_transaction.recv_len; in fcopy_send_data()
174 fcopy_transaction.state = HVUTIL_USERSPACE_REQ; in fcopy_send_data()
180 fcopy_transaction.state = HVUTIL_READY; in fcopy_send_data()
206 buf_len = fcopy_transaction.recv_len; in fcopy_respond_to_host()
207 channel = fcopy_transaction.recv_channel; in fcopy_respond_to_host()
208 req_id = fcopy_transaction.recv_req_id; in fcopy_respond_to_host()
235 if (fcopy_transaction.state > HVUTIL_READY) in hv_fcopy_onchannelcallback()
281 fcopy_transaction.recv_len = recvlen; in hv_fcopy_onchannelcallback()
282 fcopy_transaction.recv_req_id = requestid; in hv_fcopy_onchannelcallback()
283 fcopy_transaction.fcopy_msg = fcopy_msg; in hv_fcopy_onchannelcallback()
285 if (fcopy_transaction.state < HVUTIL_READY) { in hv_fcopy_onchannelcallback()
290 fcopy_transaction.state = HVUTIL_HOSTMSG_RECEIVED; in hv_fcopy_onchannelcallback()
317 if (fcopy_transaction.state == HVUTIL_DEVICE_INIT) in fcopy_on_msg()
320 if (fcopy_transaction.state != HVUTIL_USERSPACE_REQ) in fcopy_on_msg()
328 fcopy_transaction.state = HVUTIL_USERSPACE_RECV; in fcopy_on_msg()
330 hv_poll_channel(fcopy_transaction.recv_channel, in fcopy_on_msg()
342 fcopy_transaction.state = HVUTIL_DEVICE_INIT; in fcopy_on_reset()
351 fcopy_transaction.recv_channel = srv->channel; in hv_fcopy_init()
352 fcopy_transaction.recv_channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2; in hv_fcopy_init()
360 fcopy_transaction.state = HVUTIL_DEVICE_INIT; in hv_fcopy_init()
378 struct vmbus_channel *channel = fcopy_transaction.recv_channel; in hv_fcopy_pre_suspend()
405 fcopy_transaction.state = HVUTIL_READY; in hv_fcopy_pre_suspend()
413 struct vmbus_channel *channel = fcopy_transaction.recv_channel; in hv_fcopy_pre_resume()
422 fcopy_transaction.state = HVUTIL_DEVICE_DYING; in hv_fcopy_deinit()