Lines Matching defs:fcopy_transaction
55 } fcopy_transaction;
73 fcopy_transaction.state = HVUTIL_READY;
84 hv_poll_channel(fcopy_transaction.recv_channel, fcopy_poll_wrapper);
90 hv_poll_channel(fcopy_transaction.recv_channel, fcopy_poll_wrapper);
125 int operation = fcopy_transaction.fcopy_msg->operation;
149 smsg_in = (struct hv_start_fcopy *)fcopy_transaction.fcopy_msg;
165 out_src = fcopy_transaction.fcopy_msg;
169 out_src = fcopy_transaction.fcopy_msg;
170 out_len = fcopy_transaction.recv_len;
174 fcopy_transaction.state = HVUTIL_USERSPACE_REQ;
180 fcopy_transaction.state = HVUTIL_READY;
206 buf_len = fcopy_transaction.recv_len;
207 channel = fcopy_transaction.recv_channel;
208 req_id = fcopy_transaction.recv_req_id;
235 if (fcopy_transaction.state > HVUTIL_READY)
281 fcopy_transaction.recv_len = recvlen;
282 fcopy_transaction.recv_req_id = requestid;
283 fcopy_transaction.fcopy_msg = fcopy_msg;
285 if (fcopy_transaction.state < HVUTIL_READY) {
290 fcopy_transaction.state = HVUTIL_HOSTMSG_RECEIVED;
317 if (fcopy_transaction.state == HVUTIL_DEVICE_INIT)
320 if (fcopy_transaction.state != HVUTIL_USERSPACE_REQ)
328 fcopy_transaction.state = HVUTIL_USERSPACE_RECV;
330 hv_poll_channel(fcopy_transaction.recv_channel,
342 fcopy_transaction.state = HVUTIL_DEVICE_INIT;
351 fcopy_transaction.recv_channel = srv->channel;
352 fcopy_transaction.recv_channel->max_pkt_size = HV_HYP_PAGE_SIZE * 2;
360 fcopy_transaction.state = HVUTIL_DEVICE_INIT;
378 struct vmbus_channel *channel = fcopy_transaction.recv_channel;
385 * space since we force fcopy_transaction.state to be HVUTIL_READY, so
405 fcopy_transaction.state = HVUTIL_READY;
413 struct vmbus_channel *channel = fcopy_transaction.recv_channel;
422 fcopy_transaction.state = HVUTIL_DEVICE_DYING;