Searched refs:to_cancel (Results 1 – 4 of 4) sorted by relevance
56 to_cancel = tasks.all_tasks(loop)57 if not to_cancel:60 for task in to_cancel:63 loop.run_until_complete(tasks.gather(*to_cancel, return_exceptions=True))65 for task in to_cancel:
140 int ret, fd, fds[2], to_cancel = 0; in test_drained_files() local167 to_cancel++; in test_drained_files()168 sqe->user_data = to_cancel; in test_drained_files()179 to_cancel++; in test_drained_files()180 sqe->user_data = to_cancel; in test_drained_files()190 to_cancel++; in test_drained_files()191 sqe->user_data = to_cancel; in test_drained_files()195 if (ret != 1 + to_cancel) { in test_drained_files()
129 to_cancel = asyncio.all_tasks(loop)130 if not to_cancel:133 for task in to_cancel:137 asyncio.gather(*to_cancel, return_exceptions=True))139 for task in to_cancel:
2808 struct usbi_transfer *to_cancel; in usbi_handle_disconnect() local2827 to_cancel = NULL; in usbi_handle_disconnect()2833 to_cancel = cur; in usbi_handle_disconnect()2836 if (to_cancel) in usbi_handle_disconnect()2842 if (!to_cancel) in usbi_handle_disconnect()2846 USBI_TRANSFER_TO_LIBUSB_TRANSFER(to_cancel)); in usbi_handle_disconnect()2848 usbi_mutex_lock(&to_cancel->lock); in usbi_handle_disconnect()2849 usbi_backend.clear_transfer_priv(to_cancel); in usbi_handle_disconnect()2850 usbi_mutex_unlock(&to_cancel->lock); in usbi_handle_disconnect()2851 usbi_handle_transfer_completion(to_cancel, LIBUSB_TRANSFER_NO_DEVICE); in usbi_handle_disconnect()