Lines Matching refs:vss_msg
97 static int vss_handle_handshake(struct hv_vss_msg *vss_msg) in vss_handle_handshake() argument
101 switch (vss_msg->vss_hdr.operation) { in vss_handle_handshake()
122 struct hv_vss_msg *vss_msg = (struct hv_vss_msg *)msg; in vss_on_msg() local
124 if (len != sizeof(*vss_msg)) in vss_on_msg()
127 if (vss_msg->vss_hdr.operation == VSS_OP_REGISTER || in vss_on_msg()
128 vss_msg->vss_hdr.operation == VSS_OP_REGISTER1) { in vss_on_msg()
135 return vss_handle_handshake(vss_msg); in vss_on_msg()
139 vss_respond_to_host(vss_msg->error); in vss_on_msg()
158 struct hv_vss_msg *vss_msg; in vss_send_op() local
164 vss_msg = kzalloc(sizeof(*vss_msg), GFP_KERNEL); in vss_send_op()
165 if (!vss_msg) in vss_send_op()
168 vss_msg->vss_hdr.operation = op; in vss_send_op()
171 rc = hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg)); in vss_send_op()
180 kfree(vss_msg); in vss_send_op()
235 struct hv_vss_msg *vss_msg; in hv_vss_onchannelcallback() local
263 vss_msg = (struct hv_vss_msg *)&recv_buffer[ in hv_vss_onchannelcallback()
275 vss_transaction.msg = (struct hv_vss_msg *)vss_msg; in hv_vss_onchannelcallback()
277 switch (vss_msg->vss_hdr.operation) { in hv_vss_onchannelcallback()
303 vss_msg->vss_cf.flags = in hv_vss_onchannelcallback()
309 vss_msg->dm_info.flags = 0; in hv_vss_onchannelcallback()