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