Lines Matching refs:bytes_left
64 u64 bytes_left; member
502 wa->bytes_left = len; in ccp_init_sg_workarea()
523 unsigned int nbytes = min_t(u64, len, wa->bytes_left); in ccp_update_sg_workarea()
529 wa->bytes_left -= nbytes; in ccp_update_sg_workarea()
722 nbytes = min_t(u64, sg_wa->bytes_left, dm_wa->length); in ccp_queue_buf()
728 while (sg_wa->bytes_left && (buf_count < dm_wa->length)) { in ccp_queue_buf()
731 nbytes = min_t(u64, sg_wa->bytes_left, nbytes); in ccp_queue_buf()
762 sg_src_len = min_t(u64, src->sg_wa.bytes_left, sg_src_len); in ccp_prepare_data()
766 sg_dst_len = min_t(u64, src->sg_wa.bytes_left, sg_dst_len); in ccp_prepare_data()
974 while (src.sg_wa.bytes_left) { in ccp_run_aes_cmac_cmd()
976 if (aes->cmac_final && !src.sg_wa.bytes_left) { in ccp_run_aes_cmac_cmd()
1147 while (src.sg_wa.bytes_left) { in ccp_run_aes_cmd()
1149 if (!src.sg_wa.bytes_left) { in ccp_run_aes_cmd()
1320 while (src.sg_wa.bytes_left) { in ccp_run_xts_aes_cmd()
1322 if (!src.sg_wa.bytes_left) in ccp_run_xts_aes_cmd()
1474 while (src.sg_wa.bytes_left) { in ccp_run_sha_cmd()
1476 if (sha->final && !src.sg_wa.bytes_left) in ccp_run_sha_cmd()