Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/en_rep.c mlx5e_stats_grp_vport_rep_update_stats() -> mlx5_core_query_vport_counter()

Type Parameter Key Value
PARAM_VALUE 1 other_vport 1
PARAM_VALUE 3 port_num 0
PARAM_VALUE 4 out 16,4096-ptr_max
BUF_SIZE 4 out 528
DATA_SOURCE 4 out r __kvmalloc_node_noprof
LOCK2 &priv->state_lock
TYPE_LOCK (struct mlx5e_priv)->state_lock

drivers/infiniband/hw/mlx5/mad.c process_pma_cmd() -> mlx5_core_query_vport_counter()

Type Parameter Key Value
PARAM_VALUE 0 dev 1-u64max
PARAM_VALUE 0 dev->cmd.vars.throttle_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->cmd.vars.unprivileged_sem.first_waiter->up 0-1
PARAM_VALUE 0 dev->pdev->bus->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 1 other_vport 0
PARAM_VALUE 2 vf 0
PARAM_VALUE 4 out 16,4096-ptr_max
BUF_SIZE 4 out 528
BUF_SIZE 4 out 528
DATA_SOURCE 4 out r __kvmalloc_node_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte

drivers/infiniband/hw/mlx5/ib_virt.c mlx5_ib_get_vf_stats() -> mlx5_core_query_vport_counter()

Type Parameter Key Value
PARAM_VALUE 1 other_vport 1
PARAM_VALUE 2 vf 0-s32max
PARAM_VALUE 4 out 4096-ptr_max
BUF_SIZE 4 out 528
BUF_SIZE 4 out 528
CAPPED_DATA 2 vf 1
DATA_SOURCE 2 vf $1
DATA_SOURCE 3 port_num $2
DATA_SOURCE 4 out r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dev unit_byte
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock