Lines Matching refs:vss_msg
117 static int vss_handle_handshake(struct hv_vss_msg *vss_msg) in vss_handle_handshake() argument
121 switch (vss_msg->vss_hdr.operation) { in vss_handle_handshake()
142 struct hv_vss_msg *vss_msg = (struct hv_vss_msg *)msg; in vss_on_msg() local
144 if (len != sizeof(*vss_msg)) { in vss_on_msg()
149 if (vss_msg->vss_hdr.operation == VSS_OP_REGISTER || in vss_on_msg()
150 vss_msg->vss_hdr.operation == VSS_OP_REGISTER1) { in vss_on_msg()
160 return vss_handle_handshake(vss_msg); in vss_on_msg()
164 if (vss_msg->vss_hdr.operation == VSS_OP_HOT_BACKUP) in vss_on_msg()
169 vss_respond_to_host(vss_msg->error); in vss_on_msg()
186 struct hv_vss_msg *vss_msg; in vss_send_op() local
194 vss_msg = kzalloc(sizeof(*vss_msg), GFP_KERNEL); in vss_send_op()
195 if (!vss_msg) in vss_send_op()
198 vss_msg->vss_hdr.operation = op; in vss_send_op()
205 rc = hvutil_transport_send(hvt, vss_msg, sizeof(*vss_msg), NULL); in vss_send_op()
214 kfree(vss_msg); in vss_send_op()
303 struct hv_vss_msg *vss_msg; in hv_vss_onchannelcallback() local
329 vss_msg = (struct hv_vss_msg *)&recv_buffer[ in hv_vss_onchannelcallback()
340 vss_transaction.msg = (struct hv_vss_msg *)vss_msg; in hv_vss_onchannelcallback()