Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx4/main.c mlx4_change_port_types() -> mlx4_register_device()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.num_ports 1-2147483646
PARAM_VALUE 0 dev->caps.port_type 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->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->persist->pdev 4096-ptr_max
PARAM_VALUE 0 *dev->caps.port_mask 0-4294967295
CAPPED_DATA 0 dev->caps.num_ports 1
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &priv->port_mutex
TYPE_LOCK (struct mlx4_priv)->port_mutex

drivers/net/ethernet/mellanox/mlx4/main.c set_port_ib_mtu() -> mlx4_register_device()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.num_ports s32min-2147483646
PARAM_VALUE 0 dev->caps.port_ib_mtu 4096-ptr_max
PARAM_VALUE 0 dev->caps.port_type 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
CAPPED_DATA 0 dev->caps.num_ports 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 &priv->port_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex
TYPE_LOCK (struct mlx4_priv)->port_mutex