Lines Matching refs:dst_nents
726 int dst_nents; member
766 unsigned int dst_nents = edesc->dst_nents ? : 1; in talitos_sg_unmap() local
779 dma_unmap_sg(dev, dst, dst_nents, in talitos_sg_unmap()
832 if (edesc->dst_nents) { in ipsec_esp_encrypt_done()
834 edesc->dst_nents + 2 + in ipsec_esp_encrypt_done()
836 sg = sg_last(areq->dst, edesc->dst_nents); in ipsec_esp_encrypt_done()
865 edesc->dst_nents + 2 + in ipsec_esp_decrypt_swauth_done()
870 sg = sg_last(req->dst, edesc->dst_nents ? : 1); in ipsec_esp_decrypt_swauth_done()
962 int tbl_off = edesc->src_nents + edesc->dst_nents + 2; in ipsec_esp()
1047 edesc->dst_nents ? : 1, in ipsec_esp()
1070 (tbl_off + edesc->dst_nents + 1 + in ipsec_esp()
1127 int assoc_nents = 0, src_nents, dst_nents, alloc_len, dma_len; in talitos_edesc_alloc() local
1160 dst_nents = dst ? src_nents : 0; in talitos_edesc_alloc()
1165 dst_nents = sg_count(dst, cryptlen + (encrypt ? authsize : 0), in talitos_edesc_alloc()
1167 dst_nents = (dst_nents == 1) ? 0 : dst_nents; in talitos_edesc_alloc()
1176 if (assoc_nents || src_nents || dst_nents) { in talitos_edesc_alloc()
1177 dma_len = (src_nents + dst_nents + 2 + assoc_nents) * in talitos_edesc_alloc()
1203 edesc->dst_nents = dst_nents; in talitos_edesc_alloc()
1265 ((!edesc->src_nents && !edesc->dst_nents) || in aead_decrypt()
1285 edesc->dst_nents + 2 + in aead_decrypt()
1425 edesc->dst_nents ? : 1, in common_nonsnoop()