counter_stats 941 drivers/infiniband/hw/mlx4/mad.c struct mlx4_counter counter_stats; counter_stats 952 drivers/infiniband/hw/mlx4/mad.c memset(&counter_stats, 0, sizeof(counter_stats)); counter_stats 959 drivers/infiniband/hw/mlx4/mad.c &counter_stats, 0); counter_stats 970 drivers/infiniband/hw/mlx4/mad.c switch (counter_stats.counter_mode & 0xf) { counter_stats 972 drivers/infiniband/hw/mlx4/mad.c edit_counter(&counter_stats, counter_stats 3289 drivers/net/ethernet/mellanox/mlx4/cmd.c struct mlx4_counter *counter_stats, int reset) counter_stats 3296 drivers/net/ethernet/mellanox/mlx4/cmd.c if (!counter_stats) counter_stats 3321 drivers/net/ethernet/mellanox/mlx4/cmd.c counter_stats->counter_mode = tmp_counter->counter_mode; counter_stats 3322 drivers/net/ethernet/mellanox/mlx4/cmd.c if (counter_stats->counter_mode == 0) { counter_stats 3323 drivers/net/ethernet/mellanox/mlx4/cmd.c counter_stats->rx_frames = counter_stats 3324 drivers/net/ethernet/mellanox/mlx4/cmd.c cpu_to_be64(be64_to_cpu(counter_stats->rx_frames) + counter_stats 3326 drivers/net/ethernet/mellanox/mlx4/cmd.c counter_stats->tx_frames = counter_stats 3327 drivers/net/ethernet/mellanox/mlx4/cmd.c cpu_to_be64(be64_to_cpu(counter_stats->tx_frames) + counter_stats 3329 drivers/net/ethernet/mellanox/mlx4/cmd.c counter_stats->rx_bytes = counter_stats 3330 drivers/net/ethernet/mellanox/mlx4/cmd.c cpu_to_be64(be64_to_cpu(counter_stats->rx_bytes) + counter_stats 3332 drivers/net/ethernet/mellanox/mlx4/cmd.c counter_stats->tx_bytes = counter_stats 3333 drivers/net/ethernet/mellanox/mlx4/cmd.c cpu_to_be64(be64_to_cpu(counter_stats->tx_bytes) + counter_stats 307 include/linux/mlx4/cmd.h struct mlx4_counter *counter_stats, int reset);