Searched refs:max_num_bufs (Results 1 – 3 of 3) sorted by relevance
63 unsigned int max_num_bufs; // Maximum number of buffers that should be used member121 rbc->max_num_bufs = num_bufs; in ring_buffer_init()143 for (buf_no = 0; buf_no < rbc->max_num_bufs; buf_no++) { in ring_buffer_deinit()190 if (next_buf_no >= rbc->max_num_bufs) { in rb_write()204 if (next_buf_no >= rbc->max_num_bufs) { in rb_write()220 if (rbc->wr_buf_no == rbc->max_num_bufs) { in rb_write()269 if (rbc->rd_buf_no == rbc->max_num_bufs) { in rb_write()298 if (rbc->wr_buf_no == rbc->max_num_bufs) { in rb_write()307 (rbc->max_num_bufs * rbc->each_buf_size)) { in rb_write()405 if (rbc->rd_buf_no == rbc->max_num_bufs) { in rb_read()[all …]
44 unsigned int max_num_bufs; member
76 rbs->ring_buffer_byte_size = rb_stats.max_num_bufs * in get_rb_status()