Searched refs:tbnet_available_buffers (Results 1 – 3 of 3) sorted by relevance
470 static unsigned int tbnet_available_buffers(const struct tbnet_ring *ring) in tbnet_available_buffers() function528 if (!tbnet_available_buffers(ring)) in tbnet_get_tx_buffer()551 if (tbnet_available_buffers(&net->tx_ring) >= TBNET_RING_SIZE / 2) in tbnet_tx_callback()759 unsigned int cleaned_count = tbnet_available_buffers(&net->rx_ring); in tbnet_poll()1056 if (tbnet_available_buffers(&net->tx_ring) < nframes) { in tbnet_start_xmit()