Searched refs:icmsghdrp (Results 1 – 5 of 5) sorted by relevance
195 struct icmsg_hdr *icmsghdrp; in shutdown_onchannelcallback() local212 icmsghdrp = (struct icmsg_hdr *)&shut_txf_buf[sizeof(struct vmbuspipe_hdr)]; in shutdown_onchannelcallback()214 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in shutdown_onchannelcallback()215 if (vmbus_prep_negotiate_resp(icmsghdrp, in shutdown_onchannelcallback()224 } else if (icmsghdrp->icmsgtype == ICMSGTYPE_SHUTDOWN) { in shutdown_onchannelcallback()243 icmsghdrp->status = HV_S_OK; in shutdown_onchannelcallback()249 icmsghdrp->status = HV_S_OK; in shutdown_onchannelcallback()256 icmsghdrp->status = hibernation_supported ? in shutdown_onchannelcallback()262 icmsghdrp->status = HV_E_FAIL; in shutdown_onchannelcallback()267 icmsghdrp->status = HV_E_FAIL; in shutdown_onchannelcallback()[all …]
250 struct icmsg_hdr *icmsghdrp; in vss_respond_to_host() local264 icmsghdrp = (struct icmsg_hdr *) in vss_respond_to_host()274 icmsghdrp->status = error; in vss_respond_to_host()276 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION | ICMSGHDRFLAG_RESPONSE; in vss_respond_to_host()296 struct icmsg_hdr *icmsghdrp; in hv_vss_onchannelcallback() local316 icmsghdrp = (struct icmsg_hdr *)&recv_buffer[sizeof(struct vmbuspipe_hdr)]; in hv_vss_onchannelcallback()318 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in hv_vss_onchannelcallback()319 if (vmbus_prep_negotiate_resp(icmsghdrp, in hv_vss_onchannelcallback()329 } else if (icmsghdrp->icmsgtype == ICMSGTYPE_VSS) { in hv_vss_onchannelcallback()351 icmsghdrp->icmsgtype); in hv_vss_onchannelcallback()[all …]
520 struct icmsg_hdr *icmsghdrp; in kvp_respond_to_host() local537 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() local680 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 …]
223 bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, u8 *buf, in vmbus_prep_negotiate_resp() argument242 icmsghdrp->icmsgsize = 0x10; in vmbus_prep_negotiate_resp()
1594 extern bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, u8 *buf, u32 buflen,