Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/net/dsa/ocelot/felix.c
- drivers/net/ethernet/mscc/ocelot.c
- drivers/net/ethernet/mscc/ocelot_flower.c, line 997
- drivers/net/ethernet/mscc/ocelot_mrp.c, line 47
- drivers/net/ethernet/mscc/ocelot_vcap.c, line 1276
Smatch caller information:
drivers/net/ethernet/mscc/ocelot.c ocelot_trap_del() -> ocelot_vcap_filter_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | filter | 4096-ptr_max |
| PARAM_VALUE | 1 | filter->ingress_port_mask | 0 |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | filter->id.cookie | 1 |
| CAPPED_DATA | 1 | filter->id.tc_offload | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | filter | r ocelot_vcap_block_find_filter_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
drivers/net/ethernet/mscc/ocelot.c ocelot_update_vlan_reclassify_rule() -> ocelot_vcap_filter_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->map | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | filter | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | filter->id.cookie | 1 |
| CAPPED_DATA | 1 | filter->id.tc_offload | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | filter | r ocelot_vcap_block_find_filter_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| HALF_LOCKED2 | 0 | &ocelot->fwd_domain_lock |
drivers/net/ethernet/mscc/ocelot_flower.c ocelot_cls_flower_destroy() -> ocelot_vcap_filter_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 1 | filter | 4096-ptr_max |
| PARAM_VALUE | 1 | filter->type | 1-u32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | filter->id.cookie | 1 |
| CAPPED_DATA | 1 | filter->id.tc_offload | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | filter | r ocelot_vcap_block_find_filter_by_id |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ocelot | unit_byte |
| HALF_LOCKED2 | &block->cb_lock | ||
| HALF_LOCKED2 | &flowtable->flow_block_lock |
drivers/net/ethernet/mscc/ocelot_mrp.c ocelot_mrp_del_vcap() -> ocelot_vcap_filter_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->ports | 4096-ptr_max |
| PARAM_VALUE | 1 | filter | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-1),1-s32max |
| CAPPED_DATA | 1 | filter->id.cookie | 1 |
| CAPPED_DATA | 1 | filter->id.tc_offload | 1 |
| DATA_SOURCE | 0 | ocelot | $0 |
| DATA_SOURCE | 1 | filter | r ocelot_vcap_block_find_filter_by_id |
| UNITS | 0 | ocelot | unit_byte |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_add_tx() -> ocelot_vcap_filter_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot->vcap_pol.pol_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap_pol.pol_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->vcap_pol.pol_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 1 | filter | 4096-ptr_max |
| PARAM_VALUE | 1 | filter->action.pag_override_mask | 255 |
| PARAM_VALUE | 1 | filter->action.vlan_pop_cnt | 1 |
| PARAM_VALUE | 1 | filter->action.vlan_pop_cnt_ena | 1 |
| PARAM_VALUE | 1 | filter->block_id | 1 |
| PARAM_VALUE | 1 | filter->id.cookie | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | filter->id.tc_offload | 0 |
| PARAM_VALUE | 1 | filter->ingress_port_mask | 0-u32max |
| PARAM_VALUE | 1 | filter->key_type | 0 |
| PARAM_VALUE | 1 | filter->list.next | 4096-ptr_max |
| PARAM_VALUE | 1 | filter->lookup | 0 |
| PARAM_VALUE | 1 | filter->prio | 1 |
| PARAM_VALUE | 1 | filter->type | 2 |
| PARAM_VALUE | 1 | filter->vlan.vid.mask | 4095 |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 1 | filter | 304 |
| DATA_SOURCE | 1 | filter | r _kzalloc_noprof |
| BIT_INFO | 1 | filter->id.cookie | 0x0,0xffffffff |
| NOCHECK_CALL | |||
| UNITS | 0 | ocelot | unit_byte |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_del_rx() -> ocelot_vcap_filter_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 1 | filter | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | filter->id.cookie | 1 |
| CAPPED_DATA | 1 | filter->id.tc_offload | 1 |
| DATA_SOURCE | 1 | filter | r ocelot_vcap_block_find_filter_by_id |
| UNITS | 0 | ocelot | unit_byte |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_del_tx() -> ocelot_vcap_filter_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 1 | filter | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | filter->id.cookie | 1 |
| CAPPED_DATA | 1 | filter->id.tc_offload | 1 |
| DATA_SOURCE | 1 | filter | r ocelot_vcap_block_find_filter_by_id |
| UNITS | 0 | ocelot | unit_byte |
drivers/net/dsa/ocelot/felix.c felix_tag_8021q_vlan_del_tx() -> ocelot_vcap_filter_del()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ocelot->block | 4096-ptr_max |
| PARAM_VALUE | 0 | ocelot->mirror | 0 |
| PARAM_VALUE | 1 | filter | 4096-ptr_max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ocelot | s32min-(-2),1-s32max |
| CAPPED_DATA | 1 | filter->id.cookie | 1 |
| CAPPED_DATA | 1 | filter->id.tc_offload | 1 |
| DATA_SOURCE | 1 | filter | r ocelot_vcap_block_find_filter_by_id |
| UNITS | 0 | ocelot | unit_byte |