Lines Matching refs:plen
164 int plen = min_t(int, used, sg[i].length); in skcipher_pull_sgl() local
169 sg[i].length -= plen; in skcipher_pull_sgl()
170 sg[i].offset += plen; in skcipher_pull_sgl()
172 used -= plen; in skcipher_pull_sgl()
173 ctx->used -= plen; in skcipher_pull_sgl()
348 int plen; in skcipher_sendmsg() local
391 plen = min_t(int, len, PAGE_SIZE); in skcipher_sendmsg()
399 msg, plen); in skcipher_sendmsg()
406 sg[i].length = plen; in skcipher_sendmsg()
407 len -= plen; in skcipher_sendmsg()
408 ctx->used += plen; in skcipher_sendmsg()
409 copied += plen; in skcipher_sendmsg()
410 size -= plen; in skcipher_sendmsg()
417 ctx->merge = plen & (PAGE_SIZE - 1); in skcipher_sendmsg()