Home
last modified time | relevance | path

Searched refs:counters_table (Results 1 – 4 of 4) sorted by relevance

/drivers/infiniband/hw/mlx4/
Dmain.c2717 mutex_init(&ibdev->counters_table[i].mutex); in mlx4_ib_add()
2718 INIT_LIST_HEAD(&ibdev->counters_table[i].counters_list); in mlx4_ib_add()
2751 &ibdev->counters_table[i].counters_list); in mlx4_ib_add()
2752 ibdev->counters_table[i].default_counter = counter_index; in mlx4_ib_add()
2766 &ibdev->counters_table[i].counters_list); in mlx4_ib_add()
2767 ibdev->counters_table[i].default_counter = in mlx4_ib_add()
2887 mlx4_ib_delete_counters_table(ibdev, &ibdev->counters_table[i]); in mlx4_ib_add()
2997 mlx4_ib_delete_counters_table(ibdev, &ibdev->counters_table[p]); in mlx4_ib_remove()
Dqp.c508 mutex_lock(&dev->counters_table[qp->port - 1].mutex); in mlx4_ib_free_qp_counter()
511 mutex_unlock(&dev->counters_table[qp->port - 1].mutex); in mlx4_ib_free_qp_counter()
1941 mutex_lock(&dev->counters_table[qp->port - 1].mutex); in create_qp_lb_counter()
1943 &dev->counters_table[qp->port - 1].counters_list); in create_qp_lb_counter()
1944 mutex_unlock(&dev->counters_table[qp->port - 1].mutex); in create_qp_lb_counter()
2218 dev->counters_table[qp->port - 1].default_counter; in __mlx4_ib_modify_qp()
Dmad.c953 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()
Dmlx4_ib.h628 struct mlx4_ib_counters counters_table[MLX4_MAX_PORTS]; member