Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/devlink/trap.c devl_trap_policers_register() -> devlink_trap_policer_register()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | policer | 4096-ptr_max |
| PARAM_VALUE | 1 | policer->id | 1-u32max |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 1 | policer->min_burst | 1 |
| CAPPED_DATA | 1 | policer->min_rate | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| PARAM_COMPARE | 1 | policer->max_burst | >= $1->min_burst |
| PARAM_COMPARE | 1 | policer->max_rate | >= $1->min_rate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &devlink->lock |