Searched refs:hdrbytes (Results 1 - 2 of 2) sorted by relevance
/linux-4.4.14/drivers/usb/mon/ |
H A D | mon_bin.c | 735 struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, mon_bin_get_event() 753 if (copy_to_user(hdr, ep, hdrbytes)) { mon_bin_get_event() 801 unsigned int hdrbytes = PKT_SZ_API0; mon_bin_read() local 819 if (rp->b_read < hdrbytes) { mon_bin_read() 820 step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); mon_bin_read() 832 if (rp->b_read >= hdrbytes) { mon_bin_read() 834 step_len -= rp->b_read - hdrbytes; mon_bin_read() 838 offset += rp->b_read - hdrbytes; mon_bin_read() 854 if (rp->b_read >= hdrbytes + ep->len_cap) { mon_bin_read() 734 mon_bin_get_event(struct file *file, struct mon_reader_bin *rp, struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, void __user *data, unsigned int nbytes) mon_bin_get_event() argument
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
H A D | verbs.c | 943 u16 hdrbytes = tx->hdr_dwords << 2; build_verbs_tx_desc() local 950 hdrbytes + length, build_verbs_tx_desc() 959 memcpy(&phdr->hdr, &ahdr->ibh, hdrbytes - sizeof(phdr->pbc)); build_verbs_tx_desc() 989 hdrbytes, build_verbs_tx_desc()
|
Completed in 217 milliseconds