Searched refs:to_cancel (Results 1 – 2 of 2) sorted by relevance
54 to_cancel = tasks.all_tasks(loop)55 if not to_cancel:58 for task in to_cancel:62 tasks.gather(*to_cancel, loop=loop, return_exceptions=True))64 for task in to_cancel:
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()