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/mlx4/resource_tracker.c mlx4_calc_vf_counters() -> mlx4_get_counter_stats()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 0 dev->persist->num_vfs 1-s32max
PARAM_VALUE 1 counter_index s32min-(-2),0-s32max
PARAM_VALUE 2 counter_stats 8845288698788360192
PARAM_VALUE 2 counter_stats->counter_mode 0
PARAM_VALUE 3 reset 0
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 counter_stats $3
MEM_ZERO 2 counter_stats
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->caps.max_counters
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &dev->lock

drivers/infiniband/hw/mlx4/mad.c iboe_process_mad() -> mlx4_get_counter_stats()

Type Parameter Key Value
PARAM_VALUE 2 counter_stats 2765962229550280704
PARAM_VALUE 2 counter_stats->counter_mode 0
PARAM_VALUE 3 reset 0
MEM_ZERO 2 counter_stats
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx4/en_port.c mlx4_en_DUMP_ETH_STATS() -> mlx4_get_counter_stats()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 0 dev->persist->device_state_mutex->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 dev->persist->device_state_mutex.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 0 dev->persist->device_state_mutex.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->persist->device_state_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->persist->pdev 4096-ptr_max
PARAM_VALUE 2 counter_stats 4501482569072984064
PARAM_VALUE 3 reset 0-1
DATA_SOURCE 1 counter_index r mlx4_get_default_counter_index
DATA_SOURCE 3 reset $2
HARD_MAX 3 reset 1
MEM_ZERO 2 counter_stats
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mdev->state_lock
HALF_LOCKED2 &mdev->state_lock
TYPE_LOCK (struct mlx4_en_dev)->state_lock