Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/devlink/rate.c devlink_nl_rate_new_doit() -> devlink_rate_node_get_from_attrs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate_devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | devlink->ops->rate_node_del | 1288881180212264960,5511336031576576000,8287067794582441984 |
| PARAM_VALUE | 1 | devlink->ops->rate_node_new | 1856378281611169792,5371129506061082624,8877245127354101760 |
| PARAM_VALUE | 1 | devlink->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | attrs | 0,16,4096-ptr_max |
| CAPPED_DATA | 1 | devlink | 1 |
| DATA_SOURCE | 0 | rate_devlink | r devl_rate_lock |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |
net/devlink/rate.c devlink_rate_node_get_from_info() -> devlink_rate_node_get_from_attrs()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rate_devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | devlink->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | devlink->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 2 | attrs | 0,16,4096-ptr_max |
| BUF_SIZE | 2 | attrs | (-1)-s32max |
| BUF_SIZE | 2 | attrs | (-1)-s32max |
| CAPPED_DATA | 1 | devlink | 1 |
| DATA_SOURCE | 0 | rate_devlink | $0 |
| DATA_SOURCE | 1 | devlink | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 |