Lines Matching refs:b_cnt
187 unsigned int b_cnt; /* Bytes used */ member
210 #define MON_RING_EMPTY(rp) ((rp)->b_cnt == 0)
304 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc()
307 rp->b_cnt += size; in mon_buff_area_alloc()
330 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc_contiguous()
339 if (rp->b_cnt + size + fill_size > rp->b_size) in mon_buff_area_alloc_contiguous()
345 rp->b_cnt += size + fill_size; in mon_buff_area_alloc_contiguous()
349 rp->b_cnt += size; in mon_buff_area_alloc_contiguous()
353 rp->b_cnt += size; in mon_buff_area_alloc_contiguous()
366 rp->b_cnt -= size; in mon_buff_area_shrink()
380 rp->b_cnt -= size; in mon_buff_area_free()
920 avail = rp->b_cnt; in mon_bin_fetch()
964 avail = rp->b_cnt; in mon_bin_queued()
1054 rp->b_read = rp->b_in = rp->b_out = rp->b_cnt = 0; in mon_bin_ioctl()