Lines Matching refs:bytes_left
65 u64 bytes_left; member
501 wa->bytes_left = len; in ccp_init_sg_workarea()
522 unsigned int nbytes = min_t(u64, len, wa->bytes_left); in ccp_update_sg_workarea()
528 wa->bytes_left -= nbytes; in ccp_update_sg_workarea()
718 nbytes = min_t(u64, sg_wa->bytes_left, dm_wa->length); in ccp_queue_buf()
724 while (sg_wa->bytes_left && (buf_count < dm_wa->length)) { in ccp_queue_buf()
727 nbytes = min_t(u64, sg_wa->bytes_left, nbytes); in ccp_queue_buf()
758 sg_src_len = min_t(u64, src->sg_wa.bytes_left, sg_src_len); in ccp_prepare_data()
762 sg_dst_len = min_t(u64, src->sg_wa.bytes_left, sg_dst_len); in ccp_prepare_data()
970 while (src.sg_wa.bytes_left) { in ccp_run_aes_cmac_cmd()
972 if (aes->cmac_final && !src.sg_wa.bytes_left) { in ccp_run_aes_cmac_cmd()
1143 while (src.sg_wa.bytes_left) { in ccp_run_aes_cmd()
1145 if (!src.sg_wa.bytes_left) { in ccp_run_aes_cmd()
1316 while (src.sg_wa.bytes_left) { in ccp_run_xts_aes_cmd()
1318 if (!src.sg_wa.bytes_left) in ccp_run_xts_aes_cmd()
1470 while (src.sg_wa.bytes_left) { in ccp_run_sha_cmd()
1472 if (sha->final && !src.sg_wa.bytes_left) in ccp_run_sha_cmd()