Lines Matching defs:counter
55 struct mlx5_vdpa_counter *counter = file->private;
60 err = mlx5_fc_query(counter->mdev, counter->counter, &packets, &bytes);
70 struct mlx5_vdpa_counter *counter = file->private;
75 err = mlx5_fc_query(counter->mdev, counter->counter, &packets, &bytes);
86 static void add_counter_node(struct mlx5_vdpa_counter *counter,
89 debugfs_create_file("packets", 0444, parent, counter,
91 debugfs_create_file("bytes", 0444, parent, counter,