Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1703 u16 rfd_next_to_use, next_next; in atl1c_alloc_rx_buffer() local
1707 next_next = rfd_next_to_use = rfd_ring->next_to_use; in atl1c_alloc_rx_buffer()
1708 if (++next_next == rfd_ring->count) in atl1c_alloc_rx_buffer()
1709 next_next = 0; in atl1c_alloc_rx_buffer()
1711 next_info = &rfd_ring->buffer_info[next_next]; in atl1c_alloc_rx_buffer()
1747 rfd_next_to_use = next_next; in atl1c_alloc_rx_buffer()
1748 if (++next_next == rfd_ring->count) in atl1c_alloc_rx_buffer()
1749 next_next = 0; in atl1c_alloc_rx_buffer()
1751 next_info = &rfd_ring->buffer_info[next_next]; in atl1c_alloc_rx_buffer()
/linux-4.4.14/drivers/net/ethernet/atheros/atlx/
Datl1.c1860 u16 rfd_next_to_use, next_next; in atl1_alloc_rx_buffers() local
1863 next_next = rfd_next_to_use = atomic_read(&rfd_ring->next_to_use); in atl1_alloc_rx_buffers()
1864 if (++next_next == rfd_ring->count) in atl1_alloc_rx_buffers()
1865 next_next = 0; in atl1_alloc_rx_buffers()
1867 next_info = &rfd_ring->buffer_info[next_next]; in atl1_alloc_rx_buffers()
1898 rfd_next_to_use = next_next; in atl1_alloc_rx_buffers()
1899 if (unlikely(++next_next == rfd_ring->count)) in atl1_alloc_rx_buffers()
1900 next_next = 0; in atl1_alloc_rx_buffers()
1903 next_info = &rfd_ring->buffer_info[next_next]; in atl1_alloc_rx_buffers()