Lines Matching refs:counter_index
1291 struct counter_index *counter, *tmp_count; in mlx4_ib_delete_counters_table()
2624 u32 counter_index; in mlx4_ib_probe() local
2625 struct counter_index *new_counter_index; in mlx4_ib_probe()
2720 err = mlx4_counter_alloc(ibdev->dev, &counter_index, in mlx4_ib_probe()
2724 counter_index = in mlx4_ib_probe()
2730 counter_index = mlx4_get_default_counter_index(dev, in mlx4_ib_probe()
2738 mlx4_counter_free(ibdev->dev, counter_index); in mlx4_ib_probe()
2741 new_counter_index->index = counter_index; in mlx4_ib_probe()
2745 ibdev->counters_table[i].default_counter = counter_index; in mlx4_ib_probe()
2747 counter_index, i + 1, allocated); in mlx4_ib_probe()
2752 kmalloc(sizeof(struct counter_index), in mlx4_ib_probe()
2758 new_counter_index->index = counter_index; in mlx4_ib_probe()
2763 counter_index; in mlx4_ib_probe()