Lines Matching refs:b_cnt
184 unsigned int b_cnt; /* Bytes used */ member
207 #define MON_RING_EMPTY(rp) ((rp)->b_cnt == 0)
298 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc()
301 rp->b_cnt += size; in mon_buff_area_alloc()
324 if (rp->b_cnt + size > rp->b_size) in mon_buff_area_alloc_contiguous()
333 if (rp->b_cnt + size + fill_size > rp->b_size) in mon_buff_area_alloc_contiguous()
339 rp->b_cnt += size + fill_size; in mon_buff_area_alloc_contiguous()
343 rp->b_cnt += size; in mon_buff_area_alloc_contiguous()
347 rp->b_cnt += size; in mon_buff_area_alloc_contiguous()
360 rp->b_cnt -= size; in mon_buff_area_shrink()
374 rp->b_cnt -= size; in mon_buff_area_free()
914 avail = rp->b_cnt; in mon_bin_fetch()
958 avail = rp->b_cnt; in mon_bin_queued()
1047 rp->b_read = rp->b_in = rp->b_out = rp->b_cnt = 0; in mon_bin_ioctl()