Searched refs:counters_table (Results 1 – 4 of 4) sorted by relevance
2707 mutex_init(&ibdev->counters_table[i].mutex); in mlx4_ib_add()2708 INIT_LIST_HEAD(&ibdev->counters_table[i].counters_list); in mlx4_ib_add()2741 &ibdev->counters_table[i].counters_list); in mlx4_ib_add()2742 ibdev->counters_table[i].default_counter = counter_index; in mlx4_ib_add()2756 &ibdev->counters_table[i].counters_list); in mlx4_ib_add()2757 ibdev->counters_table[i].default_counter = in mlx4_ib_add()2875 mlx4_ib_delete_counters_table(ibdev, &ibdev->counters_table[i]); in mlx4_ib_add()2985 mlx4_ib_delete_counters_table(ibdev, &ibdev->counters_table[p]); in mlx4_ib_remove()
504 mutex_lock(&dev->counters_table[qp->port - 1].mutex); in mlx4_ib_free_qp_counter()507 mutex_unlock(&dev->counters_table[qp->port - 1].mutex); in mlx4_ib_free_qp_counter()1937 mutex_lock(&dev->counters_table[qp->port - 1].mutex); in create_qp_lb_counter()1939 &dev->counters_table[qp->port - 1].counters_list); in create_qp_lb_counter()1940 mutex_unlock(&dev->counters_table[qp->port - 1].mutex); in create_qp_lb_counter()2214 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()
628 struct mlx4_ib_counters counters_table[MLX4_MAX_PORTS]; member