Home
last modified time | relevance | path

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

/hardware/qcom/wlan/qcwcn/wifi_hal/
Dring_buffer.cpp441 unsigned int cur_read_len = 0; in rb_get_read_buf() local
476 cur_read_len = rbc->cur_wr_buf_idx - rbc->cur_rd_buf_idx; in rb_get_read_buf()
479 cur_read_len = rbc->bufs[rbc->rd_buf_no].last_wr_index - rbc->cur_rd_buf_idx; in rb_get_read_buf()
484 cur_read_len = rbc->bufs[rbc->rd_buf_no].last_wr_index; in rb_get_read_buf()
487 cur_read_len = rbc->bufs[rbc->rd_buf_no].last_wr_index - rbc->cur_rd_buf_idx; in rb_get_read_buf()
508 buf = (u8 *)malloc(cur_read_len); in rb_get_read_buf()
517 cur_read_len); in rb_get_read_buf()
532 rbc->cur_rd_buf_idx += cur_read_len; in rb_get_read_buf()
536 rbc->total_bytes_read += cur_read_len; in rb_get_read_buf()
537 if (rbc->cur_valid_bytes < cur_read_len) { in rb_get_read_buf()
[all …]