Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot.c ocelot_trap_add() -> ocelot_vcap_filter_replace()

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
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte

drivers/net/ethernet/mscc/ocelot.c ocelot_trap_del() -> ocelot_vcap_filter_replace()

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 1-u64max
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_replace()

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
PARAM_VALUE 1 filter->action.dei 0-1
PARAM_VALUE 1 filter->action.pcp 0-7
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 1 filter->action.dei 1
CAPPED_DATA 1 filter->action.pcp 1
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_replace()

Type Parameter Key Value
PARAM_VALUE 0 ocelot->block 4096-ptr_max
PARAM_VALUE 1 filter 4096-ptr_max
PARAM_VALUE 1 filter->ingress_port_mask 1-u64max
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_flower.c ocelot_cls_flower_replace() -> ocelot_vcap_filter_replace()

Type Parameter Key Value
PARAM_VALUE 0 ocelot->block 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 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock

drivers/net/dsa/ocelot/felix.c felix_update_tag_8021q_rx_rules() -> ocelot_vcap_filter_replace()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->block 4096-ptr_max
PARAM_VALUE 1 filter 4096-ptr_max
PARAM_VALUE 1 filter->action.push_inner_tag 0-1
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
DATA_SOURCE 1 filter r ocelot_vcap_block_find_filter_by_id
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte

drivers/net/dsa/ocelot/felix.c felix_update_trapping_destinations() -> ocelot_vcap_filter_replace()

Type Parameter Key Value
PARAM_VALUE 0 ocelot->block 4096-ptr_max
PARAM_VALUE 1 filter 4096-ptr_max
PARAM_VALUE 1 filter->action.mask_mode 1,3
PARAM_VALUE 1 filter->is_trap 1
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
BUF_SIZE 0 ocelot s32min-(-2),1-s32max
CAPPED_DATA 1 filter->action.mask_mode 1
BIT_INFO 1 filter->action.mask_mode 0x1,0x3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte