Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/openvswitch/meter.c attach_meter() -> dp_meter_instance_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->count | 0-4294967294 |
| PARAM_VALUE | 0 | tbl->max_meters_allowed | 1-u32max |
| PARAM_VALUE | 0 | tbl->ti | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->ti->n_meters | 0-4294967294 |
| BUF_SIZE | 0 | tbl | 16 |
| CAPPED_DATA | 0 | tbl->count | 1 |
| CAPPED_DATA | 0 | tbl->ti | 1 |
| CAPPED_DATA | 1 | size | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| PARAM_COMPARE | 0 | tbl->count | < $0->max_meters_allowed |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ovs_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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 |
net/openvswitch/meter.c detach_meter() -> dp_meter_instance_realloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | tbl | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->count | 0-1073741823 |
| PARAM_VALUE | 0 | tbl->ti | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->ti->dp_meters | 4096-ptr_max |
| PARAM_VALUE | 0 | tbl->ti->n_meters | 1025-s32max |
| PARAM_VALUE | 0 | *tbl->ti->dp_meters | 0 |
| PARAM_VALUE | 1 | size | 512-s32max |
| BUF_SIZE | 0 | tbl | (-1),16 |
| BUF_SIZE | 0 | tbl | (-1),16 |
| CAPPED_DATA | 0 | tbl->count | 1 |
| CAPPED_DATA | 0 | tbl->ti | 1 |
| DATA_SOURCE | 0 | tbl | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &ovs_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| 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 |