Lines Matching defs:total
164 unsigned int total;
337 while ((state->bufcnt < state->blocklen) && rctx->total) {
338 count = min(rctx->sg->length - rctx->offset, rctx->total);
355 rctx->total -= count;
362 rctx->total = 0;
480 while ((rctx->total >= state->blocklen) ||
481 (state->bufcnt + rctx->total >= state->blocklen)) {
661 rctx->total = hdev->req->nbytes;
679 if (sg_is_last(sg) || (bufcnt + sg[0].length) >= rctx->total) {
680 sg->length = rctx->total - bufcnt;
688 rctx->total - sg->length + len);
860 rctx->total = 0;
1076 rctx->total = req->nbytes;
1080 if ((state->bufcnt + rctx->total < state->blocklen)) {
1109 rctx->total = req->nbytes;