Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/vmw_vmci/
H A Dvmci_context.c301 size_t vmci_dg_size; in vmci_ctx_enqueue_datagram() local
303 vmci_dg_size = VMCI_DG_SIZE(dg); in vmci_ctx_enqueue_datagram()
304 if (vmci_dg_size > VMCI_MAX_DG_SIZE) { in vmci_ctx_enqueue_datagram()
305 pr_devel("Datagram too large (bytes=%zu)\n", vmci_dg_size); in vmci_ctx_enqueue_datagram()
324 dq_entry->dg_size = vmci_dg_size; in vmci_ctx_enqueue_datagram()
339 if (context->datagram_queue_size + vmci_dg_size >= in vmci_ctx_enqueue_datagram()
345 context->datagram_queue_size + vmci_dg_size >= in vmci_ctx_enqueue_datagram()
356 context->datagram_queue_size += vmci_dg_size; in vmci_ctx_enqueue_datagram()
362 return vmci_dg_size; in vmci_ctx_enqueue_datagram()