Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/mon/
H A Dmon_bin.c185 spinlock_t b_lock; /* Protect b_cnt, b_in */
188 unsigned int b_in, b_out; /* Offsets into buffer - bytes */ member
303 offset = rp->b_in; in mon_buff_area_alloc()
305 if ((rp->b_in += size) >= rp->b_size) in mon_buff_area_alloc()
306 rp->b_in -= rp->b_size; in mon_buff_area_alloc()
329 if (rp->b_in + size > rp->b_size) { in mon_buff_area_alloc_contiguous()
335 fill_size = rp->b_size - rp->b_in; in mon_buff_area_alloc_contiguous()
338 mon_buff_area_fill(rp, rp->b_in, fill_size); in mon_buff_area_alloc_contiguous()
341 rp->b_in = size; in mon_buff_area_alloc_contiguous()
343 } else if (rp->b_in in mon_buff_area_alloc_contiguous()
[all...]
/kernel/linux/linux-6.6/drivers/usb/mon/
H A Dmon_bin.c185 spinlock_t b_lock; /* Protect b_cnt, b_in */
188 unsigned int b_in, b_out; /* Offsets into buffer - bytes */ member
306 offset = rp->b_in; in mon_buff_area_alloc()
308 if ((rp->b_in += size) >= rp->b_size) in mon_buff_area_alloc()
309 rp->b_in -= rp->b_size; in mon_buff_area_alloc()
332 if (rp->b_in + size > rp->b_size) { in mon_buff_area_alloc_contiguous()
338 fill_size = rp->b_size - rp->b_in; in mon_buff_area_alloc_contiguous()
341 mon_buff_area_fill(rp, rp->b_in, fill_size); in mon_buff_area_alloc_contiguous()
344 rp->b_in = size; in mon_buff_area_alloc_contiguous()
346 } else if (rp->b_in in mon_buff_area_alloc_contiguous()
[all...]

Completed in 4 milliseconds