#include <errno.h>
#include <usb/debug.h>
#include <arch/barrier.h>
#include "transfer_list.h"
#include "batch.h"
Go to the source code of this file.
Functions | |
void | transfer_list_abort_all (transfer_list_t *instance) |
Walk the list and finish all batches with EINTR. | |
void | transfer_list_add_batch (transfer_list_t *instance, usb_transfer_batch_t *batch) |
Add transfer batch to the list and queue. | |
void | transfer_list_fini (transfer_list_t *instance) |
Dispose transfer list structures. | |
int | transfer_list_init (transfer_list_t *instance, const char *name) |
Initialize transfer list structures. | |
static void | transfer_list_remove_batch (transfer_list_t *instance, usb_transfer_batch_t *batch) |
Remove a transfer batch from the list and queue. | |
void | transfer_list_remove_finished (transfer_list_t *instance, link_t *done) |
Add completed bantches to the provided list. | |
void | transfer_list_set_next (transfer_list_t *instance, transfer_list_t *next) |
Set the next list in transfer list chain. |
Definition in file transfer_list.c.