Searched refs:rd_buf_no (Results 1 – 1 of 1) sorted by relevance
56 unsigned int rd_buf_no; // Current buffer number to be read from member173 if (rbc->wr_buf_no == rbc->rd_buf_no) { in rb_write()250 if (rbc->rd_buf_no == rbc->wr_buf_no) { in rb_write()265 rbc->bufs[rbc->rd_buf_no].last_wr_index) { in rb_write()267 rbc->rd_buf_no++; in rb_write()268 if (rbc->rd_buf_no == rbc->max_num_bufs) { in rb_write()269 rbc->rd_buf_no = 0; in rb_write()352 if (rbc->bufs[rbc->rd_buf_no].data == NULL) { in rb_read()357 if (rbc->rd_buf_no == rbc->wr_buf_no) { in rb_read()392 (rbc->bufs[rbc->rd_buf_no].data + rbc->cur_rd_buf_idx), in rb_read()[all …]