Home
last modified time | relevance | path

Searched refs:buffer_index (Results 1 – 1 of 1) sorted by relevance

/net-tools-3.4.0/virtual-hub/src/
Dhub.c47 int *buffer_index; variable
58 buffer_index = malloc(number_nodes * sizeof(int)); in alloc_size()
88 free(buffer_index); in dealloc_size()
161 buffer[pos][buffer_index[pos]] = *buf; in fifo_handler()
162 buffer_index[pos] += 1; in fifo_handler()
167 if (buffer_index[pos] == 0) { in fifo_handler()
204 buffer[pos][buffer_index[pos]] = *buf; in fifo_handler()
205 buffer_index[pos] += 1; in fifo_handler()
207 for (int i = 0; i < buffer_index[pos]; ++i) { in fifo_handler()
242 buffer_index[pos] = 0; in fifo_handler()
[all …]