Lines Matching refs:sec4_sg_bytes

605 	int sec4_sg_bytes;  member
619 if (edesc->sec4_sg_bytes) in ahash_unmap()
621 edesc->sec4_sg_bytes, DMA_TO_DEVICE); in ahash_unmap()
794 int src_nents, sec4_sg_bytes, sec4_sg_src_index; in ahash_update_ctx() local
807 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_update_ctx()
815 sec4_sg_bytes, GFP_DMA | flags); in ahash_update_ctx()
823 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_ctx()
857 sec4_sg_bytes, in ahash_update_ctx()
914 int sec4_sg_bytes, sec4_sg_src_index; in ahash_final_ctx() local
921 sec4_sg_bytes = sec4_sg_src_index * sizeof(struct sec4_sg_entry); in ahash_final_ctx()
924 edesc = kzalloc(sizeof(*edesc) + DESC_JOB_IO_LEN + sec4_sg_bytes, in ahash_final_ctx()
935 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_final_ctx()
951 sec4_sg_bytes, DMA_TO_DEVICE); in ahash_final_ctx()
997 int sec4_sg_bytes, sec4_sg_src_index; in ahash_finup_ctx() local
1006 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_finup_ctx()
1010 edesc = kzalloc(sizeof(*edesc) + DESC_JOB_IO_LEN + sec4_sg_bytes, 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
1090 sec4_sg_bytes = src_nents * sizeof(struct sec4_sg_entry); in ahash_digest()
1093 edesc = kzalloc(sizeof(*edesc) + sec4_sg_bytes + DESC_JOB_IO_LEN, in ahash_digest()
1101 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_digest()
1111 sec4_sg_bytes, DMA_TO_DEVICE); in ahash_digest()
1172 edesc->sec4_sg_bytes = 0; in ahash_final_no_ctx()
1224 int sec4_sg_bytes, src_nents; in ahash_update_no_ctx() local
1237 sec4_sg_bytes = (1 + src_nents) * in ahash_update_no_ctx()
1245 sec4_sg_bytes, GFP_DMA | flags); in ahash_update_no_ctx()
1253 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_no_ctx()
1276 sec4_sg_bytes, in ahash_update_no_ctx()
1338 int sec4_sg_bytes, sec4_sg_src_index, src_nents; in ahash_finup_no_ctx() local
1346 sec4_sg_bytes = (sec4_sg_src_index + src_nents) * in ahash_finup_no_ctx()
1350 edesc = kzalloc(sizeof(*edesc) + DESC_JOB_IO_LEN + sec4_sg_bytes, in ahash_finup_no_ctx()
1362 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_finup_no_ctx()
1373 sec4_sg_bytes, DMA_TO_DEVICE); in ahash_finup_no_ctx()
1420 int sec4_sg_bytes, src_nents; in ahash_update_first() local
1434 sec4_sg_bytes = src_nents * sizeof(struct sec4_sg_entry); in ahash_update_first()
1441 sec4_sg_bytes, GFP_DMA | flags); in ahash_update_first()
1449 edesc->sec4_sg_bytes = sec4_sg_bytes; in ahash_update_first()
1459 sec4_sg_bytes, in ahash_update_first()