Lines Matching refs:counter_index
1396 struct counter_index *counter, *tmp_count; in mlx4_ib_delete_counters_table()
2602 u32 counter_index; in mlx4_ib_add() local
2603 struct counter_index *new_counter_index = NULL; in mlx4_ib_add()
2812 err = mlx4_counter_alloc(ibdev->dev, &counter_index, in mlx4_ib_add()
2816 counter_index = in mlx4_ib_add()
2822 counter_index = mlx4_get_default_counter_index(dev, in mlx4_ib_add()
2829 mlx4_counter_free(ibdev->dev, counter_index); in mlx4_ib_add()
2832 new_counter_index->index = counter_index; in mlx4_ib_add()
2836 ibdev->counters_table[i].default_counter = counter_index; in mlx4_ib_add()
2838 counter_index, i + 1, allocated); in mlx4_ib_add()
2843 kmalloc(sizeof(struct counter_index), in mlx4_ib_add()
2847 new_counter_index->index = counter_index; in mlx4_ib_add()
2852 counter_index; in mlx4_ib_add()