Lines Matching refs:buf_cnt
64 * @buf_cnt: Number of bytes currently stored in the buffer.
87 size_t buf_cnt;
117 return rctx->sg_data_total + rctx->buf_cnt;
125 if (rctx->sg_data_total > (sizeof(rctx->buffer) - rctx->buf_cnt)) {
152 scatterwalk_map_and_copy(&rctx->buffer[rctx->buf_cnt],
158 rctx->buf_cnt += count;
274 if (rctx->buf_cnt) {
276 rctx->buf_cnt,
283 rctx->buf_dma_count = rctx->buf_cnt;
382 WARN(rctx->buf_cnt, "%s: Context buffer is not empty\n", __func__);
406 rctx->buf_cnt = rctx->blk_sz;
477 rctx->buf_cnt = 0;
644 if (rctx->sg_data_total <= (sizeof(rctx->buffer) - rctx->buf_cnt))