Searched refs:msgoff (Results 1 – 2 of 2) sorted by relevance
| /openbmc/qemu/hw/hyperv/ |
| H A D | vmbus.c | 1095 uint32_t msgoff = QEMU_ALIGN_UP(size, __alignof__(*req->msg)); in vmbus_alloc_req() local 1096 uint32_t totlen = msgoff + msglen; in vmbus_alloc_req() 1101 req->msg = (void *)req + msgoff; in vmbus_alloc_req() 1135 uint32_t totlen, pktlen, msglen, msgoff, desclen; in vmbus_channel_recv_peek() local 1157 msgoff = hdr.offset_qwords * sizeof(uint64_t); in vmbus_channel_recv_peek() 1158 if (msgoff > pktlen || msgoff < sizeof(hdr)) { in vmbus_channel_recv_peek() 1159 error_report("%s: malformed packet: %u %u", __func__, msgoff, pktlen); in vmbus_channel_recv_peek() 1163 msglen = pktlen - msgoff; in vmbus_channel_recv_peek() 1170 desclen = msgoff - sizeof(hdr); in vmbus_channel_recv_peek() 1185 ringbuf_seek(&ringbuf->common, ringbuf->rd_idx + msgoff); in vmbus_channel_recv_peek()
|
| /openbmc/qemu/ui/ |
| H A D | vdagent.c | 160 uint32_t msgoff = 0; in vdagent_send_msg() local 172 while (msgoff < msgsize) { in vdagent_send_msg() 174 chunk.size = msgsize - msgoff; in vdagent_send_msg() 179 g_byte_array_append(vd->outbuf, msgbuf + msgoff, chunk.size); in vdagent_send_msg() 180 msgoff += chunk.size; in vdagent_send_msg()
|