Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mellanox/mlx4/crdump.c, line 211
- drivers/net/netdevsim/dev.c, line 121
- net/devlink/region.c, line 1234
Smatch caller information:
drivers/net/netdevsim/dev.c nsim_dev_take_snapshot_write() -> devlink_region_snapshot_id_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_flags | 4-4294967295 |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx4/crdump.c mlx4_crdump_collect() -> devlink_region_snapshot_id_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_flags | 4-4294967295 |
| PARAM_VALUE | 0 | devlink->snapshot_ids.xa_lock.rlock.dep_map->name | 0-255 |
| DATA_SOURCE | 0 | devlink | r priv_to_devlink |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &persist->device_state_mutex | ||
| HALF_LOCKED2 | &cmd->event_sem | ||
| HALF_LOCKED2 | &priv->cmd.poll_sem | ||
| TYPE_LOCK | (struct mlx4_dev_persistent)->device_state_mutex |