Searched refs:expected_len (Results 1 – 4 of 4) sorted by relevance
194 const int expected_len = qcrypto_hash_digest_len(alg); in qcrypto_afalg_recv_from_kernel() local197 *result_len = expected_len; in qcrypto_afalg_recv_from_kernel()199 } else if (*result_len != expected_len) { in qcrypto_afalg_recv_from_kernel()202 *result_len, expected_len); in qcrypto_afalg_recv_from_kernel()
37 uint32_t expected_len = be32_to_cpu(req->req_upiu.sc.exp_data_transfer_len); in ufs_build_scsi_response_upiu() local41 if (expected_len > transfered_len) { in ufs_build_scsi_response_upiu()43 cpu_to_be32(expected_len - transfered_len); in ufs_build_scsi_response_upiu()45 } else if (expected_len < transfered_len) { in ufs_build_scsi_response_upiu()47 cpu_to_be32(transfered_len - expected_len); in ufs_build_scsi_response_upiu()
2280 size_t len = 0, expected_len; in source_return_path_thread() local2355 expected_len = 12 + 1; /* header + termination */ in source_return_path_thread()2357 if (header_len >= expected_len) { in source_return_path_thread()2363 expected_len += tmp32; in source_return_path_thread()2365 if (header_len != expected_len) { in source_return_path_thread()2367 header_len, expected_len); in source_return_path_thread()
1543 int len, expected_len, changeable_len, i; in scsi_disk_check_mode_select() local1548 expected_len = inlen + 2; in scsi_disk_check_mode_select()1549 if (expected_len > SCSI_MAX_MODE_LEN) { in scsi_disk_check_mode_select()1561 if (len < 0 || len != expected_len) { in scsi_disk_check_mode_select()