Home
last modified time | relevance | path

Searched refs:VMCI_DG_SIZE (Results 1 – 6 of 6) sorted by relevance

/linux-6.6.21/drivers/misc/vmw_vmci/
Dvmci_datagram.c163 dg_size = VMCI_DG_SIZE(dg); in dg_dispatch_as_host()
323 VMCI_DG_SIZE(dg) > VMCI_MAX_DG_SIZE) { in vmci_datagram_dispatch()
380 memcpy(&dg_info->msg, dg, VMCI_DG_SIZE(dg)); in vmci_datagram_invoke_guest_handler()
Dvmci_guest.c156 if (VMCI_DG_SIZE(dg) > VMCI_MAX_DG_SIZE) in vmci_write_data()
165 memcpy(dg_out_buffer, dg, VMCI_DG_SIZE(dg)); in vmci_write_data()
167 buffer_header->size = VMCI_DG_SIZE(dg); in vmci_write_data()
181 dg, VMCI_DG_SIZE(dg)); in vmci_write_data()
Dvmci_host.c397 if (VMCI_DG_SIZE(dg) != send_info.len) { in vmci_host_do_send_datagram()
439 retval = copy_to_user(ubuf, dg, VMCI_DG_SIZE(dg)); in vmci_host_do_receive_datagram()
Dvmci_context.c303 vmci_dg_size = VMCI_DG_SIZE(dg); in vmci_ctx_enqueue_datagram()
465 WARN_ON(dq_entry->dg_size != VMCI_DG_SIZE(dq_entry->dg)); in ctx_free_ctx()
/linux-6.6.21/include/linux/
Dvmw_vmci_defs.h544 #define VMCI_DG_SIZE(_dg) (VMCI_DG_HEADERSIZE + (size_t)(_dg)->payload_size) macro
545 #define VMCI_DG_SIZE_ALIGNED(_dg) ((VMCI_DG_SIZE(_dg) + 7) & (~((size_t) 0x7)))
/linux-6.6.21/net/vmw_vsock/
Dvmci_transport.c633 size = VMCI_DG_SIZE(dg); in vmci_transport_recv_dgram_cb()
693 if (VMCI_DG_SIZE(dg) < sizeof(*pkt)) in vmci_transport_recv_stream_cb()