Searched refs:rd_buf_no (Results 1 – 1 of 1) sorted by relevance
57 unsigned int rd_buf_no; // Current buffer number to be read from member174 if (rbc->wr_buf_no == rbc->rd_buf_no) { in rb_write()251 if (rbc->rd_buf_no == rbc->wr_buf_no) { in rb_write()266 rbc->bufs[rbc->rd_buf_no].last_wr_index) { in rb_write()268 rbc->rd_buf_no++; in rb_write()269 if (rbc->rd_buf_no == rbc->max_num_bufs) { in rb_write()270 rbc->rd_buf_no = 0; in rb_write()353 if (rbc->bufs[rbc->rd_buf_no].data == NULL) { in rb_read()358 if (rbc->rd_buf_no == rbc->wr_buf_no) { in rb_read()393 (rbc->bufs[rbc->rd_buf_no].data + rbc->cur_rd_buf_idx), in rb_read()[all …]