Home
last modified time | relevance | path

Searched refs:icmsghdrp (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-6.6/drivers/hv/
H A Dhv_util.c195 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 in shutdown_onchannelcallback()
399 struct icmsg_hdr *icmsghdrp; timesync_onchannelcallback() local
492 struct icmsg_hdr *icmsghdrp; heartbeat_onchannelcallback() local
[all...]
H A Dhv_snapshot.c253 struct icmsg_hdr *icmsghdrp; in vss_respond_to_host() local
267 icmsghdrp = (struct icmsg_hdr *) in vss_respond_to_host()
277 icmsghdrp->status = error; in vss_respond_to_host()
279 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION | ICMSGHDRFLAG_RESPONSE; in vss_respond_to_host()
299 struct icmsg_hdr *icmsghdrp; in hv_vss_onchannelcallback() local
319 icmsghdrp = (struct icmsg_hdr *)&recv_buffer[sizeof(struct vmbuspipe_hdr)]; in hv_vss_onchannelcallback()
321 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in hv_vss_onchannelcallback()
322 if (vmbus_prep_negotiate_resp(icmsghdrp, in hv_vss_onchannelcallback()
332 } else if (icmsghdrp->icmsgtype == ICMSGTYPE_VSS) { in hv_vss_onchannelcallback()
354 icmsghdrp 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.c210 * @icmsghdrp: Pointer to msg header structure
225 bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, u8 *buf, in vmbus_prep_negotiate_resp() argument
244 icmsghdrp->icmsgsize = 0x10; in vmbus_prep_negotiate_resp()
/kernel/linux/linux-5.10/drivers/hv/
H A Dhv_util.c196 struct icmsg_hdr *icmsghdrp; in shutdown_onchannelcallback() local
202 icmsghdrp = (struct icmsg_hdr *)&shut_txf_buf[ in shutdown_onchannelcallback()
205 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in shutdown_onchannelcallback()
206 if (vmbus_prep_negotiate_resp(icmsghdrp, shut_txf_buf, in shutdown_onchannelcallback()
229 icmsghdrp->status = HV_S_OK; in shutdown_onchannelcallback()
236 icmsghdrp->status = HV_S_OK; in shutdown_onchannelcallback()
244 icmsghdrp->status = hibernation_supported ? in shutdown_onchannelcallback()
250 icmsghdrp->status = HV_E_FAIL; in shutdown_onchannelcallback()
257 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION in shutdown_onchannelcallback()
385 struct icmsg_hdr *icmsghdrp; in timesync_onchannelcallback() local
459 struct icmsg_hdr *icmsghdrp; heartbeat_onchannelcallback() local
[all...]
H A Dhv_snapshot.c250 struct icmsg_hdr *icmsghdrp; in vss_respond_to_host() local
264 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() local
305 icmsghdrp = (struct icmsg_hdr *)&recv_buffer[ in hv_vss_onchannelcallback()
308 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in hv_vss_onchannelcallback()
309 if (vmbus_prep_negotiate_resp(icmsghdrp, in hv_vss_onchannelcallback()
336 icmsghdrp->icflags = ICMSGHDRFLAG_TRANSACTION in hv_vss_onchannelcallback()
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
669 icmsghdrp = (struct icmsg_hdr *)&recv_buffer[ in hv_kvp_onchannelcallback()
672 if (icmsghdrp->icmsgtype == ICMSGTYPE_NEGOTIATE) { in hv_kvp_onchannelcallback()
673 if (vmbus_prep_negotiate_resp(icmsghdrp, in hv_kvp_onchannelcallback()
[all...]
H A Dchannel_mgmt.c191 * @icmsghdrp: Pointer to msg header structure
205 bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, in vmbus_prep_negotiate_resp() argument
218 icmsghdrp->icmsgsize = 0x10; in vmbus_prep_negotiate_resp()
/kernel/linux/linux-5.10/include/linux/
H A Dhyperv.h1551 extern bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, u8 *buf,
/kernel/linux/linux-6.6/include/linux/
H A Dhyperv.h1635 extern bool vmbus_prep_negotiate_resp(struct icmsg_hdr *icmsghdrp, u8 *buf, u32 buflen,

Completed in 22 milliseconds