Home
last modified time | relevance | path

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

/linux/drivers/hv/
H A Dhv_util.c189 struct icmsg_hdr *icmsghdrp; in shutdown_onchannelcallback() local
206 icmsghdrp = (struct icmsg_hdr *)&shut_txf_buf[sizeof(struct vmbuspipe_hdr)]; in shutdown_onchannelcallback()
208 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in shutdown_onchannelcallback()
209 if (vmbus_prep_negotiate_resp(icmsghdrp, in shutdown_onchannelcallback()
218 } else if (icmsghdrp->icmsgtype == ICMSGTYPE_SHUTDOWN) { in shutdown_onchannelcallback()
237 icmsghdrp->status = HV_S_OK; in shutdown_onchannelcallback()
243 icmsghdrp->status = HV_S_OK; in shutdown_onchannelcallback()
250 icmsghdrp->status = hibernation_supported ? in shutdown_onchannelcallback()
256 icmsghdrp->status = HV_E_FAIL; in shutdown_onchannelcallback()
261 icmsghdrp->status = HV_E_FAIL; in shutdown_onchannelcallback()
[all …]
H A Dhv_snapshot.c254 struct icmsg_hdr *icmsghdrp; in vss_respond_to_host() local
268 icmsghdrp = (struct icmsg_hdr *) in vss_respond_to_host()
278 icmsghdrp->status = error; in vss_respond_to_host()
280 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION | ICMSGHDRFLAG_RESPONSE; in vss_respond_to_host()
300 struct icmsg_hdr *icmsghdrp; in hv_vss_onchannelcallback() local
320 icmsghdrp = (struct icmsg_hdr *)&recv_buffer[sizeof(struct vmbuspipe_hdr)]; in hv_vss_onchannelcallback()
322 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in hv_vss_onchannelcallback()
323 if (vmbus_prep_negotiate_resp(icmsghdrp, in hv_vss_onchannelcallback()
333 } else if (icmsghdrp->icmsgtype == ICMSGTYPE_VSS) { in hv_vss_onchannelcallback()
355 icmsghdrp->icmsgtype); in hv_vss_onchannelcallback()
[all …]
H A Dhv_kvp.c520 struct icmsg_hdr *icmsghdrp; in kvp_respond_to_host() local
537 icmsghdrp = (struct icmsg_hdr *) in kvp_respond_to_host()
547 icmsghdrp->status = error; in kvp_respond_to_host()
571 icmsghdrp->status = HV_E_FAIL; in kvp_respond_to_host()
614 icmsghdrp->status = HV_E_FAIL; in kvp_respond_to_host()
619 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION | ICMSGHDRFLAG_RESPONSE; in kvp_respond_to_host()
643 struct icmsg_hdr *icmsghdrp; in hv_kvp_onchannelcallback() local
680 icmsghdrp = (struct icmsg_hdr *)&recv_buffer[sizeof(struct vmbuspipe_hdr)]; in hv_kvp_onchannelcallback()
682 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in hv_kvp_onchannelcallback()
683 if (vmbus_prep_negotiate_resp(icmsghdrp, in hv_kvp_onchannelcallback()
[all …]
H A Dchannel_mgmt.c235 bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, u8 *buf, in vmbus_prep_negotiate_resp() argument
254 icmsghdrp->icmsgsize = 0x10; in vmbus_prep_negotiate_resp()
/linux/tools/hv/
H A Dhv_fcopy_uio_daemon.c216 static bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, unsigned char *buf, in vmbus_prep_negotiate_resp() argument
235 icmsghdrp->icmsgsize = 0x10; in vmbus_prep_negotiate_resp()
/linux/include/linux/
H A Dhyperv.h1617 extern bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, u8 *buf, u32 buflen,