Searched refs:each_buf_size (Results 1 – 3 of 3) sorted by relevance
64 size_t each_buf_size; // Size of each buffer in bytes member120 rbc->each_buf_size = size_of_buf; in ring_buffer_init()163 if (record_length > rbc->each_buf_size) { in rb_write()184 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()198 } else if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()216 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()234 rbc->bufs[rbc->wr_buf_no].data = (u8 *)malloc(rbc->each_buf_size); in rb_write()245 cur_copy_len = RB_MIN((rbc->each_buf_size - rbc->cur_wr_buf_idx), in rb_write()293 if (rbc->cur_wr_buf_idx == rbc->each_buf_size) { in rb_write()307 (rbc->max_num_bufs * rbc->each_buf_size)) { in rb_write()[all …]
45 size_t each_buf_size; member
77 rb_stats.each_buf_size; in get_rb_status()