Home
last modified time | relevance | path

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

/freebsd/contrib/hyperv/tools/
H A Dhv_kvp_daemon.c1373 struct hv_kvp_msg *hv_msg; in main() local
1407 hv_msg = malloc(sizeof(*hv_msg)); in main()
1410 if (hv_kvp_dev_buf == NULL || hv_msg == NULL) { in main()
1483 memcpy(hv_msg, hv_kvp_dev_buf, sizeof(*hv_msg)); in main()
1491 op = hv_msg->hdr.kvp_hdr.operation; in main()
1497 hv_msg->hdr.error = HV_ERROR_NOT_SUPPORTED; in main()
1502 error = kvp_op_hdlrs[op].kvp_op_exec(hv_msg, in main()
1505 assert(hv_msg->hdr.error != HV_S_OK); in main()
1506 if (hv_msg->hdr.error != HV_S_CONT) in main()
1518 len = pwrite(hv_kvp_dev_fd, hv_msg, sizeof(*hv_kvp_dev_buf), 0); in main()