Lines Matching refs:bufcnt
130 size_t bufcnt;
300 while ((rctx->bufcnt < rctx->buflen) && rctx->total) {
302 count = min(count, rctx->buflen - rctx->bufcnt);
313 scatterwalk_map_and_copy(rctx->buffer + rctx->bufcnt, rctx->sg,
316 rctx->bufcnt += count;
382 int bufcnt, err = 0, final;
389 (rctx->bufcnt + rctx->total >= rctx->buflen)) {
391 bufcnt = rctx->bufcnt;
392 rctx->bufcnt = 0;
393 err = stm32_hash_xmit_cpu(hdev, rctx->buffer, bufcnt, 0);
399 bufcnt = rctx->bufcnt;
400 rctx->bufcnt = 0;
401 err = stm32_hash_xmit_cpu(hdev, rctx->buffer, bufcnt,
710 rctx->bufcnt = 0;
736 int buflen = rctx->bufcnt;
738 rctx->bufcnt = 0;
908 if ((rctx->bufcnt + rctx->total < rctx->buflen)) {