Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_vcap.c ocelot_vcap_filter_add() -> vcap_entry_get()

Type Parameter Key Value
PARAM_VALUE 0 ocelot->block 4096-ptr_max
PARAM_VALUE 0 ocelot->mirror 4096-ptr_max
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
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 2 filter r ocelot_vcap_block_find_filter_by_index
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
HALF_LOCKED2 0 &ocelot->fwd_domain_lock

drivers/net/ethernet/mscc/ocelot_vcap.c ocelot_vcap_filter_del() -> vcap_entry_get()

Type Parameter Key Value
PARAM_VALUE 0 ocelot->block 4096-ptr_max
PARAM_VALUE 0 ocelot->mirror 0
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 1 ix 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 2 filter r ocelot_vcap_block_find_filter_by_index
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
HALF_LOCKED2 0 &ocelot->fwd_domain_lock

drivers/net/ethernet/mscc/ocelot_vcap.c ocelot_vcap_filter_stats_update() -> vcap_entry_get()

Type Parameter Key Value
PARAM_VALUE 0 ocelot->block 4096-ptr_max
PARAM_VALUE 1 ix 0
PARAM_VALUE 2 filter 4096-ptr_max
PARAM_VALUE 2 filter->type 1-u32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
CAPPED_DATA 2 filter->id.cookie 1
CAPPED_DATA 2 filter->id.tc_offload 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 ix r ocelot_vcap_block_get_filter_index
DATA_SOURCE 2 filter $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ocelot unit_byte
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock