Searched refs:msgoff (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/ui/ |
H A D | vdagent.c | 162 uint32_t msgoff = 0; in vdagent_send_msg() local 174 while (msgoff < msgsize) { in vdagent_send_msg() 176 chunk.size = msgsize - msgoff; in vdagent_send_msg() 182 buffer_append(&vd->outbuf, msgbuf + msgoff, chunk.size); in vdagent_send_msg() 183 msgoff += chunk.size; in vdagent_send_msg()
|
/openbmc/qemu/hw/hyperv/ |
H A D | vmbus.c | 1094 uint32_t msgoff = QEMU_ALIGN_UP(size, __alignof__(*req->msg)); in vmbus_alloc_req() local 1095 uint32_t totlen = msgoff + msglen; in vmbus_alloc_req() 1100 req->msg = (void *)req + msgoff; in vmbus_alloc_req() 1134 uint32_t totlen, pktlen, msglen, msgoff, desclen; in vmbus_channel_recv_peek() local 1156 msgoff = hdr.offset_qwords * sizeof(uint64_t); in vmbus_channel_recv_peek() 1157 if (msgoff > pktlen || msgoff < sizeof(hdr)) { in vmbus_channel_recv_peek() 1158 error_report("%s: malformed packet: %u %u", __func__, msgoff, pktlen); in vmbus_channel_recv_peek() 1162 msglen = pktlen - msgoff; in vmbus_channel_recv_peek() 1169 desclen = msgoff - sizeof(hdr); in vmbus_channel_recv_peek() 1184 ringbuf_seek(&ringbuf->common, ringbuf->rd_idx + msgoff); in vmbus_channel_recv_peek()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | tg3.c | 850 u32 i, bufoff, msgoff, maxlen, apedata; in tg3_ape_scratchpad_read() local 865 msgoff = bufoff + 2 * sizeof(u32); in tg3_ape_scratchpad_read() 901 u32 val = tg3_ape_read32(tp, msgoff + i); in tg3_ape_scratchpad_read()
|