Home
last modified time | relevance | path

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

/linux/drivers/infiniband/hw/hfi1/
H A 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()
H A 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/drivers/usb/mon/
H A Dmon_bin.c743 struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, in mon_bin_get_event() argument
761 if (copy_to_user(hdr, ep, hdrbytes)) { in mon_bin_get_event()
809 unsigned int hdrbytes = PKT_SZ_API0; in mon_bin_read() local
827 if (rp->b_read < hdrbytes) { in mon_bin_read()
828 step_len = min_t(size_t, nbytes, hdrbytes - rp->b_read); in mon_bin_read()
840 if (rp->b_read >= hdrbytes) { in mon_bin_read()
842 step_len -= rp->b_read - hdrbytes; in mon_bin_read()
846 offset += rp->b_read - hdrbytes; in mon_bin_read()
862 if (rp->b_read >= hdrbytes + ep->len_cap) { in mon_bin_read()