Home
last modified time | relevance | path

Searched refs:b_out (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/mon/
H A Dmon_bin.c188 unsigned int b_in, b_out; /* Offsets into buffer - bytes */ member
193 struct mutex fetch_lock; /* Protect b_read, b_out */
371 * it accesses both b_cnt and b_out.
378 if ((rp->b_out += size) >= rp->b_size) in mon_buff_area_free()
379 rp->b_out -= rp->b_size; in mon_buff_area_free()
754 ep = MON_OFF2HDR(rp, rp->b_out); in mon_bin_get_event()
762 if ((offset = rp->b_out + PKT_SIZE) >= rp->b_size) offset = 0; in mon_bin_get_event()
820 ep = MON_OFF2HDR(rp, rp->b_out); in mon_bin_read()
840 offset = rp->b_out + PKT_SIZE; in mon_bin_read()
884 ep = MON_OFF2HDR(rp, rp->b_out); in mon_bin_flush()
[all...]
/kernel/linux/linux-6.6/drivers/usb/mon/
H A Dmon_bin.c188 unsigned int b_in, b_out; /* Offsets into buffer - bytes */ member
193 struct mutex fetch_lock; /* Protect b_read, b_out */
374 * it accesses both b_cnt and b_out.
381 if ((rp->b_out += size) >= rp->b_size) in mon_buff_area_free()
382 rp->b_out -= rp->b_size; in mon_buff_area_free()
757 ep = MON_OFF2HDR(rp, rp->b_out); in mon_bin_get_event()
765 if ((offset = rp->b_out + PKT_SIZE) >= rp->b_size) offset = 0; in mon_bin_get_event()
823 ep = MON_OFF2HDR(rp, rp->b_out); in mon_bin_read()
843 offset = rp->b_out + PKT_SIZE; in mon_bin_read()
887 ep = MON_OFF2HDR(rp, rp->b_out); in mon_bin_flush()
[all...]

Completed in 4 milliseconds