Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_cnt.c141 unsigned int stop_index; in mlxsw_sp_counter_alloc() local
145 stop_index = sub_pool->base_index + sub_pool->size; in mlxsw_sp_counter_alloc()
148 entry_index = find_next_zero_bit(pool->usage, stop_index, entry_index); in mlxsw_sp_counter_alloc()
149 if (entry_index == stop_index) in mlxsw_sp_counter_alloc()
154 if (entry_index + sub_pool->entry_size > stop_index) in mlxsw_sp_counter_alloc()
/Linux-v4.19/drivers/net/ethernet/sfc/falcon/
Dtx.c363 unsigned int stop_index, read_ptr; in ef4_dequeue_buffers() local
365 stop_index = (index + 1) & tx_queue->ptr_mask; in ef4_dequeue_buffers()
368 while (read_ptr != stop_index) { in ef4_dequeue_buffers()
/Linux-v4.19/drivers/net/ethernet/sfc/
Dtx.c619 unsigned int stop_index, read_ptr; in efx_dequeue_buffers() local
621 stop_index = (index + 1) & tx_queue->ptr_mask; in efx_dequeue_buffers()
624 while (read_ptr != stop_index) { in efx_dequeue_buffers()