Searched refs:cur_rd_buf_idx (Results 1 – 1 of 1) sorted by relevance
58 unsigned int cur_rd_buf_idx; // Read index within the current read buffer member174 if ((rbc->cur_wr_buf_idx == rbc->cur_rd_buf_idx) && in rb_write()177 } else if (rbc->cur_wr_buf_idx < rbc->cur_rd_buf_idx) { in rb_write()179 (rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx)) { in rb_write()251 if ((rbc->cur_rd_buf_idx > rbc->cur_wr_buf_idx) || in rb_write()252 ((rbc->cur_rd_buf_idx == rbc->cur_wr_buf_idx) && in rb_write()259 if ((rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx) < in rb_write()262 (rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx); in rb_write()263 rbc->cur_rd_buf_idx = rbc->cur_wr_buf_idx + cur_copy_len; in rb_write()264 if (rbc->cur_rd_buf_idx >= in rb_write()[all …]