Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- drivers/net/ethernet/mellanox/mlx5/core/devlink.c, line 980
- drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c, line 1496
- drivers/net/netdevsim/dev.c, line 975
- net/devlink/trap.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_trap.c mlxsw_sp_traps_init() -> devl_traps_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 2 | traps_count | 1 |
| PARAM_VALUE | 3 | priv | 4096-ptr_max |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| DATA_SOURCE | 3 | priv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/netdevsim/dev.c nsim_dev_traps_init() -> devl_traps_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_group_init | 0 |
| PARAM_VALUE | 1 | traps | 572522327443558400 |
| PARAM_VALUE | 2 | traps_count | 14 |
| PARAM_VALUE | 3 | priv | 0 |
| BUF_SIZE | 1 | traps | 448 |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | traps_count | unit_array_size |
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/trap.c devlink_traps_register() -> devl_traps_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->ops->trap_group_init | 0,4370573782860898304 |
| PARAM_VALUE | 2 | traps_count | 1,16 |
| PARAM_VALUE | 3 | priv | 4096-ptr_max |
| BUF_SIZE | 1 | traps | (-1),512 |
| BUF_SIZE | 1 | traps | (-1),512 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | traps | $1 |
| DATA_SOURCE | 2 | traps_count | $2 |
| DATA_SOURCE | 3 | priv | $3 |
| HARD_MAX | 2 | traps_count | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | traps_count | unit_array_size |
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/mellanox/mlx5/core/devlink.c mlx5_devlink_traps_register() -> devl_traps_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_group_init | 0 |
| PARAM_VALUE | 1 | traps | 6515604371046989824 |
| PARAM_VALUE | 2 | traps_count | 2 |
| PARAM_VALUE | 3 | priv | 4096-ptr_max |
| BUF_SIZE | 1 | traps | 64 |
| BUF_SIZE | 3 | priv | 2376 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | traps_count | unit_array_size |
| LOCK2 | &dev->intf_state_mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_core_dev)->intf_state_mutex |