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/mlx5/core/fw_reset.c mlx5_sync_reset_now_event() -> mlx5_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cmd.alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cmd.pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.state | 1 |
| PARAM_VALUE | 0 | dev->cmd.token | 1-255 |
| PARAM_VALUE | 0 | dev->cmd.token_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.last_holder | 0 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->pdev->error_state | 1 |
| PARAM_VALUE | 0 | dev->priv.fw_reset | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.function | 0 |
| PARAM_VALUE | 0 | dev->timeouts | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c mlx5_sync_reset_reload_work() -> mlx5_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv.fw_reset | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx5/core/fw_reset.c mlx5_sync_reset_unload_event() -> mlx5_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cmd.alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cmd.pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.state | 1 |
| PARAM_VALUE | 0 | dev->cmd.token | 1-255 |
| PARAM_VALUE | 0 | dev->cmd.token_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.last_holder | 0 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | dev->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->pdev->error_state | 1 |
| PARAM_VALUE | 0 | dev->priv.fw_reset | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.function | 0 |
| PARAM_VALUE | 0 | dev->timeouts | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/ethernet/mellanox/mlx5/core/main.c mlx5_pci_err_detected() -> mlx5_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->driver | 0,4096-ptr_max |
| PARAM_VALUE | 1 | force | 0 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| HALF_LOCKED2 | &pdev->dev.mutex |
drivers/net/ethernet/mellanox/mlx5/core/main.c mlx5_try_fast_unload() -> mlx5_enter_error_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.hca | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cmd.alloc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.pool->dev->cma_area->alloc_mutex.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | dev->cmd.pool->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.state | 1 |
| PARAM_VALUE | 0 | dev->cmd.token | 1-255 |
| PARAM_VALUE | 0 | dev->cmd.token_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.last_holder | 0 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.throttle_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.prev | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->list.prev->next | 5349227543279349760 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner | (-1) |
| PARAM_VALUE | 0 | dev->cmd.vars.unprivileged_sem.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dev->device | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->device->driver | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->pdev->error_state | 1 |
| PARAM_VALUE | 0 | dev->priv.fw_reset | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv.fw_reset->fw_live_patch_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->reset_abort_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->reset_now_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->reset_reload_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->reset_request_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->reset_unload_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | dev->priv.fw_reset->timer.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.health.fatal_report_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.health.report_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->priv.health.timer.entry.pprev | 0 |
| PARAM_VALUE | 0 | dev->priv.health.timer.flags | 0-4194302 |
| PARAM_VALUE | 0 | dev->priv.health.timer.function | 0 |
| PARAM_VALUE | 0 | dev->priv.health.update_fw_log_ts_work.work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | dev->timeouts | 4096-ptr_max |
| PARAM_VALUE | 1 | force | 1 |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dev | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | dev | unit_byte |
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &parent->mutex | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |