Lines Matching refs:bytes_left
86 wa->bytes_left = len; in ccp_init_sg_workarea()
108 unsigned int nbytes = min_t(u64, len, wa->bytes_left); in ccp_update_sg_workarea()
115 wa->bytes_left -= nbytes; in ccp_update_sg_workarea()
311 nbytes = min_t(u64, sg_wa->bytes_left, dm_wa->length); in ccp_queue_buf()
317 while (sg_wa->bytes_left && (buf_count < dm_wa->length)) { in ccp_queue_buf()
320 nbytes = min_t(u64, sg_wa->bytes_left, nbytes); in ccp_queue_buf()
351 sg_src_len = min_t(u64, src->sg_wa.bytes_left, sg_src_len); in ccp_prepare_data()
355 sg_dst_len = min_t(u64, src->sg_wa.bytes_left, sg_dst_len); in ccp_prepare_data()
567 while (src.sg_wa.bytes_left) { in ccp_run_aes_cmac_cmd()
569 if (aes->cmac_final && !src.sg_wa.bytes_left) { in ccp_run_aes_cmac_cmd()
755 while (aad.sg_wa.bytes_left) { in ccp_run_aes_gcm_cmd()
795 while (src.sg_wa.bytes_left) { in ccp_run_aes_gcm_cmd()
797 if (!src.sg_wa.bytes_left) { in ccp_run_aes_gcm_cmd()
1035 while (src.sg_wa.bytes_left) { in ccp_run_aes_cmd()
1037 if (!src.sg_wa.bytes_left) { in ccp_run_aes_cmd()
1245 while (src.sg_wa.bytes_left) { in ccp_run_xts_aes_cmd()
1247 if (!src.sg_wa.bytes_left) in ccp_run_xts_aes_cmd()
1434 while (src.sg_wa.bytes_left) { in ccp_run_des3_cmd()
1436 if (!src.sg_wa.bytes_left) { in ccp_run_des3_cmd()
1697 while (src.sg_wa.bytes_left) { in ccp_run_sha_cmd()
1699 if (sha->final && !src.sg_wa.bytes_left) in ccp_run_sha_cmd()