Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/misc/vmw_vmci/
Dvmci_context.c303 size_t vmci_dg_size; in vmci_ctx_enqueue_datagram() local
305 vmci_dg_size = VMCI_DG_SIZE(dg); in vmci_ctx_enqueue_datagram()
306 if (vmci_dg_size > VMCI_MAX_DG_SIZE) { in vmci_ctx_enqueue_datagram()
307 pr_devel("Datagram too large (bytes=%zu)\n", vmci_dg_size); in vmci_ctx_enqueue_datagram()
326 dq_entry->dg_size = vmci_dg_size; in vmci_ctx_enqueue_datagram()
341 if (context->datagram_queue_size + vmci_dg_size >= in vmci_ctx_enqueue_datagram()
347 context->datagram_queue_size + vmci_dg_size >= in vmci_ctx_enqueue_datagram()
358 context->datagram_queue_size += vmci_dg_size; in vmci_ctx_enqueue_datagram()
364 return vmci_dg_size; in vmci_ctx_enqueue_datagram()