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/main.c mlx4_unload_one() -> mlx4_cmd_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->caps.num_ports s32min-2147483646
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->persist->pdev->dev.dma_mem->spinlock.rlock.dep_map->name 0-255
PARAM_VALUE 1 cleanup_mask 15
CAPPED_DATA 0 dev->caps.num_ports 1
CAPPED_DATA 0 dev->persist->pdev->dev.cma_area->nranges 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &persist->interface_state_mutex

drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_cmd_init() -> mlx4_cmd_cleanup()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->persist 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev 4096-ptr_max
PARAM_VALUE 0 dev->persist->pdev->dev.cma_area->nranges s32min-s32max
PARAM_VALUE 0 dev->persist->state 1
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 cleanup_mask 0-1,4-5,8-9,12-13
BUF_SIZE 0 dev 944
DATA_SOURCE 0 dev $0
FUZZY_MAX 1 cleanup_mask 0
BIT_INFO 1 cleanup_mask 0x0,0xd
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &persist->interface_state_mutex