Searched refs:next_next (Results 1 – 2 of 2) sorted by relevance
1814 u16 rfd_next_to_use, next_next; in atl1c_alloc_rx_buffer() local1818 next_next = rfd_next_to_use = rfd_ring->next_to_use; in atl1c_alloc_rx_buffer()1819 if (++next_next == rfd_ring->count) in atl1c_alloc_rx_buffer()1820 next_next = 0; in atl1c_alloc_rx_buffer()1822 next_info = &rfd_ring->buffer_info[next_next]; in atl1c_alloc_rx_buffer()1857 rfd_next_to_use = next_next; in atl1c_alloc_rx_buffer()1858 if (++next_next == rfd_ring->count) in atl1c_alloc_rx_buffer()1859 next_next = 0; in atl1c_alloc_rx_buffer()1861 next_info = &rfd_ring->buffer_info[next_next]; in atl1c_alloc_rx_buffer()
1839 u16 rfd_next_to_use, next_next; in atl1_alloc_rx_buffers() local1842 next_next = rfd_next_to_use = atomic_read(&rfd_ring->next_to_use); in atl1_alloc_rx_buffers()1843 if (++next_next == rfd_ring->count) in atl1_alloc_rx_buffers()1844 next_next = 0; in atl1_alloc_rx_buffers()1846 next_info = &rfd_ring->buffer_info[next_next]; in atl1_alloc_rx_buffers()1877 rfd_next_to_use = next_next; in atl1_alloc_rx_buffers()1878 if (unlikely(++next_next == rfd_ring->count)) in atl1_alloc_rx_buffers()1879 next_next = 0; in atl1_alloc_rx_buffers()1882 next_info = &rfd_ring->buffer_info[next_next]; in atl1_alloc_rx_buffers()