Home
last modified time | relevance | path

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

/drivers/firewire/
Dnet.c95 unsigned ether_type, unsigned dg_size, unsigned dgl) in fwnet_make_ff_hdr() argument
98 | fwnet_set_hdr_dg_size(dg_size) in fwnet_make_ff_hdr()
104 unsigned lf, unsigned dg_size, unsigned fg_off, unsigned dgl) in fwnet_make_sf_hdr() argument
107 | fwnet_set_hdr_dg_size(dg_size) in fwnet_make_sf_hdr()
361 struct fwnet_peer *peer, u16 datagram_label, unsigned dg_size, in fwnet_pd_new() argument
377 new->datagram_size = dg_size; in fwnet_pd_new()
378 new->skb = dev_alloc_skb(dg_size + LL_RESERVED_SPACE(net)); in fwnet_pd_new()
383 new->pbuf = skb_put(new->skb, dg_size); in fwnet_pd_new()
580 int dg_size; in fwnet_incoming_packet() local
629 dg_size = fwnet_get_hdr_dg_size(&hdr); in fwnet_incoming_packet()
[all …]
/drivers/misc/vmw_vmci/
Dvmci_datagram.c168 size_t dg_size; in dg_dispatch_as_host() local
171 dg_size = VMCI_DG_SIZE(dg); in dg_dispatch_as_host()
245 memcpy(&dg_info->msg, dg, dg_size); in dg_dispatch_as_host()
279 new_dg = kmemdup(dg, dg_size, GFP_KERNEL); in dg_dispatch_as_host()
294 return (int)dg_size; in dg_dispatch_as_host()
Dvmci_context.c331 dq_entry->dg_size = vmci_dg_size; in vmci_ctx_enqueue_datagram()
472 WARN_ON(dq_entry->dg_size != VMCI_DG_SIZE(dq_entry->dg)); in ctx_free_ctx()
538 if (*max_size < dq_entry->dg_size) { in vmci_ctx_dequeue_datagram()
539 *max_size = dq_entry->dg_size; in vmci_ctx_dequeue_datagram()
548 context->datagram_queue_size -= dq_entry->dg_size; in vmci_ctx_dequeue_datagram()
567 rv = (int)next_entry->dg_size; in vmci_ctx_dequeue_datagram()
Dvmci_datagram.h36 size_t dg_size; /* Size of datagram. */ member