Searched refs:wr_buf_no (Results 1 – 1 of 1) sorted by relevance
58 unsigned int wr_buf_no; // Current buffer number to be written into member171 if (rbc->bufs[rbc->wr_buf_no].full == 1) in rb_write()174 if (rbc->wr_buf_no == rbc->rd_buf_no) { in rb_write()188 unsigned int next_buf_no = rbc->wr_buf_no + 1; in rb_write()202 unsigned int next_buf_no = rbc->wr_buf_no + 1; in rb_write()217 rbc->bufs[rbc->wr_buf_no].full = 1; in rb_write()218 rbc->bufs[rbc->wr_buf_no].last_wr_index = rbc->cur_wr_buf_idx; in rb_write()219 rbc->wr_buf_no++; in rb_write()220 if (rbc->wr_buf_no == rbc->max_num_bufs) { in rb_write()221 rbc->wr_buf_no = 0; in rb_write()[all …]