Lines Matching refs:b_cnt
187 unsigned int b_cnt; /* Bytes used */ member
210 #define MON_RING_EMPTY(rp) ((rp)->b_cnt == 0)
301 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc()
304 rp->b_cnt += size; in mon_buff_area_alloc()
327 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc_contiguous()
336 if (rp->b_cnt + size + fill_size > rp->b_size) in mon_buff_area_alloc_contiguous()
342 rp->b_cnt += size + fill_size; in mon_buff_area_alloc_contiguous()
346 rp->b_cnt += size; in mon_buff_area_alloc_contiguous()
350 rp->b_cnt += size; in mon_buff_area_alloc_contiguous()
363 rp->b_cnt -= size; in mon_buff_area_shrink()
377 rp->b_cnt -= size; in mon_buff_area_free()
917 avail = rp->b_cnt; in mon_bin_fetch()
961 avail = rp->b_cnt; in mon_bin_queued()
1051 rp->b_read = rp->b_in = rp->b_out = rp->b_cnt = 0; in mon_bin_ioctl()