Lines Matching refs:counter_index
1255 struct counter_index *counter, *tmp_count; in mlx4_ib_delete_counters_table()
2151 u32 counter_index; in mlx4_ib_add() local
2152 struct counter_index *new_counter_index = NULL; in mlx4_ib_add()
2335 err = mlx4_counter_alloc(ibdev->dev, &counter_index); in mlx4_ib_add()
2338 counter_index = in mlx4_ib_add()
2344 counter_index = mlx4_get_default_counter_index(dev, in mlx4_ib_add()
2351 mlx4_counter_free(ibdev->dev, counter_index); in mlx4_ib_add()
2354 new_counter_index->index = counter_index; in mlx4_ib_add()
2358 ibdev->counters_table[i].default_counter = counter_index; in mlx4_ib_add()
2360 counter_index, i + 1, allocated); in mlx4_ib_add()
2365 kmalloc(sizeof(struct counter_index), in mlx4_ib_add()
2369 new_counter_index->index = counter_index; in mlx4_ib_add()
2374 counter_index; in mlx4_ib_add()