Lines Matching refs:buflen
206 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); in qce_import_common()
249 total = req->nbytes + rctx->buflen; in qce_ahash_update()
252 scatterwalk_map_and_copy(rctx->buf + rctx->buflen, req->src, in qce_ahash_update()
254 rctx->buflen += req->nbytes; in qce_ahash_update()
266 if (rctx->buflen) in qce_ahash_update()
267 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_update()
280 len = rctx->buflen; in qce_ahash_update()
296 if (rctx->buflen) { in qce_ahash_update()
298 sg_set_buf(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_update()
304 rctx->buflen = hash_later; in qce_ahash_update()
315 if (!rctx->buflen) in qce_ahash_final()
323 memcpy(rctx->tmpbuf, rctx->buf, rctx->buflen); in qce_ahash_final()
324 sg_init_one(rctx->sg, rctx->tmpbuf, rctx->buflen); in qce_ahash_final()
327 req->nbytes = rctx->buflen; in qce_ahash_final()