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/intel/ice/devlink/devlink.c
- drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c, line 248
- drivers/net/netdevsim/dev.c, line 1516
- net/devlink/rate.c, line 951
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/esw/devlink_port.c mlx5_esw_offloads_devlink_port_register() -> devl_rate_leaf_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink_port | 1-u64max |
| PARAM_VALUE | 0 | devlink_port->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->initialized | 1 |
| PARAM_VALUE | 0 | devlink_port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->region_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->region_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->registered | 1 |
| PARAM_VALUE | 0 | devlink_port->reporter_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->reporter_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->resource_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->resource_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| PARAM_VALUE | 2 | parent | 0 |
| DATA_SOURCE | 1 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &esw->offloads.reps_lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct mlx5_esw_offload)->reps_lock |
drivers/net/netdevsim/dev.c __nsim_dev_port_add() -> devl_rate_leaf_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->attrs.flavour | 0-2,4-7 |
| PARAM_VALUE | 0 | devlink_port->attrs.switch_id.id_len | 0-32 |
| PARAM_VALUE | 0 | devlink_port->attrs_set | 1 |
| PARAM_VALUE | 0 | devlink_port->devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->initialized | 1 |
| PARAM_VALUE | 0 | devlink_port->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->region_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->region_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->registered | 1 |
| PARAM_VALUE | 0 | devlink_port->reporter_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->reporter_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->resource_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->resource_list.prev | 4096-ptr_max |
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| PARAM_VALUE | 2 | parent | 0 |
| BUF_SIZE | 1 | priv | 560 |
| DATA_SOURCE | 1 | priv | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/net/ethernet/intel/ice/devlink/devlink.c ice_traverse_tx_tree() -> devl_rate_leaf_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->devlink_rate | 0 |
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| DATA_SOURCE | 1 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pi->sched_lock |
drivers/net/ethernet/intel/ice/devlink/devlink.c ice_traverse_tx_tree() -> devl_rate_leaf_create()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink_port->devlink_rate | 0 |
| PARAM_VALUE | 1 | priv | 4096-ptr_max |
| DATA_SOURCE | 1 | priv | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pi->sched_lock |