Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/firewire/
Dnet.c96 unsigned ether_type, unsigned dg_size, unsigned dgl) in fwnet_make_ff_hdr() argument
99 | fwnet_set_hdr_dg_size(dg_size) in fwnet_make_ff_hdr()
105 unsigned lf, unsigned dg_size, unsigned fg_off, unsigned dgl) in fwnet_make_sf_hdr() argument
108 | fwnet_set_hdr_dg_size(dg_size) in fwnet_make_sf_hdr()
353 struct fwnet_peer *peer, u16 datagram_label, unsigned dg_size, in fwnet_pd_new() argument
369 new->datagram_size = dg_size; in fwnet_pd_new()
370 new->skb = dev_alloc_skb(dg_size + LL_RESERVED_SPACE(net)); in fwnet_pd_new()
375 new->pbuf = skb_put(new->skb, dg_size); in fwnet_pd_new()
570 int dg_size; in fwnet_incoming_packet() local
619 dg_size = fwnet_get_hdr_dg_size(&hdr); in fwnet_incoming_packet()
[all …]
/Linux-v6.6/drivers/misc/vmw_vmci/
Dvmci_datagram.c160 size_t dg_size; in dg_dispatch_as_host() local
163 dg_size = VMCI_DG_SIZE(dg); in dg_dispatch_as_host()
237 memcpy(&dg_info->msg, dg, dg_size); in dg_dispatch_as_host()
271 new_dg = kmemdup(dg, dg_size, GFP_KERNEL); in dg_dispatch_as_host()
286 return (int)dg_size; in dg_dispatch_as_host()
Dvmci_datagram.h28 size_t dg_size; /* Size of datagram. */ member
Dvmci_context.c324 dq_entry->dg_size = vmci_dg_size; in vmci_ctx_enqueue_datagram()
465 WARN_ON(dq_entry->dg_size != VMCI_DG_SIZE(dq_entry->dg)); in ctx_free_ctx()
531 if (*max_size < dq_entry->dg_size) { in vmci_ctx_dequeue_datagram()
532 *max_size = dq_entry->dg_size; in vmci_ctx_dequeue_datagram()
541 context->datagram_queue_size -= dq_entry->dg_size; in vmci_ctx_dequeue_datagram()
560 rv = (int)next_entry->dg_size; in vmci_ctx_dequeue_datagram()