Searched refs:counters_table (Results 1 – 4 of 4) sorted by relevance
2709 mutex_init(&ibdev->counters_table[i].mutex); in mlx4_ib_probe()2710 INIT_LIST_HEAD(&ibdev->counters_table[i].counters_list); in mlx4_ib_probe()2744 &ibdev->counters_table[i].counters_list); in mlx4_ib_probe()2745 ibdev->counters_table[i].default_counter = counter_index; in mlx4_ib_probe()2761 &ibdev->counters_table[i].counters_list); in mlx4_ib_probe()2762 ibdev->counters_table[i].default_counter = in mlx4_ib_probe()2893 mlx4_ib_delete_counters_table(ibdev, &ibdev->counters_table[i]); in mlx4_ib_probe()3007 mlx4_ib_delete_counters_table(ibdev, &ibdev->counters_table[p]); in mlx4_ib_remove()
543 mutex_lock(&dev->counters_table[qp->port - 1].mutex); in mlx4_ib_free_qp_counter()546 mutex_unlock(&dev->counters_table[qp->port - 1].mutex); in mlx4_ib_free_qp_counter()1976 mutex_lock(&dev->counters_table[qp->port - 1].mutex); in create_qp_lb_counter()1978 &dev->counters_table[qp->port - 1].counters_list); in create_qp_lb_counter()1979 mutex_unlock(&dev->counters_table[qp->port - 1].mutex); in create_qp_lb_counter()2253 dev->counters_table[qp->port - 1].default_counter; in __mlx4_ib_modify_qp()
953 mutex_lock(&dev->counters_table[port_num - 1].mutex); in iboe_process_mad()955 &dev->counters_table[port_num - 1].counters_list, in iboe_process_mad()967 mutex_unlock(&dev->counters_table[port_num - 1].mutex); in iboe_process_mad()
629 struct mlx4_ib_counters counters_table[MLX4_MAX_PORTS]; member