Searched refs:vss_msg (Results 1 – 2 of 2) sorted by relevance
110 static int vss_handle_handshake(struct hv_vss_msg *vss_msg) in vss_handle_handshake() argument114 switch (vss_msg->vss_hdr.operation) { in vss_handle_handshake()135 struct hv_vss_msg *vss_msg = (struct hv_vss_msg *)msg; in vss_on_msg() local137 if (len != sizeof(*vss_msg)) { in vss_on_msg()142 if (vss_msg->vss_hdr.operation == VSS_OP_REGISTER || in vss_on_msg()143 vss_msg->vss_hdr.operation == VSS_OP_REGISTER1) { in vss_on_msg()153 return vss_handle_handshake(vss_msg); in vss_on_msg()157 if (vss_msg->vss_hdr.operation == VSS_OP_HOT_BACKUP) in vss_on_msg()162 vss_respond_to_host(vss_msg->error); in vss_on_msg()179 struct hv_vss_msg *vss_msg; in vss_send_op() local[all …]
215 struct hv_vss_msg vss_msg[1]; in main() local268 vss_msg->vss_hdr.operation = VSS_OP_REGISTER1; in main()270 len = write(vss_fd, vss_msg, sizeof(struct hv_vss_msg)); in main()294 len = read(vss_fd, vss_msg, sizeof(struct hv_vss_msg)); in main()301 kernel_modver = *(__u32 *)vss_msg; in main()314 op = vss_msg->vss_hdr.operation; in main()344 vss_msg->error = error; in main()345 len = write(vss_fd, vss_msg, sizeof(struct hv_vss_msg)); in main()