Home
last modified time | relevance | path

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

/linux/drivers/usb/mon/
H A Dmon_bin.c743 struct mon_bin_hdr __user *hdr, unsigned int hdrbytes, in mon_bin_get_event() argument
761 if (copy_to_user(hdr, ep, hdrbytes)) { in mon_bin_get_event()
809 unsigned int hdrbytes = PKT_SZ_API0; in mon_bin_read() local
827 if (rp->b_read < hdrbytes) { in mon_bin_read()
828 step_len = min_t(size_t, nbytes, hdrbytes - rp->b_read); in mon_bin_read()
840 if (rp->b_read >= hdrbytes) { in mon_bin_read()
842 step_len -= rp->b_read - hdrbytes; in mon_bin_read()
846 offset += rp->b_read - hdrbytes; in mon_bin_read()
862 if (rp->b_read >= hdrbytes + ep->len_cap) { in mon_bin_read()