Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c, line 219
- drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c
- drivers/net/netdevsim/fib.c, line 1471
- net/devlink/resource.c, line 641
Smatch caller information:
drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c mlxsw_sp_counter_pool_init() -> devl_resource_size_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | resource_id | 10 |
| PARAM_VALUE | 2 | p_resource_size | 4096-ptr_max |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum_cnt.c mlxsw_sp_counter_sub_pools_init() -> devl_resource_size_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/netdevsim/fib.c nsim_fib_set_max_all() -> devl_resource_size_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->ops->trap_group_init | 0 |
| PARAM_VALUE | 0 | devlink->reload_failed | 0-1 |
| PARAM_VALUE | 1 | resource_id | 0-u32max |
| PARAM_VALUE | 2 | p_resource_size | 1318113178130493440 |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum1_kvdl.c mlxsw_sp1_kvdl_part_init() -> devl_resource_size_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 2 | p_resource_size | 879033648494272512 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_kvd_sizes_get() -> devl_resource_size_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | resource_id | 3 |
| PARAM_VALUE | 2 | p_resource_size | 7730921016320684032 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| DATA_SOURCE | 2 | p_resource_size | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_kvd_sizes_get() -> devl_resource_size_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | resource_id | 5 |
| PARAM_VALUE | 2 | p_resource_size | 3604088011038429184 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| DATA_SOURCE | 2 | p_resource_size | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp_kvd_sizes_get() -> devl_resource_size_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | resource_id | 4 |
| PARAM_VALUE | 2 | p_resource_size | 460754046230310912 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| DATA_SOURCE | 2 | p_resource_size | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock |