Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_gen_guid_change_eqe() -> mlx4_GEN_EQE()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 1 slave s32min-2147483646
PARAM_VALUE 2 eqe 1477653281032634368
PARAM_VALUE 2 eqe->subtype 20
PARAM_VALUE 2 eqe->type 29
CAPPED_DATA 1 slave 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 slave $1
PARAM_COMPARE 0 dev->persist->num_vfs >= $1
PARAM_COMPARE 1 slave <= $0->persist->num_vfs
MEM_ZERO 2 eqe
RX_PATH
TASK_NOT_RUNNING
UNITS 1 slave unit_array_size

drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_gen_pkey_eqe() -> mlx4_GEN_EQE()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.pkey_table_len 4096-ptr_max
PARAM_VALUE 2 eqe 2153281003370356736
PARAM_VALUE 2 eqe->subtype 22
PARAM_VALUE 2 eqe->type 29
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 slave $1
MEM_ZERO 2 eqe
RX_PATH
TASK_NOT_RUNNING
UNITS 1 slave unit_array_size

drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_gen_port_state_change_eqe() -> mlx4_GEN_EQE()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 1 slave s32min-(-2),0-s32max
PARAM_VALUE 2 eqe 1805173323178430464
PARAM_VALUE 2 eqe->event.port_change.port 0,268435456-4026531840
PARAM_VALUE 2 eqe->subtype 1,4
PARAM_VALUE 2 eqe->type 9
CAPPED_DATA 1 slave 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 slave $1
PARAM_COMPARE 0 dev->persist->num_vfs >= $1
PARAM_COMPARE 1 slave <= $0->persist->num_vfs
MEM_ZERO 2 eqe
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 slave 1-s32max[c]
UNITS 1 slave unit_array_size
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_gen_slave_eqe() -> mlx4_GEN_EQE()

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 0-s32max
PARAM_VALUE 1 slave 0-s32max
PARAM_VALUE 2 eqe 4096-ptr_max
PARAM_VALUE 2 eqe->slave_id 255
BUF_SIZE 0 dev 944
CAPPED_DATA 1 slave 1
DATA_SOURCE 2 eqe r next_slave_event_eqe
PARAM_COMPARE 0 dev->persist->num_vfs >= $1
PARAM_COMPARE 1 slave <= $0->persist->num_vfs
UNITS 1 slave unit_array_size
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_gen_slave_eqe() -> mlx4_GEN_EQE()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 1 slave 0-254
PARAM_VALUE 2 eqe 4096-ptr_max
PARAM_VALUE 2 eqe->slave_id 0-254
BUF_SIZE 0 dev 944
DATA_SOURCE 2 eqe r next_slave_event_eqe
UNITS 1 slave unit_array_size
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_master_process_vhcr() -> mlx4_GEN_EQE()

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->list.prev->prev 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->dev.cma_area->available_count 0-s64max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 dev->persist->pdev->dev.dma_io_tlb_mem->for_alloc 0-1
PARAM_VALUE 0 *dev->caps.ib_port_def_cap 0-4294967295
PARAM_VALUE 0 *dev->caps.port_mask 0-4294967295
PARAM_VALUE 0 *dev->caps.port_type 0-4294967295
PARAM_VALUE 0 *dev->caps.possible_type 0-4294967295
PARAM_VALUE 0 *dev->phys_caps.gid_phys_table_len 0-4294967295
PARAM_VALUE 0 *dev->phys_caps.pkey_phys_table_len 0-4294967295
PARAM_VALUE 1 slave 0-126
PARAM_VALUE 2 eqe 4096-ptr_max
BUF_SIZE 0 dev (-1),944
BUF_SIZE 0 dev (-1),944
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 slave $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->caps.cqe_size
NO_OVERFLOW_SIMPLE 0 dev->caps.max_counters
NO_OVERFLOW_SIMPLE 0 dev->caps.num_comp_vectors
NO_OVERFLOW_SIMPLE 0 dev->caps.num_ports
NO_OVERFLOW_SIMPLE 0 dev->caps.sqp_demux
NO_OVERFLOW_SIMPLE 0 dev->num_slaves
NO_OVERFLOW_SIMPLE 0 dev->persist->num_vfs
NO_OVERFLOW_SIMPLE 0 dev->persist->pdev->dev.cma_area->available_count
LOCK2 &priv->cmd.slave_cmd_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx4_cmd)->slave_cmd_mutex