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/mlx5/core/sf/hw_table.c, line 262
- drivers/net/ethernet/mellanox/mlxsw/core.c
- drivers/net/ethernet/mellanox/mlxsw/spectrum.c
- drivers/net/netdevsim/dev.c
- net/devlink/resource.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/sf/hw_table.c mlx5_sf_hw_table_res_unregister() -> devl_resources_unregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| 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/mlxsw/core.c __mlxsw_core_bus_device_register() -> devl_resources_unregister()
| 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.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->nested_rels.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->params.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->ports.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | devlink->reload_failed | 0-1 |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_flags | 0-4294967295 |
| BUF_SIZE | 0 | devlink | s32min-s32max |
| CAPPED_DATA | 0 | devlink | 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/mellanox/mlxsw/core.c mlxsw_core_bus_device_unregister() -> devl_resources_unregister()
| 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->reload_failed | 0 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_bus_device_unregister() -> devl_resources_unregister()
| 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->reload_failed | 1 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_ports_fini() -> devl_resources_unregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/netdevsim/dev.c nsim_dev_resources_register() -> devl_resources_unregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->index | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->lock->first_waiter->task->blocked_lock.owner | (-4611686018427387904)-4611686018427387903 |
| 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.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | devlink->nested_rels.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->params.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->ports.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | devlink->reload_failed | 0-1 |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | *devlink->_net.net->netns_ids.idr_rt.xa_head | (-4611686018427387904)-4611686018427387903 |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| 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_resources_unregister()
| 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.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->nested_rels.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->params.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->params.xa_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->ports.xa_flags | 0-4294967295 |
| PARAM_VALUE | 0 | devlink->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 0 | devlink->reload_failed | 0-1 |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_flags | 0-4294967295 |
| BUF_SIZE | 0 | devlink | s32min-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| DATA_SOURCE | 0 | devlink | r devlink_alloc_ns |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/netdevsim/dev.c nsim_drv_remove() -> devl_resources_unregister()
| 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 | |
| HALF_LOCKED2 | &dev->mutex | ||
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp1_resources_register() -> devl_resources_unregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock | ||
| TYPE_LOCK | (struct devlink)->lock |
drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp2_resources_register() -> devl_resources_unregister()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock | ||
| TYPE_LOCK | (struct devlink)->lock |
net/devlink/resource.c devlink_resources_unregister() -> devl_resources_unregister()
| 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 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &devlink->lock | |
| HALF_LOCKED2 | global &dsa2_mutex | ||
| TYPE_LOCK | (struct devlink)->lock |