Searched refs:corrected_size (Results 1 – 1 of 1) sorted by relevance
3977 uint32_t corrected_size = io_size; in hid_copy_transfer_data() local3982 if (corrected_size > 0) { in hid_copy_transfer_data()3984 if (corrected_size > transfer_priv->hid_expected_size) { in hid_copy_transfer_data()3986 corrected_size = (uint32_t)transfer_priv->hid_expected_size; in hid_copy_transfer_data()3992 corrected_size--; in hid_copy_transfer_data()3993 memcpy(transfer_priv->hid_dest, transfer_priv->hid_buffer + 1, corrected_size); in hid_copy_transfer_data()3995 memcpy(transfer_priv->hid_dest, transfer_priv->hid_buffer, corrected_size); in hid_copy_transfer_data()4004 itransfer->transferred += corrected_size; in hid_copy_transfer_data()