Searched refs:to_cancel (Results 1 – 1 of 1) sorted by relevance
2774 struct usbi_transfer *to_cancel; in usbi_handle_disconnect() local2793 to_cancel = NULL; in usbi_handle_disconnect()2799 to_cancel = cur; in usbi_handle_disconnect()2802 if (to_cancel) in usbi_handle_disconnect()2807 if (!to_cancel) in usbi_handle_disconnect()2811 USBI_TRANSFER_TO_LIBUSB_TRANSFER(to_cancel)); in usbi_handle_disconnect()2813 usbi_mutex_lock(&to_cancel->lock); in usbi_handle_disconnect()2814 usbi_backend->clear_transfer_priv(to_cancel); in usbi_handle_disconnect()2815 usbi_mutex_unlock(&to_cancel->lock); in usbi_handle_disconnect()2816 usbi_handle_transfer_completion(to_cancel, LIBUSB_TRANSFER_NO_DEVICE); in usbi_handle_disconnect()