Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/usb/mon/
Dmon_bin.c734 struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, in mon_bin_get_event() argument
752 if (copy_to_user(hdr, ep, hdrbytes)) { in mon_bin_get_event()
800 unsigned int hdrbytes = PKT_SZ_API0; in mon_bin_read() local
818 if (rp->b_read < hdrbytes) { in mon_bin_read()
819 step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); in mon_bin_read()
831 if (rp->b_read >= hdrbytes) { in mon_bin_read()
833 step_len -= rp->b_read - hdrbytes; in mon_bin_read()
837 offset += rp->b_read - hdrbytes; in mon_bin_read()
853 if (rp->b_read >= hdrbytes + ep->len_cap) { in mon_bin_read()