Searched refs:to_cancel (Results 1 – 2 of 2) sorted by relevance
2272 struct usbi_transfer *to_cancel; in usbi_handle_disconnect() local2292 to_cancel = NULL; in usbi_handle_disconnect()2295 to_cancel = cur; in usbi_handle_disconnect()2300 if (!to_cancel) in usbi_handle_disconnect()2303 usbi_backend->clear_transfer_priv(to_cancel); in usbi_handle_disconnect()2304 usbi_handle_transfer_completion(to_cancel, LIBUSB_TRANSFER_NO_DEVICE); in usbi_handle_disconnect()
636 AsyncSocketIO* const to_cancel = _async_socket_pull_first_reader(as); in _async_socket_cancel_readers() local639 _async_socket_cancel_io(as, to_cancel); in _async_socket_cancel_readers()640 async_socket_io_release(to_cancel); in _async_socket_cancel_readers()652 AsyncSocketIO* const to_cancel = _async_socket_pull_first_writer(as); in _async_socket_cancel_writers() local655 _async_socket_cancel_io(as, to_cancel); in _async_socket_cancel_writers()656 async_socket_io_release(to_cancel); in _async_socket_cancel_writers()