Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/hv/
Dconnection.c74 int vmbus_negotiate_version(struct vmbus_channel_msginfo *msginfo, u32 version) in vmbus_negotiate_version() argument
80 init_completion(&msginfo->waitevent); in vmbus_negotiate_version()
82 msg = (struct vmbus_channel_initiate_contact *)msginfo->msg; in vmbus_negotiate_version()
124 list_add_tail(&msginfo->msglistentry, in vmbus_negotiate_version()
137 list_del(&msginfo->msglistentry); in vmbus_negotiate_version()
144 wait_for_completion(&msginfo->waitevent); in vmbus_negotiate_version()
147 list_del(&msginfo->msglistentry); in vmbus_negotiate_version()
151 if (msginfo->response.version_response.version_supported) { in vmbus_negotiate_version()
156 msginfo->response.version_response.msg_conn_id; in vmbus_negotiate_version()
169 struct vmbus_channel_msginfo *msginfo = NULL; in vmbus_connect() local
[all …]
Dchannel_mgmt.c165 struct vmbus_channel_msginfo *msginfo; in vmbus_rescind_cleanup() local
171 list_for_each_entry(msginfo, &vmbus_connection.chn_msg_list, in vmbus_rescind_cleanup()
174 if (msginfo->waiting_channel == channel) { in vmbus_rescind_cleanup()
175 complete(&msginfo->waitevent); in vmbus_rescind_cleanup()
1309 struct vmbus_channel_msginfo *msginfo; in vmbus_onopen_result() local
1323 list_for_each_entry(msginfo, &vmbus_connection.chn_msg_list, in vmbus_onopen_result()
1326 (struct vmbus_channel_message_header *)msginfo->msg; in vmbus_onopen_result()
1330 (struct vmbus_channel_open_channel *)msginfo->msg; in vmbus_onopen_result()
1333 memcpy(&msginfo->response.open_result, in vmbus_onopen_result()
1337 complete(&msginfo->waitevent); in vmbus_onopen_result()
[all …]
Dchannel.c311 struct vmbus_channel_msginfo **msginfo) in create_gpadl_header() argument
354 *msginfo = msgheader; in create_gpadl_header()
436 *msginfo = msgheader; in create_gpadl_header()
464 struct vmbus_channel_msginfo *msginfo = NULL; in __vmbus_establish_gpadl() local
474 ret = create_gpadl_header(type, kbuffer, size, send_offset, &msginfo); in __vmbus_establish_gpadl()
487 init_completion(&msginfo->waitevent); in __vmbus_establish_gpadl()
488 msginfo->waiting_channel = channel; in __vmbus_establish_gpadl()
490 gpadlmsg = (struct vmbus_channel_gpadl_header *)msginfo->msg; in __vmbus_establish_gpadl()
497 list_add_tail(&msginfo->msglistentry, in __vmbus_establish_gpadl()
507 ret = vmbus_post_msg(gpadlmsg, msginfo->msgsize - in __vmbus_establish_gpadl()
[all …]
Dvmbus_drv.c2455 struct vmbus_channel_msginfo *msginfo; in vmbus_bus_resume() local
2470 msgsize = sizeof(*msginfo) + in vmbus_bus_resume()
2473 msginfo = kzalloc(msgsize, GFP_KERNEL); in vmbus_bus_resume()
2475 if (msginfo == NULL) in vmbus_bus_resume()
2478 ret = vmbus_negotiate_version(msginfo, vmbus_proto_version); in vmbus_bus_resume()
2480 kfree(msginfo); in vmbus_bus_resume()
Dhyperv_vmbus.h316 int vmbus_negotiate_version(struct vmbus_channel_msginfo *msginfo, u32 version);
/linux-6.6.21/ipc/
Dmsg.c478 int cmd, struct msginfo *msginfo) in msgctl_info() argument
492 memset(msginfo, 0, sizeof(*msginfo)); in msgctl_info()
493 msginfo->msgmni = ns->msg_ctlmni; in msgctl_info()
494 msginfo->msgmax = ns->msg_ctlmax; in msgctl_info()
495 msginfo->msgmnb = ns->msg_ctlmnb; in msgctl_info()
496 msginfo->msgssz = MSGSSZ; in msgctl_info()
497 msginfo->msgseg = MSGSEG; in msgctl_info()
500 msginfo->msgpool = msg_ids(ns).in_use; in msgctl_info()
504 msginfo->msgmap = min_t(int, in msgctl_info()
507 msginfo->msgtql = min_t(int, in msgctl_info()
[all …]
/linux-6.6.21/include/uapi/linux/
Dmsg.h44 struct msginfo { struct