Home
last modified time | relevance | path

Searched refs:counters_table (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx4/
H A Dmain.c2728 mutex_init(&ibdev->counters_table[i].mutex); in mlx4_ib_add()
2729 INIT_LIST_HEAD(&ibdev->counters_table[i].counters_list); in mlx4_ib_add()
2762 &ibdev->counters_table[i].counters_list); in mlx4_ib_add()
2763 ibdev->counters_table[i].default_counter = counter_index; in mlx4_ib_add()
2777 &ibdev->counters_table[i].counters_list); in mlx4_ib_add()
2778 ibdev->counters_table[i].default_counter = in mlx4_ib_add()
2899 mlx4_ib_delete_counters_table(ibdev, &ibdev->counters_table[i]); in mlx4_ib_add()
3009 mlx4_ib_delete_counters_table(ibdev, &ibdev->counters_table[p]); in mlx4_ib_remove()
H A 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()
1943 mutex_lock(&dev->counters_table[qp->port - 1].mutex); in create_qp_lb_counter()
1945 &dev->counters_table[qp->port - 1].counters_list); in create_qp_lb_counter()
1946 mutex_unlock(&dev->counters_table[qp->port - 1].mutex); in create_qp_lb_counter()
2220 dev->counters_table[qp->port - 1].default_counter; in __mlx4_ib_modify_qp()
H A Dmad.c951 mutex_lock(&dev->counters_table[port_num - 1].mutex); in iboe_process_mad()
953 &dev->counters_table[port_num - 1].counters_list, in iboe_process_mad()
965 mutex_unlock(&dev->counters_table[port_num - 1].mutex); in iboe_process_mad()
H A Dmlx4_ib.h628 struct mlx4_ib_counters counters_table[MLX4_MAX_PORTS]; member
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx4/
H A Dmain.c2709 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()
H A Dqp.c543 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()
H A 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()
H A Dmlx4_ib.h629 struct mlx4_ib_counters counters_table[MLX4_MAX_PORTS]; member

Completed in 29 milliseconds