|
u8 * | svm_fifo_dump_trace (u8 *s, svm_fifo_t *f) |
|
u8 * | svm_fifo_replay (u8 *s, svm_fifo_t *f, u8 no_read, u8 verbose) |
|
static u32 | svm_fifo_max_dequeue (svm_fifo_t *f) |
|
static u32 | svm_fifo_max_enqueue (svm_fifo_t *f) |
|
static u8 | svm_fifo_has_ooo_data (svm_fifo_t *f) |
|
static u8 | svm_fifo_set_event (svm_fifo_t *f) |
| Sets fifo event flag. More...
|
|
static void | svm_fifo_unset_event (svm_fifo_t *f) |
| Unsets fifo event flag. More...
|
|
svm_fifo_t * | svm_fifo_create (u32 data_size_in_bytes) |
| create an svm fifo, in the current heap. More...
|
|
void | svm_fifo_free (svm_fifo_t *f) |
|
int | svm_fifo_enqueue_nowait (svm_fifo_t *f, u32 max_bytes, const u8 *copy_from_here) |
|
int | svm_fifo_enqueue_with_offset (svm_fifo_t *f, u32 offset, u32 required_bytes, u8 *copy_from_here) |
|
int | svm_fifo_dequeue_nowait (svm_fifo_t *f, u32 max_bytes, u8 *copy_here) |
|
int | svm_fifo_peek (svm_fifo_t *f, u32 offset, u32 max_bytes, u8 *copy_here) |
|
int | svm_fifo_dequeue_drop (svm_fifo_t *f, u32 max_bytes) |
|
u32 | svm_fifo_number_ooo_segments (svm_fifo_t *f) |
|
ooo_segment_t * | svm_fifo_first_ooo_segment (svm_fifo_t *f) |
|
void | svm_fifo_init_pointers (svm_fifo_t *f, u32 pointer) |
| Set fifo pointers to requested offset. More...
|
|
static ooo_segment_t * | svm_fifo_newest_ooo_segment (svm_fifo_t *f) |
|
static void | svm_fifo_newest_ooo_segment_reset (svm_fifo_t *f) |
|
static u32 | svm_fifo_max_read_chunk (svm_fifo_t *f) |
| Max contiguous chunk of data that can be read. More...
|
|
static u32 | svm_fifo_max_write_chunk (svm_fifo_t *f) |
| Max contiguous chunk of data that can be written. More...
|
|
static void | svm_fifo_enqueue_nocopy (svm_fifo_t *f, u32 bytes) |
| Advance tail pointer. More...
|
|
static u8 * | svm_fifo_head (svm_fifo_t *f) |
|
static u8 * | svm_fifo_tail (svm_fifo_t *f) |
|
static u32 | ooo_segment_distance_from_tail (svm_fifo_t *f, u32 pos) |
|
static u32 | ooo_segment_distance_to_tail (svm_fifo_t *f, u32 pos) |
|
static u32 | ooo_segment_offset (svm_fifo_t *f, ooo_segment_t *s) |
|
static u32 | ooo_segment_end_offset (svm_fifo_t *f, ooo_segment_t *s) |
|
static u32 | ooo_segment_length (svm_fifo_t *f, ooo_segment_t *s) |
|
static ooo_segment_t * | ooo_segment_get_prev (svm_fifo_t *f, ooo_segment_t *s) |
|
static ooo_segment_t * | ooo_segment_next (svm_fifo_t *f, ooo_segment_t *s) |
|