Searched refs:each_buf_size (Results 1 – 3 of 3) sorted by relevance
63 size_t each_buf_size; // Size of each buffer in bytes member119 rbc->each_buf_size = size_of_buf; in ring_buffer_init()162 if (record_length > rbc->each_buf_size) { in rb_write()183 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()197 } else if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()215 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) { in rb_write()233 rbc->bufs[rbc->wr_buf_no].data = (u8 *)malloc(rbc->each_buf_size); in rb_write()244 cur_copy_len = RB_MIN((rbc->each_buf_size - rbc->cur_wr_buf_idx), in rb_write()292 if (rbc->cur_wr_buf_idx == rbc->each_buf_size) { in rb_write()306 (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()