Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/devlink/region.c devl_region_destroy() -> devlink_region_snapshot_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | region | 4096-ptr_max |
| PARAM_VALUE | 0 | region->ops->destructor | 0,4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | region->snapshot_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | region->snapshot_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | snapshot | 4096-ptr_max |
| BUF_SIZE | 0 | region | (-1),224 |
| BUF_SIZE | 0 | region | (-1),224 |
| CAPPED_DATA | 0 | ®ion->snapshot_list | 1 |
| CAPPED_DATA | 0 | ®ion->snapshot_lock | 1 |
| CAPPED_DATA | 1 | &snapshot->list | 1 |
| DATA_SOURCE | 0 | region | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | ®ion->snapshot_lock | |
| HALF_LOCKED2 | &adapter->devlink->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| TYPE_LOCK | (struct devlink_region)->snapshot_lock |
net/devlink/region.c devlink_nl_region_del_doit() -> devlink_region_snapshot_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | region | 4096-ptr_max |
| PARAM_VALUE | 0 | region->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | region->port_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | region->snapshot_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | region->snapshot_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | snapshot | 4096-ptr_max |
| CAPPED_DATA | 0 | ®ion->snapshot_lock | 1 |
| CAPPED_DATA | 1 | snapshot->id | 1 |
| DATA_SOURCE | 1 | snapshot | r devlink_region_snapshot_get_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | ®ion->snapshot_lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct devlink_region)->snapshot_lock |
net/devlink/region.c devlink_nl_region_new_doit() -> devlink_region_snapshot_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | region | 4096-ptr_max |
| PARAM_VALUE | 0 | region->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | region->ops->snapshot | 4096-ptr_max |
| PARAM_VALUE | 0 | region->port_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | region->snapshot_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | region->snapshot_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | region->snapshot_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | region->snapshot_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | snapshot | 4096-ptr_max |
| CAPPED_DATA | 0 | ®ion->snapshot_lock | 1 |
| CAPPED_DATA | 1 | snapshot->id | 1 |
| DATA_SOURCE | 1 | snapshot | r devlink_region_snapshot_get_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | ®ion->snapshot_lock | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct devlink_region)->snapshot_lock |