Lines Matching refs:usbi_transfer
1207 static int calculate_timeout(struct usbi_transfer *transfer) in calculate_timeout()
1239 static int add_to_flying_list(struct usbi_transfer *transfer) in add_to_flying_list()
1241 struct usbi_transfer *cur; in add_to_flying_list()
1264 list_for_each_entry(cur, &ctx->flying_transfers, list, struct usbi_transfer) { in add_to_flying_list()
1314 size_t alloc_size = sizeof(struct usbi_transfer) in libusb_alloc_transfer()
1318 struct usbi_transfer *itransfer = malloc(alloc_size); in libusb_alloc_transfer()
1347 struct usbi_transfer *itransfer; in libusb_free_transfer()
1374 struct usbi_transfer *itransfer = in libusb_submit_transfer()
1431 struct usbi_transfer *itransfer = in libusb_cancel_transfer()
1477 struct usbi_transfer *transfer; in arm_timerfd_for_next_timeout()
1479 list_for_each_entry(transfer, &ctx->flying_transfers, list, struct usbi_transfer) { in arm_timerfd_for_next_timeout()
1523 int usbi_handle_transfer_completion(struct usbi_transfer *itransfer, in usbi_handle_transfer_completion()
1584 int usbi_handle_transfer_cancellation(struct usbi_transfer *transfer) in usbi_handle_transfer_cancellation()
1842 static void handle_timeout(struct usbi_transfer *itransfer) in handle_timeout()
1860 struct usbi_transfer *transfer; in handle_timeouts_locked()
1874 list_for_each_entry(transfer, &ctx->flying_transfers, list, struct usbi_transfer) { in handle_timeouts_locked()
2312 struct usbi_transfer *transfer; in libusb_get_next_timeout()
2331 list_for_each_entry(transfer, &ctx->flying_transfers, list, struct usbi_transfer) { in libusb_get_next_timeout()
2501 struct usbi_transfer *cur; in usbi_handle_disconnect()
2502 struct usbi_transfer *to_cancel; in usbi_handle_disconnect()
2523 list_for_each_entry(cur, &HANDLE_CTX(handle)->flying_transfers, list, struct usbi_transfer) in usbi_handle_disconnect()