Searched refs:cur_wr_buf_idx (Results 1 - 1 of 1) sorted by relevance

/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dring_buffer.cpp59 unsigned int cur_wr_buf_idx; // Write index within the current write buffer member in struct:ring_buf_cb
174 if ((rbc->cur_wr_buf_idx == rbc->cur_rd_buf_idx) &&
177 } else if (rbc->cur_wr_buf_idx < rbc->cur_rd_buf_idx) {
179 (rbc->cur_rd_buf_idx - rbc->cur_wr_buf_idx)) {
183 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) {
197 } else if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) {
215 if (record_length > (rbc->each_buf_size - rbc->cur_wr_buf_idx)) {
217 rbc->bufs[rbc->wr_buf_no].last_wr_index = rbc->cur_wr_buf_idx;
222 rbc->cur_wr_buf_idx = 0;
244 cur_copy_len = RB_MIN((rbc->each_buf_size - rbc->cur_wr_buf_idx),
[all...]

Completed in 96 milliseconds