Home
last modified time | relevance | path

Searched refs:each_buf_size (Results 1 – 3 of 3) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dring_buffer.cpp64 size_t each_buf_size; // Size of each buffer in bytes member
120 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 …]
Dring_buffer.h45 size_t each_buf_size; member
Drb_wrapper.cpp77 rb_stats.each_buf_size; in get_rb_status()