Searched refs:VMCI_DG_SIZE (Results 1 – 6 of 6) sorted by relevance
163 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()
156 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()
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()