Lines Matching refs:b_read
189 unsigned int b_read; /* Amount of read data in curr. pkt. */ member
772 rp->b_read = 0; in mon_bin_get_event()
822 if (rp->b_read < hdrbytes) { in mon_bin_read()
823 step_len = min(nbytes, (size_t)(hdrbytes - rp->b_read)); in mon_bin_read()
824 ptr = ((char *)ep) + rp->b_read; in mon_bin_read()
831 rp->b_read += step_len; in mon_bin_read()
835 if (rp->b_read >= hdrbytes) { in mon_bin_read()
837 step_len -= rp->b_read - hdrbytes; in mon_bin_read()
841 offset += rp->b_read - hdrbytes; in mon_bin_read()
850 rp->b_read += step_len; in mon_bin_read()
857 if (rp->b_read >= hdrbytes + ep->len_cap) { in mon_bin_read()
861 rp->b_read = 0; in mon_bin_read()
888 rp->b_read = 0; in mon_bin_flush()
1051 rp->b_read = rp->b_in = rp->b_out = rp->b_cnt = 0; in mon_bin_ioctl()