Home
last modified time | relevance | path

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

/linux/drivers/hv/
H A Dhv_util.c200 if (recvlen < ICMSG_HDR) { in shutdown_onchannelcallback()
220 if (recvlen < ICMSG_HDR + sizeof(struct shutdown_msg_data)) { in shutdown_onchannelcallback()
226 shutdown_msg = (struct shutdown_msg_data *)&shut_txf_buf[ICMSG_HDR]; in shutdown_onchannelcallback()
445 if (recvlen < ICMSG_HDR) { in timesync_onchannelcallback()
467 if (recvlen < ICMSG_HDR + sizeof(struct ictimesync_ref_data)) { in timesync_onchannelcallback()
472 refdata = (struct ictimesync_ref_data *)&time_txf_buf[ICMSG_HDR]; in timesync_onchannelcallback()
479 if (recvlen < ICMSG_HDR + sizeof(struct ictimesync_data)) { in timesync_onchannelcallback()
484 timedatap = (struct ictimesync_data *)&time_txf_buf[ICMSG_HDR]; in timesync_onchannelcallback()
531 if (recvlen < ICMSG_HDR) { in heartbeat_onchannelcallback()
556 if (recvlen < ICMSG_HDR + sizeof(u64)) { in heartbeat_onchannelcallback()
[all …]
H A Dhv_snapshot.c314 if (recvlen < ICMSG_HDR) { in hv_vss_onchannelcallback()
335 if (recvlen < ICMSG_HDR + sizeof(struct hv_vss_msg)) { in hv_vss_onchannelcallback()
340 vss_msg = (struct hv_vss_msg *)&recv_buffer[ICMSG_HDR]; in hv_vss_onchannelcallback()
H A Dhv_kvp.c674 if (recvlen < ICMSG_HDR) { in hv_kvp_onchannelcallback()
698 kvp_msg = (struct hv_kvp_msg *)&recv_buffer[ICMSG_HDR]; in hv_kvp_onchannelcallback()
H A Dchannel_mgmt.c249 if (buflen < ICMSG_HDR + offsetof(struct icmsg_negotiate, reserved)) { in vmbus_prep_negotiate_resp()
255 negop = (struct icmsg_negotiate *)&buf[ICMSG_HDR]; in vmbus_prep_negotiate_resp()
/linux/tools/hv/
H A Dhv_fcopy_uio_daemon.c230 if (buflen < ICMSG_HDR + offsetof(struct icmsg_negotiate, reserved)) { in vmbus_prep_negotiate_resp()
236 negop = (struct icmsg_negotiate *)&buf[ICMSG_HDR]; in vmbus_prep_negotiate_resp()
409 if (pktlen < ICMSG_HDR + sizeof(struct hv_fcopy_hdr)) { in fcopy_pkt_process()
415 fcopy_msg = (struct hv_fcopy_hdr *)&desc[offset + ICMSG_HDR]; in fcopy_pkt_process()
/linux/include/linux/
H A Dhyperv.h1554 #define ICMSG_HDR (sizeof(struct vmbuspipe_hdr) + sizeof(struct icmsg_hdr)) macro
1556 (ICMSG_HDR + sizeof(struct icmsg_negotiate) + \