Lines Matching defs:total
165 unsigned int total;
357 while ((state->bufcnt < state->blocklen) && rctx->total) {
358 count = min(rctx->sg->length - rctx->offset, rctx->total);
375 rctx->total -= count;
382 rctx->total = 0;
498 while ((rctx->total >= state->blocklen) ||
499 (state->bufcnt + rctx->total >= state->blocklen)) {
667 dev_dbg(hdev->dev, "%s total: %d bufcnt: %d final: %d\n",
668 __func__, rctx->total, rctx->state.bufcnt, final);
686 if (sg_is_last(sg) || (bufcnt + sg[0].length) >= rctx->total) {
697 sg->length = rctx->total - bufcnt;
704 rctx->total - sg->length + len);
736 rctx->total -= len;
881 rctx->total = 0;
898 dev_dbg(hdev->dev, "update_req: total: %u, digcnt: %zd, final: 0",
899 rctx->total, rctx->digcnt);
1122 min(new_len, rctx->total) - state->bufcnt, 0);
1130 rctx->total = new_len;
1238 rctx->total = new_len;
1283 "%s: nbytes=%d, bs=%d, total=%d, offset=%d, bufcnt=%d\n",
1284 __func__, nbytes, bs, rctx->total, rctx->offset, state->bufcnt);
1289 rctx->total = nbytes;
1310 hash_later = nbytes - rctx->total;
1331 rctx->total = min(nbytes, rctx->total);
1401 rctx->total = req->nbytes;
1405 if ((state->bufcnt + rctx->total < state->blocklen)) {
1442 rctx->total = req->nbytes;