Lines Matching refs:dst_nents
805 int dst_nents; member
843 unsigned int dst_nents = edesc->dst_nents ? : 1; in talitos_sg_unmap() local
856 dma_unmap_sg(dev, dst, dst_nents, in talitos_sg_unmap()
905 edesc->dst_nents + 2]; in ipsec_esp_encrypt_done()
906 sg = sg_last(areq->dst, edesc->dst_nents); in ipsec_esp_encrypt_done()
935 edesc->dst_nents + 2]; in ipsec_esp_decrypt_swauth_done()
939 sg = sg_last(req->dst, edesc->dst_nents ? : 1); in ipsec_esp_decrypt_swauth_done()
1083 edesc->dst_nents ? : 1, in ipsec_esp()
1109 (edesc->src_nents + edesc->dst_nents + 2) * in ipsec_esp()
1219 int src_nents, dst_nents, alloc_len, dma_len; in talitos_edesc_alloc() local
1233 dst_nents = 0; in talitos_edesc_alloc()
1236 dst_nents = src_nents; in talitos_edesc_alloc()
1238 dst_nents = sg_count(dst, cryptlen + authsize, in talitos_edesc_alloc()
1240 dst_nents = (dst_nents == 1) ? 0 : dst_nents; in talitos_edesc_alloc()
1250 if (src_nents || dst_nents) { in talitos_edesc_alloc()
1251 dma_len = (src_nents + dst_nents + 2) * in talitos_edesc_alloc()
1266 edesc->dst_nents = dst_nents; in talitos_edesc_alloc()
1324 ((!edesc->src_nents && !edesc->dst_nents) || in aead_decrypt()
1346 edesc->dst_nents + 2]; in aead_decrypt()
1498 edesc->dst_nents ? : 1, in common_nonsnoop()