Searched refs:VMCI_DG_SIZE (Results 1 – 5 of 5) sorted by relevance
163 dg_size = VMCI_DG_SIZE(dg); in dg_dispatch_as_host()324 VMCI_DG_SIZE(dg) > VMCI_MAX_DG_SIZE) { in vmci_datagram_dispatch()
397 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()
303 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()
544 #define VMCI_DG_SIZE(_dg) (VMCI_DG_HEADERSIZE + (size_t)(_dg)->payload_size) macro545 #define VMCI_DG_SIZE_ALIGNED(_dg) ((VMCI_DG_SIZE(_dg) + 7) & (~((size_t) 0x7)))
633 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()