Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/ethernet/mscc/ocelot_flower.c, line 360
- drivers/net/ethernet/mscc/ocelot_net.c, line 241
- drivers/net/ethernet/mscc/ocelot_police.c, line 200
Smatch caller information:
drivers/net/ethernet/mscc/ocelot_net.c ocelot_setup_tc_cls_matchall_police() -> ocelot_policer_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | action | 4096-ptr_max |
| PARAM_VALUE | 0 | action->num_entries | 1 |
| PARAM_VALUE | 1 | a | 4096-ptr_max |
| DATA_SOURCE | 2 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/mscc/ocelot_flower.c ocelot_flower_parse_action() -> ocelot_policer_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | action | 4096-ptr_max |
| PARAM_VALUE | 0 | action->entries | 4096-ptr_max |
| PARAM_VALUE | 0 | action->num_entries | 1-u32max |
| PARAM_VALUE | 1 | a | 4096-ptr_max |
| BUF_SIZE | 0 | action | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |