Lines Matching refs:buflen
202 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); in qce_import_common()
245 total = req->nbytes + rctx->buflen; in qce_ahash_update()
248 scatterwalk_map_and_copy(rctx->buf + rctx->buflen, req->src, in qce_ahash_update()
250 rctx->buflen += req->nbytes; in qce_ahash_update()
262 if (rctx->buflen) in qce_ahash_update()
263 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_update()
276 len = rctx->buflen; in qce_ahash_update()
292 if (rctx->buflen) { in qce_ahash_update()
294 sg_set_buf(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_update()
300 rctx->buflen = hash_later; in qce_ahash_update()
311 if (!rctx->buflen) in qce_ahash_final()
319 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_final()
320 sg_init_one(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_final()
323 req->nbytes = rctx->buflen; in qce_ahash_final()