Home
last modified time | relevance | path

Searched refs:msginfo (Results 1 – 3 of 3) sorted by relevance

/drivers/hv/
Dchannel_mgmt.c553 struct vmbus_channel_msginfo *msginfo; in vmbus_onopen_result() local
565 list_for_each_entry(msginfo, &vmbus_connection.chn_msg_list, in vmbus_onopen_result()
568 (struct vmbus_channel_message_header *)msginfo->msg; in vmbus_onopen_result()
572 (struct vmbus_channel_open_channel *)msginfo->msg; in vmbus_onopen_result()
575 memcpy(&msginfo->response.open_result, in vmbus_onopen_result()
579 complete(&msginfo->waitevent); in vmbus_onopen_result()
597 struct vmbus_channel_msginfo *msginfo; in vmbus_ongpadl_created() local
610 list_for_each_entry(msginfo, &vmbus_connection.chn_msg_list, in vmbus_ongpadl_created()
613 (struct vmbus_channel_message_header *)msginfo->msg; in vmbus_ongpadl_created()
622 memcpy(&msginfo->response.gpadl_created, in vmbus_ongpadl_created()
[all …]
Dconnection.c67 static int vmbus_negotiate_version(struct vmbus_channel_msginfo *msginfo, in vmbus_negotiate_version() argument
74 init_completion(&msginfo->waitevent); in vmbus_negotiate_version()
76 msg = (struct vmbus_channel_initiate_contact *)msginfo->msg; in vmbus_negotiate_version()
91 list_add_tail(&msginfo->msglistentry, in vmbus_negotiate_version()
100 list_del(&msginfo->msglistentry); in vmbus_negotiate_version()
107 wait_for_completion(&msginfo->waitevent); in vmbus_negotiate_version()
110 list_del(&msginfo->msglistentry); in vmbus_negotiate_version()
114 if (msginfo->response.version_response.version_supported) { in vmbus_negotiate_version()
129 struct vmbus_channel_msginfo *msginfo = NULL; in vmbus_connect() local
174 msginfo = kzalloc(sizeof(*msginfo) + in vmbus_connect()
[all …]
Dchannel.c213 struct vmbus_channel_msginfo **msginfo, in create_gpadl_header() argument
257 *msginfo = msgheader; in create_gpadl_header()
340 *msginfo = msgheader; in create_gpadl_header()
364 struct vmbus_channel_msginfo *msginfo = NULL; in vmbus_establish_gpadl() local
375 ret = create_gpadl_header(kbuffer, size, &msginfo, &msgcount); in vmbus_establish_gpadl()
379 init_completion(&msginfo->waitevent); in vmbus_establish_gpadl()
381 gpadlmsg = (struct vmbus_channel_gpadl_header *)msginfo->msg; in vmbus_establish_gpadl()
388 list_add_tail(&msginfo->msglistentry, in vmbus_establish_gpadl()
393 ret = vmbus_post_msg(gpadlmsg, msginfo->msgsize - in vmbus_establish_gpadl()
394 sizeof(*msginfo)); in vmbus_establish_gpadl()
[all …]