Home
last modified time | relevance | path

Searched refs:vss_msg (Results 1 – 2 of 2) sorted by relevance

/linux-6.6.21/drivers/hv/
Dhv_snapshot.c110 static int vss_handle_handshake(struct hv_vss_msg *vss_msg) in vss_handle_handshake() argument
114 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() local
137 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 …]
/linux-6.6.21/tools/hv/
Dhv_vss_daemon.c215 struct hv_vss_msg vss_msg[1]; in main() local
268 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()