Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx4/en_cq.c mlx4_en_activate_cq() -> mlx4_assign_eq()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 2 vector 4096-ptr_max
PARAM_VALUE 2 *vector 0-64
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port unit_array_size
HALF_LOCKED2 &dev->ethtool->rss_lock
HALF_LOCKED2 &mdev->state_lock
HALF_LOCKED2 &priv->mdev->state_lock
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct mlx4_en_dev)->state_lock

drivers/infiniband/hw/mlx4/main.c mlx4_ib_alloc_eqs() -> mlx4_assign_eq()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.flags2 1-u64max
PARAM_VALUE 0 dev->caps.num_ports 1-2147483646
PARAM_VALUE 0 dev->caps.port_mask 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 2 vector 4096-ptr_max
PARAM_VALUE 2 *vector 0-s32max
CAPPED_DATA 0 dev->caps.num_ports 1
CAPPED_DATA 1 port 1
DATA_SOURCE 0 dev $0
PARAM_COMPARE 0 dev->caps.num_ports >= $1
PARAM_COMPARE 1 port <= $0->caps.num_ports
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 dev->caps.num_comp_vectors
UNITS 1 port unit_array_size