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_setup_hca() -> mlx4_cmd_use_polling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.ib_port_def_cap | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.num_uars | 1-s32max |
| PARAM_VALUE | 0 | dev->caps.port_ib_mtu | 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->persist->pdev->dev.iommu->attach_deferred | 0-1 |
| PARAM_VALUE | 0 | dev->qp_table_tree.xa_flags | 2080 |
| PARAM_VALUE | 0 | dev->qp_table_tree.xa_head | 0 |
| CAPPED_DATA | 0 | dev | 1 |
| CAPPED_DATA | 0 | dev->caps.num_pds | 1 |
| CAPPED_DATA | 0 | dev->caps.num_uars | 1 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dev->caps.num_ports | |
| LOCK2 | &priv->cmd.poll_sem |
drivers/net/ethernet/mellanox/mlx4/main.c mlx4_unload_one() -> mlx4_cmd_use_polling()
| 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 |
| CAPPED_DATA | 0 | dev->caps.num_ports | 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/eq.c mlx4_test_interrupt() -> mlx4_cmd_use_polling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 1-u64max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->pdev | 4096-ptr_max |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->flags | 0x1,0xffffffffffffffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_test_interrupt() -> mlx4_cmd_use_polling()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 1-u64max |
| 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 |
| CAPPED_DATA | 0 | dev->persist->pdev->dev.cma_area->nranges | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| BIT_INFO | 0 | dev->flags | 0x1,0xffffffffffffffff |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &priv->cmd.poll_sem | ||
| HALF_LOCKED2 | global &rtnl_mutex |