Lines Matching refs:sec4_sg_bytes
599 int sec4_sg_bytes; member
614 if (edesc->sec4_sg_bytes) in ahash_unmap()
616 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap()
789 int src_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local
803 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_update_ctx()
811 sec4_sg_bytes, GFP_DMA | flags); in ahash_update_ctx()
820 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx()
855 sec4_sg_bytes, in ahash_update_ctx()
912 int sec4_sg_bytes, sec4_sg_src_index; in ahash_final_ctx() local
919 sec4_sg_bytes = sec4_sg_src_index * sizeof(struct sec4_sg_entry); in ahash_final_ctx()
923 sec4_sg_bytes, GFP_DMA | flags); in ahash_final_ctx()
933 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_final_ctx()
949 sec4_sg_bytes, DMA_TO_DEVICE); in ahash_final_ctx()
995 int sec4_sg_bytes, sec4_sg_src_index; in ahash_finup_ctx() local
1005 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_finup_ctx()
1010 sec4_sg_bytes, GFP_DMA | flags); in ahash_finup_ctx()
1022 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_finup_ctx()
1039 sec4_sg_bytes, DMA_TO_DEVICE); in ahash_finup_ctx()
1081 int src_nents, sec4_sg_bytes; in ahash_digest() local
1092 sec4_sg_bytes = src_nents * sizeof(struct sec4_sg_entry); in ahash_digest()
1095 edesc = kmalloc(sizeof(struct ahash_edesc) + sec4_sg_bytes + in ahash_digest()
1103 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_digest()
1114 sec4_sg_bytes, DMA_TO_DEVICE); in ahash_digest()
1176 edesc->sec4_sg_bytes = 0; in ahash_final_no_ctx()
1228 int sec4_sg_bytes, src_nents; in ahash_update_no_ctx() local
1242 sec4_sg_bytes = (1 + src_nents) * in ahash_update_no_ctx()
1250 sec4_sg_bytes, GFP_DMA | flags); in ahash_update_no_ctx()
1259 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_no_ctx()
1281 sec4_sg_bytes, in ahash_update_no_ctx()
1343 int sec4_sg_bytes, sec4_sg_src_index, src_nents; in ahash_finup_no_ctx() local
1352 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_finup_no_ctx()
1357 sec4_sg_bytes, GFP_DMA | flags); in ahash_finup_no_ctx()
1369 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_finup_no_ctx()
1381 sec4_sg_bytes, DMA_TO_DEVICE); in ahash_finup_no_ctx()
1428 int sec4_sg_bytes, src_nents; in ahash_update_first() local
1445 sec4_sg_bytes = src_nents * sizeof(struct sec4_sg_entry); in ahash_update_first()
1452 sec4_sg_bytes, GFP_DMA | flags); in ahash_update_first()
1461 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_first()
1471 sec4_sg_bytes, in ahash_update_first()