Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/dpll/zl3073x/devlink.c, line 383
- drivers/net/ethernet/amazon/ena/ena_devlink.c, line 204
- drivers/net/ethernet/amd/pds_core/main.c
- drivers/net/ethernet/intel/ice/devlink/devlink.c, line 1754
- drivers/net/ethernet/intel/ice/ice_sf_eth.c, line 151
- drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
- drivers/net/ethernet/mellanox/mlx5/core/main.c
- drivers/net/ethernet/mellanox/mlxsw/core.c, line 2121
- drivers/net/ethernet/sfc/efx_devlink.c, line 735
- drivers/net/netdevsim/dev.c, line 1683
- net/devlink/core.c
- net/devlink/sh_dev.c, line 55
Smatch caller information:
drivers/dpll/zl3073x/devlink.c zl3073x_devlink_register() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->params.xa_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/core.c devlink_register() -> devl_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.osq.tail.counter | 0-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | global &dsa2_mutex | ||
| HALF_LOCKED2 | global &hnae3_common_lock | ||
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/amazon/ena/ena_devlink.c ena_devlink_register() -> devl_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->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->params.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->ports.xa_lock.rlock.dep_map->name | 0-255 |
| CAPPED_DATA | 0 | devlink->dev_name_index | 1 |
| CAPPED_DATA | 0 | devlink->ops->reload_actions | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/sh_dev.c devlink_shd_create() -> devl_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->_net.net | 1824583183996030976 |
| PARAM_VALUE | 0 | devlink->dev_name_index | 1-u64max |
| PARAM_VALUE | 0 | devlink->dpipe_table_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dpipe_table_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dpipe_table_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dpipe_table_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dpipe_table_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->linecard_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->linecard_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->linecard_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->linecard_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->linecard_list.prev->prev | 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->nested_rels.xa_flags | 33554436 |
| PARAM_VALUE | 0 | devlink->nested_rels.xa_head | 0 |
| PARAM_VALUE | 0 | devlink->ops | 1020847374782255104 |
| PARAM_VALUE | 0 | devlink->ops->reload_actions | 0,2,4,6 |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->params.xa_flags | 33554436 |
| PARAM_VALUE | 0 | devlink->params.xa_head | 0 |
| PARAM_VALUE | 0 | devlink->ports.xa_flags | 33554436 |
| PARAM_VALUE | 0 | devlink->ports.xa_head | 0 |
| PARAM_VALUE | 0 | devlink->rate_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->rate_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->rate_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->rate_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->rate_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->refcount.refs.counter | 1 |
| PARAM_VALUE | 0 | devlink->region_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->region_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->region_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->region_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->region_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->reporter_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->reporter_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->reporter_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->reporter_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->reporter_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->resource_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->resource_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->resource_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->resource_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->resource_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->sb_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->sb_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->sb_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->sb_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->sb_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_flags | 33554436 |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_head | 0 |
| PARAM_VALUE | 0 | devlink->trap_group_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_group_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_group_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_group_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_group_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_policer_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_policer_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_policer_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_policer_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_policer_list.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | devlink | s32min-s32max |
| BUF_SIZE | 0 | devlink->_net.net | 10624 |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->dev_name_index | 1 |
| CAPPED_DATA | 0 | devlink->ops->reload_actions | 1 |
| DATA_SOURCE | 0 | devlink | r __devlink_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &shd_mutex | ||
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/intel/ice/ice_sf_eth.c ice_sf_dev_probe() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->rel->refcount.refs.counter | 1 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/amd/pds_core/main.c pdsc_init_pf() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->params.xa_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/amd/pds_core/main.c pdsc_init_vf() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/mellanox/mlxsw/core.c __mlxsw_core_bus_device_register() -> devl_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->reload_failed | 0-1 |
| BUF_SIZE | 0 | devlink | s32min-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->dev_name_index | 1 |
| CAPPED_DATA | 0 | devlink->ops->reload_actions | 1 |
| DATA_SOURCE | 0 | devlink | r devlink_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c ixgbe_recovery_probe() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->ports.xa_lock.rlock.dep_map->name | 0-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/netdevsim/dev.c nsim_drv_probe() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | devlink | s32min-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->dev_name_index | 1 |
| CAPPED_DATA | 0 | devlink->ops->reload_actions | 1 |
| DATA_SOURCE | 0 | devlink | r devlink_alloc_ns |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/mellanox/mlx5/core/main.c mlx5_init_one() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/mellanox/mlx5/core/main.c mlx5_init_one_light() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/sfc/efx_devlink.c efx_probe_devlink_and_lock() -> devl_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->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | devlink->lock.osq.tail.counter | 0-s32max |
| BUF_SIZE | 0 | devlink | s32min-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->dev_name_index | 1 |
| CAPPED_DATA | 0 | devlink->ops->reload_actions | 1 |
| DATA_SOURCE | 0 | devlink | r devlink_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/intel/ice/devlink/devlink.c ice_devlink_register() -> devl_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |