Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dvnic_sdma.c132 u16 hdrbytes = 2 << 2; /* PBC */ in build_vnic_tx_desc() local
137 hdrbytes + tx->skb->len + tx->plen, in build_vnic_tx_desc()
152 hdrbytes); in build_vnic_tx_desc()
Dverbs.c769 u16 hdrbytes = (tx->hdr_dwords + sizeof(pbc) / 4) << 2; in build_verbs_tx_desc() local
777 extra_bytes = hfi1_get_16b_padding(hdrbytes - 8, length) + in build_verbs_tx_desc()
784 hdrbytes + length + in build_verbs_tx_desc()
798 hdrbytes); in build_verbs_tx_desc()
809 hdrbytes, in build_verbs_tx_desc()
/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()