HelenOS sources
TX_BUFFERS_COUNT 966 uspace/drv/nic/rtl8169/driver.c tail = (tail + 1) % TX_BUFFERS_COUNT;
TX_BUFFERS_COUNT 1108 uspace/drv/nic/rtl8169/driver.c if ((head + 1) % TX_BUFFERS_COUNT == tail) {
TX_BUFFERS_COUNT 1123 uspace/drv/nic/rtl8169/driver.c prev = &rtl8169->tx_ring[(head - 1) % TX_BUFFERS_COUNT];
TX_BUFFERS_COUNT 1133 uspace/drv/nic/rtl8169/driver.c if (head == TX_BUFFERS_COUNT - 1)
TX_BUFFERS_COUNT 1136 uspace/drv/nic/rtl8169/driver.c rtl8169->tx_head = (head + 1) % TX_BUFFERS_COUNT;
TX_BUFFERS_COUNT 44 uspace/drv/nic/rtl8169/driver.h #define TX_RING_SIZE (sizeof(rtl8169_descr_t) * TX_BUFFERS_COUNT)
TX_BUFFERS_COUNT 46 uspace/drv/nic/rtl8169/driver.h #define TX_BUFFERS_SIZE (BUFFER_SIZE * TX_BUFFERS_COUNT)
HelenOS homepage, sources at GitHub