Searched refs:cur_rd_buf_idx (Results 1 – 1 of 1) sorted by relevance
59 unsigned int cur_rd_buf_idx; // Read index within the current read buffer member175 if ((rbc->cur_wr_buf_idx == rbc->cur_rd_buf_idx) && in rb_write()178 } else if (rbc->cur_wr_buf_idx < rbc->cur_rd_buf_idx) { in rb_write()180 (rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx)) { in rb_write()252 if ((rbc->cur_rd_buf_idx > rbc->cur_wr_buf_idx) || in rb_write()253 ((rbc->cur_rd_buf_idx == rbc->cur_wr_buf_idx) && in rb_write()260 if ((rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx) < in rb_write()263 (rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx); in rb_write()264 rbc->cur_rd_buf_idx = rbc->cur_wr_buf_idx + cur_copy_len; in rb_write()265 if (rbc->cur_rd_buf_idx >= in rb_write()[all …]