Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/devlink/trap.c devlink_trap_policer_register() -> devlink_trap_policer_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_policer_init | 0,2839869192359178240 |
| PARAM_VALUE | 0 | devlink->trap_policer_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_policer_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->trap_policer_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | policer_item | 4096-ptr_max |
| PARAM_VALUE | 1 | policer_item->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | policer_item->policer | 4096-ptr_max |
| PARAM_VALUE | 1 | policer_item->policer->id | 1-u32max |
| PARAM_VALUE | 2 | cmd | 71 |
| BUF_SIZE | 1 | policer_item | 40 |
| CAPPED_DATA | 1 | policer_item->policer->min_burst | 1 |
| CAPPED_DATA | 1 | policer_item->policer->min_rate | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | policer_item | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/trap.c devlink_trap_policer_unregister() -> devlink_trap_policer_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | policer_item | 4096-ptr_max |
| PARAM_VALUE | 1 | policer_item->policer | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 72 |
| CAPPED_DATA | 1 | policer_item->policer->id | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | policer_item | r devlink_trap_policer_item_lookup |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/trap.c devlink_trap_policers_notify_register() -> devlink_trap_policer_notify()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 1 | policer_item | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 71 |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| CAPPED_DATA | 0 | &devlink->trap_policer_list | 1 |
| CAPPED_DATA | 1 | &policer_item->list | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/trap.c devlink_trap_policers_notify_unregister() -> devlink_trap_policer_notify()
| 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.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->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->refcount.refs.counter | (-1073741824),0-s32max |
| PARAM_VALUE | 1 | policer_item | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 72 |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | &devlink->trap_policer_list | 1 |
| CAPPED_DATA | 1 | &policer_item->list | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &devlink->lock |