Lines Matching refs:dst_nents

2097 	int dst_nents;  member
2121 int dst_nents; member
2132 bool src_chained, int dst_nents, bool dst_chained, in caam_unmap() argument
2139 dma_unmap_sg_chained(dev, dst, dst_nents ? : 1, DMA_FROM_DEVICE, in caam_unmap()
2164 edesc->src_nents, edesc->src_chained, edesc->dst_nents, in aead_unmap()
2177 edesc->src_nents, edesc->src_chained, edesc->dst_nents, in ablkcipher_unmap()
2301 edesc->dst_nents > 1 ? 100 : req->nbytes, 1); in ablkcipher_encrypt_done()
2333 edesc->dst_nents > 1 ? 100 : req->nbytes, 1); in ablkcipher_decrypt_done()
2410 if (!edesc->dst_nents) { in init_aead_job()
2549 if (!edesc->dst_nents) { in init_ablkcipher_job()
2620 int assoc_nents, src_nents, dst_nents = 0; in aead_edesc_alloc() local
2635 dst_nents = sg_count(req->dst, in aead_edesc_alloc()
2654 sgc = dma_map_sg_chained(jrdev, req->dst, dst_nents ? : 1, in aead_edesc_alloc()
2689 sec4_sg_len += dst_nents; in aead_edesc_alloc()
2705 edesc->dst_nents = dst_nents; in aead_edesc_alloc()
2741 if (dst_nents) { in aead_edesc_alloc()
2742 sg_to_sec4_sg_last(req->dst, dst_nents, in aead_edesc_alloc()
2848 int assoc_nents, src_nents, dst_nents = 0; in aead_giv_edesc_alloc() local
2862 dst_nents = sg_count(req->dst, req->cryptlen + ctx->authsize, in aead_giv_edesc_alloc()
2873 sgc = dma_map_sg_chained(jrdev, req->dst, dst_nents ? : 1, in aead_giv_edesc_alloc()
2907 if (dst_nents || iv_dma + ivsize != sg_dma_address(req->dst)) in aead_giv_edesc_alloc()
2927 dst_nents = dst_nents ? : 1; in aead_giv_edesc_alloc()
2928 sec4_sg_len += 1 + dst_nents; in aead_giv_edesc_alloc()
2945 edesc->dst_nents = dst_nents; in aead_giv_edesc_alloc()
2989 sg_to_sec4_sg_last(req->dst, dst_nents, in aead_giv_edesc_alloc()
3065 int src_nents, dst_nents = 0, sec4_sg_bytes; in ablkcipher_edesc_alloc() local
3077 dst_nents = sg_count(req->dst, req->nbytes, &dst_chained); in ablkcipher_edesc_alloc()
3085 sgc = dma_map_sg_chained(jrdev, req->dst, dst_nents ? : 1, in ablkcipher_edesc_alloc()
3103 sec4_sg_bytes = ((iv_contig ? 0 : 1) + src_nents + dst_nents) * in ablkcipher_edesc_alloc()
3116 edesc->dst_nents = dst_nents; in ablkcipher_edesc_alloc()
3130 if (dst_nents) { in ablkcipher_edesc_alloc()
3131 sg_to_sec4_sg_last(req->dst, dst_nents, in ablkcipher_edesc_alloc()
3244 int src_nents, dst_nents = 0, sec4_sg_bytes; in ablkcipher_giv_edesc_alloc() local
3256 dst_nents = sg_count(req->dst, req->nbytes, &dst_chained); in ablkcipher_giv_edesc_alloc()
3264 sgc = dma_map_sg_chained(jrdev, req->dst, dst_nents ? : 1, in ablkcipher_giv_edesc_alloc()
3278 if (!dst_nents && iv_dma + ivsize == sg_dma_address(req->dst)) in ablkcipher_giv_edesc_alloc()
3281 dst_nents = dst_nents ? : 1; in ablkcipher_giv_edesc_alloc()
3282 sec4_sg_bytes = ((iv_contig ? 0 : 1) + src_nents + dst_nents) * in ablkcipher_giv_edesc_alloc()
3295 edesc->dst_nents = dst_nents; in ablkcipher_giv_edesc_alloc()
3311 sg_to_sec4_sg_last(req->dst, dst_nents, in ablkcipher_giv_edesc_alloc()