Searched refs:hdrbytes (Results 1 – 2 of 2) sorted by relevance
735 struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, in mon_bin_get_event() argument753 if (copy_to_user(hdr, ep, hdrbytes)) { in mon_bin_get_event()801 unsigned int hdrbytes = PKT_SZ_API0; in mon_bin_read() local819 if (rp->b_read < hdrbytes) { in mon_bin_read()820 step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); in mon_bin_read()832 if (rp->b_read >= hdrbytes) { in mon_bin_read()834 step_len -= rp->b_read - hdrbytes; in mon_bin_read()838 offset += rp->b_read - hdrbytes; in mon_bin_read()854 if (rp->b_read >= hdrbytes + ep->len_cap) { in mon_bin_read()
943 u16 hdrbytes = tx->hdr_dwords << 2; in build_verbs_tx_desc() local950 hdrbytes + length, in build_verbs_tx_desc()959 memcpy(&phdr->hdr, &ahdr->ibh, hdrbytes - sizeof(phdr->pbc)); in build_verbs_tx_desc()989 hdrbytes, in build_verbs_tx_desc()