Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlx4/catas.c, line 211
- drivers/net/ethernet/mellanox/mlx4/cmd.c
- drivers/net/ethernet/mellanox/mlx4/intf.c, line 372
- drivers/net/ethernet/mellanox/mlx4/main.c, line 4337
Smatch caller information:
drivers/net/ethernet/mellanox/mlx4/intf.c mlx4_unregister_device() -> mlx4_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | persist | 4096-ptr_max |
| PARAM_VALUE | 0 | persist->catas_wq->first_flusher->done.done | 0-4294967295 |
| PARAM_VALUE | 0 | persist->catas_wq->first_flusher->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | persist->catas_wq->first_flusher->done.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | persist->catas_wq->first_flusher->done.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | persist->catas_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | persist->catas_wq->flusher_queue.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | persist->catas_wq->nr_pwqs_to_flush.counter | s32min-s32max |
| PARAM_VALUE | 0 | persist->catas_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | persist->interface_state | 2-255 |
| PARAM_VALUE | 0 | *persist->catas_wq->lockdep_map->name | 0-255 |
| BIT_INFO | 0 | persist->interface_state | 0x3,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &priv->port_mutex |
drivers/net/ethernet/mellanox/mlx4/main.c mlx4_pci_err_detected() -> mlx4_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | persist | 4096-ptr_max |
| PARAM_VALUE | 0 | persist->dev | 4096-ptr_max |
| BUF_SIZE | 0 | persist | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | persist | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | persist | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/ethernet/mellanox/mlx4/catas.c mlx4_handle_error_state() -> mlx4_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | persist | 4096-ptr_max |
| DATA_SOURCE | 0 | persist | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_cmd_reset_flow() -> mlx4_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | persist | 4096-ptr_max |
| PARAM_VALUE | 0 | persist->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | persist->pdev->dev.cma_area->available_count | |
| HALF_LOCKED2 | &cmd->event_sem | ||
| HALF_LOCKED2 | &ibudev->xrcd_tree_mutex | ||
| HALF_LOCKED2 | &mdev->state_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &priv->cmd.poll_sem | ||
| HALF_LOCKED2 | &priv->mcg_table.mutex |
drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_comm_cmd_poll() -> mlx4_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | persist | 4096-ptr_max |
| PARAM_VALUE | 0 | persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | persist->device_state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| BIT_INFO | 0 | persist->state | 0x0,0xfd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | persist->pdev->dev.cma_area->available_count | |
| LOCK2 | &priv->cmd.poll_sem | ||
| HALF_LOCKED2 | &priv->cmd.slave_cmd_mutex | ||
| TYPE_LOCK | (struct mlx4_cmd)->poll_sem | ||
| TYPE_LOCK | (struct mlx4_cmd)->slave_cmd_mutex |
drivers/net/ethernet/mellanox/mlx4/cmd.c mlx4_comm_cmd_wait() -> mlx4_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | persist | 4096-ptr_max |
| PARAM_VALUE | 0 | persist->device_state_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | persist->device_state_mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | persist->device_state_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | persist->pdev->dev.cma_area->available_count | 0-s64max |
| PARAM_VALUE | 0 | persist->pdev->dev.cma_area->nranges | s32min-s32max |
| PARAM_VALUE | 0 | persist->pdev->dev.dma_io_tlb_mem->for_alloc | 0-1 |
| BIT_INFO | 0 | persist->state | 0x0,0xfd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | persist->num_vfs | |
| NO_OVERFLOW_SIMPLE | 0 | persist->pdev->dev.cma_area->available_count | |
| LOCK2 | &cmd->event_sem | ||
| HALF_LOCKED2 | &priv->cmd.slave_cmd_mutex | ||
| TYPE_LOCK | (struct mlx4_cmd)->event_sem | ||
| TYPE_LOCK | (struct mlx4_cmd)->slave_cmd_mutex |