Lines Matching refs:buf_cnt
87 size_t buf_cnt; member
117 return rctx->sg_data_total + rctx->buf_cnt; in kmb_get_total_data()
125 if (rctx->sg_data_total > (sizeof(rctx->buffer) - rctx->buf_cnt)) { in flush_sg_to_ocs_buffer()
152 scatterwalk_map_and_copy(&rctx->buffer[rctx->buf_cnt], in flush_sg_to_ocs_buffer()
158 rctx->buf_cnt += count; in flush_sg_to_ocs_buffer()
274 if (rctx->buf_cnt) { in kmb_ocs_dma_prepare()
276 rctx->buf_cnt, in kmb_ocs_dma_prepare()
283 rctx->buf_dma_count = rctx->buf_cnt; in kmb_ocs_dma_prepare()
382 WARN(rctx->buf_cnt, "%s: Context buffer is not empty\n", __func__); in prepare_ipad()
406 rctx->buf_cnt = rctx->blk_sz; in prepare_ipad()
477 rctx->buf_cnt = 0; in kmb_ocs_hcu_do_one_request()
644 if (rctx->sg_data_total <= (sizeof(rctx->buffer) - rctx->buf_cnt)) in kmb_ocs_hcu_update()