Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c, line 2920
- drivers/net/ethernet/mellanox/mlx5/core/en_main.c, line 268
- drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c, line 3587
- drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c, line 2276
- drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c
- drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c mlx5_lag_unregister_hca_devcom_comp() -> mlx5_devcom_unregister_component()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom->comp->key.flags | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2624917664208203776 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec_fs.c mlx5e_ipsec_disable_events() -> mlx5_devcom_unregister_component()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->ready | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &esw->offloads.reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_shared_clock_register() -> mlx5_devcom_unregister_component()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | devcom | 40 |
| BUF_SIZE | 0 | devcom | 40 |
| CAPPED_DATA | 0 | devcom | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mdev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c mlx5_shared_clock_unregister() -> mlx5_devcom_unregister_component()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &mdev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c mlx5_esw_offloads_devcom_cleanup() -> mlx5_devcom_unregister_component()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp->key.flags | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | s32min-s32max |
| CAPPED_DATA | 0 | devcom | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &dev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_esw_offload)->reps_lock |
drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c sd_register() -> mlx5_devcom_unregister_component()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devcom | 4096-ptr_max |
| PARAM_VALUE | 0 | devcom->comp | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 0 | devcom->comp->handler | 0,1957677859457052672,2095218095745884160,5778169820518674432,8104463043848658944 |
| PARAM_VALUE | 0 | devcom->comp->id | 0-4 |
| PARAM_VALUE | 0 | devcom->comp->key.flags | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->ready | 0 |
| PARAM_VALUE | 0 | devcom->comp->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 0 | devcom->comp->sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | devcom->comp->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devcom->data | 4096-ptr_max |
| BUF_SIZE | 0 | devcom | 40 |
| BUF_SIZE | 0 | devcom | 40 |
| DATA_SOURCE | 0 | devcom | r mlx5_devcom_register_component |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx5/core/lib/sd.c sd_unregister() -> mlx5_devcom_unregister_component()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx5/core/en_main.c mlx5e_devcom_cleanup_mpv() -> mlx5_devcom_unregister_component()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |