Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_cnt.c187 unsigned int stop_index; in mlxsw_sp_counter_alloc() local
191 stop_index = sub_pool->base_index + sub_pool->size; in mlxsw_sp_counter_alloc()
195 entry_index = find_next_zero_bit(pool->usage, stop_index, entry_index); in mlxsw_sp_counter_alloc()
196 if (entry_index == stop_index) { in mlxsw_sp_counter_alloc()
203 if (entry_index + sub_pool->entry_size > stop_index) { in mlxsw_sp_counter_alloc()
/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_loop.c23 u32 stop_index = -1; variable
39 if (index >= stop_index) in callback()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_loop.c53 skel->data->stop_index = 50; in check_callback_fn_stop()
57 ASSERT_EQ(skel->bss->nr_loops_returned, skel->data->stop_index + 1, in check_callback_fn_stop()
/linux/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c203 unsigned int stop_index, read_ptr; in efx_dequeue_buffers() local
205 stop_index = (index + 1) & tx_queue->ptr_mask; in efx_dequeue_buffers()
208 while (read_ptr != stop_index) { in efx_dequeue_buffers()
/linux/drivers/net/ethernet/sfc/
H A Dtx_common.c230 unsigned int stop_index, read_ptr; in efx_dequeue_buffers() local
232 stop_index = (index + 1) & tx_queue->ptr_mask; in efx_dequeue_buffers()
235 while (read_ptr != stop_index) { in efx_dequeue_buffers()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dtx.c353 unsigned int stop_index, read_ptr; in ef4_dequeue_buffers() local
355 stop_index = (index + 1) & tx_queue->ptr_mask; in ef4_dequeue_buffers()
358 while (read_ptr != stop_index) { in ef4_dequeue_buffers()