Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dvnic_sdma.c90 u16 hdrbytes = 2 << 2; /* PBC */ in build_vnic_tx_desc() local
95 hdrbytes + tx->skb->len + tx->plen, in build_vnic_tx_desc()
110 hdrbytes); in build_vnic_tx_desc()
Dverbs.c727 u16 hdrbytes = (tx->hdr_dwords + sizeof(pbc) / 4) << 2; in build_verbs_tx_desc() local
735 extra_bytes = hfi1_get_16b_padding(hdrbytes - 8, length) + in build_verbs_tx_desc()
742 hdrbytes + length + in build_verbs_tx_desc()
756 hdrbytes); in build_verbs_tx_desc()
767 hdrbytes, in build_verbs_tx_desc()
/linux-6.6.21/drivers/usb/mon/
Dmon_bin.c741 struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, in mon_bin_get_event() argument
759 if (copy_to_user(hdr, ep, hdrbytes)) { in mon_bin_get_event()
807 unsigned int hdrbytes = PKT_SZ_API0; in mon_bin_read() local
825 if (rp->b_read < hdrbytes) { in mon_bin_read()
826 step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); in mon_bin_read()
838 if (rp->b_read >= hdrbytes) { in mon_bin_read()
840 step_len -= rp->b_read - hdrbytes; in mon_bin_read()
844 offset += rp->b_read - hdrbytes; in mon_bin_read()
860 if (rp->b_read >= hdrbytes + ep->len_cap) { in mon_bin_read()