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 __set_port_type() -> mlx4_start_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.flags | 4096-u64max |
| PARAM_VALUE | 0 | dev->caps.num_ports | s32min-2147483646 |
| PARAM_VALUE | 0 | dev->caps.possible_type | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->caps.supported_type | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->catas_wq->first_flusher->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->catas_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->catas_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| CAPPED_DATA | 0 | dev->caps.num_ports | 1 |
| FUZZY_MAX | 0 | dev->caps.num_ports | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->port_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &set_port_type_mutex | ||
| TYPE_LOCK | (struct mlx4_priv)->port_mutex |
drivers/net/ethernet/mellanox/mlx4/main.c restore_current_port_types() -> mlx4_start_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->persist->catas_wq->first_flusher->done.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dev->persist->catas_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->catas_wq->work_color | s32min-s32max |
| 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->dev.kobj.release.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | dev->persist->pdev->dev.kobj.release.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | *dev->caps.port_mask | 0-4294967295 |
| PARAM_VALUE | 0 | *dev->caps.port_type | 0-4294967295 |
| CAPPED_DATA | 0 | dev->caps.num_ports | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->port_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &persist->interface_state_mutex | ||
| TYPE_LOCK | (struct mlx4_priv)->port_mutex |
drivers/net/ethernet/mellanox/mlx4/main.c set_port_ib_mtu() -> mlx4_start_sense()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| 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 | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |