Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/mon/
Dmon_bin.c189 unsigned int b_read; /* Amount of read data in curr. pkt. */ member
775 rp->b_read = 0; in mon_bin_get_event()
825 if (rp->b_read < hdrbytes) { in mon_bin_read()
826 step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); in mon_bin_read()
827 ptr = ((char *)ep) + rp->b_read; in mon_bin_read()
834 rp->b_read += step_len; in mon_bin_read()
838 if (rp->b_read >= hdrbytes) { in mon_bin_read()
840 step_len -= rp->b_read - hdrbytes; in mon_bin_read()
844 offset += rp->b_read - hdrbytes; in mon_bin_read()
853 rp->b_read += step_len; in mon_bin_read()
[all …]