Lines Matching refs:icmsghdrp
195 struct icmsg_hdr *icmsghdrp; in shutdown_onchannelcallback() local
212 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()
269 icmsghdrp->icmsgtype); in shutdown_onchannelcallback()
272 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION in shutdown_onchannelcallback()
399 struct icmsg_hdr *icmsghdrp; in timesync_onchannelcallback() local
428 icmsghdrp = (struct icmsg_hdr *)&time_txf_buf[ in timesync_onchannelcallback()
431 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in timesync_onchannelcallback()
432 if (vmbus_prep_negotiate_resp(icmsghdrp, in timesync_onchannelcallback()
441 } else if (icmsghdrp->icmsgtype == ICMSGTYPE_TIMESYNC) { in timesync_onchannelcallback()
468 icmsghdrp->status = HV_E_FAIL; in timesync_onchannelcallback()
470 icmsghdrp->icmsgtype); in timesync_onchannelcallback()
473 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION in timesync_onchannelcallback()
492 struct icmsg_hdr *icmsghdrp; in heartbeat_onchannelcallback() local
514 icmsghdrp = (struct icmsg_hdr *)&hbeat_txf_buf[ in heartbeat_onchannelcallback()
517 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in heartbeat_onchannelcallback()
518 if (vmbus_prep_negotiate_resp(icmsghdrp, in heartbeat_onchannelcallback()
528 } else if (icmsghdrp->icmsgtype == ICMSGTYPE_HEARTBEAT) { in heartbeat_onchannelcallback()
542 icmsghdrp->status = HV_E_FAIL; in heartbeat_onchannelcallback()
544 icmsghdrp->icmsgtype); in heartbeat_onchannelcallback()
547 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION in heartbeat_onchannelcallback()