Searched refs:msg (Results 1 – 12 of 12) sorted by relevance
| /devicemodel/core/cmd_monitor/ |
| A D | socket.c | 71 struct msghdr msg; in write_socket_char() local 77 memset(&msg, 0, sizeof(msg)); in write_socket_char() 83 msg.msg_iov = iov; in write_socket_char() 84 msg.msg_iovlen = 1; in write_socket_char() 105 struct msghdr msg; in read_socket_char() local 110 memset(&msg, 0, sizeof(msg)); in read_socket_char() 114 msg.msg_iov = &iov; in read_socket_char() 115 msg.msg_iovlen = 1; in read_socket_char() 116 msg.msg_name = NULL; in read_socket_char() 117 msg.msg_namelen = 0; in read_socket_char() [all …]
|
| A D | command_handler.c | 91 int vm_monitor_send_vm_event(const char *msg) in vm_monitor_send_vm_event() argument 99 if (msg == NULL || client == NULL) { in vm_monitor_send_vm_event() 104 memcpy(client->buf, msg, strlen(msg)); in vm_monitor_send_vm_event() 105 client->len = strlen(msg); in vm_monitor_send_vm_event()
|
| /devicemodel/core/ |
| A D | monitor.c | 321 ack.msgid = msg->msgid; \ 350 ack.msgid = msg->msgid; in handle_stop() 351 ack.timestamp = msg->timestamp; in handle_stop() 353 if (msg->data.acrnd_stop.force) { in handle_stop() 383 ack.msgid = msg->msgid; in handle_resume() 384 ack.timestamp = msg->timestamp; in handle_resume() 386 wakeup_reason = msg->data.reason; in handle_resume() 410 ack.msgid = msg->msgid; in handle_query() 411 ack.timestamp = msg->timestamp; in handle_query() 432 ack.msgid = msg->msgid; in handle_blkrescan() [all …]
|
| A D | vm_event.c | 220 char *msg = generate_vm_event_message(event); in emit_vm_event() local 221 if (msg != NULL) { in emit_vm_event() 222 vm_monitor_send_vm_event(msg); in emit_vm_event() 223 free(msg); in emit_vm_event()
|
| A D | vmmapi.c | 520 vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg) in vm_lapic_msi() argument 526 msi.msi_data = msg; in vm_lapic_msi()
|
| A D | main.c | 199 static void outdate(char *msg) in outdate() argument 201 pr_warn("The \"%s\" parameter is obsolete and ignored\n", msg); in outdate()
|
| /devicemodel/hw/platform/tpm/ |
| A D | tpm_emulator.c | 249 struct msghdr msg; in ctrl_chan_write() local 262 msg.msg_name = NULL; in ctrl_chan_write() 263 msg.msg_namelen = 0; in ctrl_chan_write() 266 msg.msg_iov = iov; in ctrl_chan_write() 267 msg.msg_iovlen = 1; in ctrl_chan_write() 302 struct msghdr msg; in ctrl_chan_read() local 312 msg.msg_name = NULL; in ctrl_chan_read() 313 msg.msg_namelen = 0; in ctrl_chan_read() 316 msg.msg_iov = iov; in ctrl_chan_read() 317 msg.msg_iovlen = 1; in ctrl_chan_read() [all …]
|
| /devicemodel/hw/pci/virtio/ |
| A D | virtio_i2c.c | 418 addr = msg->addr; in native_adapter_proc() 433 if (msg->len) in native_adapter_proc() 435 msg->flags, in native_adapter_proc() 436 msg->addr, in native_adapter_proc() 437 msg->len, in native_adapter_proc() 438 msg->buf[0]); in native_adapter_proc() 441 msg->flags, in native_adapter_proc() 442 msg->addr, in native_adapter_proc() 443 msg->len); in native_adapter_proc() 586 msg.buf = NULL; in virtio_i2c_proc_thread() [all …]
|
| A D | virtio_coreu.c | 133 send_and_receive(int fd, struct coreu_msg *msg) in send_and_receive() argument 138 ret = send(fd, (void *)msg, msg_size, 0); in send_and_receive() 144 ret = recv(fd, (void *)msg, msg_size, 0); in send_and_receive() 168 struct coreu_msg *msg; in virtio_coreu_thread() local 199 msg = (struct coreu_msg *)(iov.iov_base); in virtio_coreu_thread() 201 ret = send_and_receive(vcoreu->fd, msg); in virtio_coreu_thread()
|
| A D | virtio_hdcp.c | 309 struct SocketData *msg; in virtio_hdcp_talk_to_daemon() local 338 msg = (struct SocketData*)(iov.iov_base); in virtio_hdcp_talk_to_daemon() 340 ret = performMessageTransaction(vhdcp->fd, *msg); in virtio_hdcp_talk_to_daemon()
|
| /devicemodel/include/ |
| A D | monitor.h | 40 int vm_monitor_send_vm_event(const char *msg);
|
| A D | vmmapi.h | 82 uint64_t msg; member 134 int vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg);
|
Completed in 21 milliseconds