Lines Matching refs:total
229 int total, i; in aspeed_sk_start_sg() local
269 total = req->cryptlen; in aspeed_sk_start_sg()
275 if (total > len) in aspeed_sk_start_sg()
276 total -= len; in aspeed_sk_start_sg()
279 len = total; in aspeed_sk_start_sg()
281 total = 0; in aspeed_sk_start_sg()
288 if (total != 0) { in aspeed_sk_start_sg()
300 total = req->cryptlen; in aspeed_sk_start_sg()
306 if (total > len) in aspeed_sk_start_sg()
307 total -= len; in aspeed_sk_start_sg()
310 len = total; in aspeed_sk_start_sg()
312 total = 0; in aspeed_sk_start_sg()
324 if (total != 0) { in aspeed_sk_start_sg()