Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/infiniband/hw/hfi1/
Dvnic_sdma.c135 u16 hdrbytes = 2 << 2; /* PBC */ in build_vnic_tx_desc() local
140 hdrbytes + tx->skb->len + tx->plen, in build_vnic_tx_desc()
155 hdrbytes); in build_vnic_tx_desc()
Dverbs.c841 u16 hdrbytes = (tx->hdr_dwords + sizeof(pbc) / 4) << 2; in build_verbs_tx_desc() local
849 extra_bytes = hfi1_get_16b_padding(hdrbytes - 8, length) + in build_verbs_tx_desc()
856 hdrbytes + length + in build_verbs_tx_desc()
870 hdrbytes); in build_verbs_tx_desc()
881 hdrbytes, in build_verbs_tx_desc()
/Linux-v4.19/drivers/usb/mon/
Dmon_bin.c738 struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, in mon_bin_get_event() argument
756 if (copy_to_user(hdr, ep, hdrbytes)) { in mon_bin_get_event()
804 unsigned int hdrbytes = PKT_SZ_API0; in mon_bin_read() local
822 if (rp->b_read < hdrbytes) { in mon_bin_read()
823 step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); in mon_bin_read()
835 if (rp->b_read >= hdrbytes) { in mon_bin_read()
837 step_len -= rp->b_read - hdrbytes; in mon_bin_read()
841 offset += rp->b_read - hdrbytes; in mon_bin_read()
857 if (rp->b_read >= hdrbytes + ep->len_cap) { in mon_bin_read()