Searched refs:cur_copy_len (Results 1 – 1 of 1) sorted by relevance
229 unsigned int cur_copy_len; in rb_write() local244 cur_copy_len = RB_MIN((rbc->each_buf_size - rbc->cur_wr_buf_idx), in rb_write()260 cur_copy_len) { in rb_write()261 push_in_rd_ptr += cur_copy_len - in rb_write()263 rbc->cur_rd_buf_idx = rbc->cur_wr_buf_idx + cur_copy_len; in rb_write()287 cur_copy_len); in rb_write()291 rbc->cur_wr_buf_idx += cur_copy_len; in rb_write()305 if ((rbc->cur_valid_bytes + (cur_copy_len - push_in_rd_ptr)) > in rb_write()313 rbc->cur_valid_bytes += cur_copy_len - push_in_rd_ptr; in rb_write()318 bytes_written += cur_copy_len; in rb_write()