Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mscc/ocelot_vcap.c ocelot_vcap_filter_add_aux_resources() -> ocelot_mirror_get()

Type Parameter Key Value
PARAM_VALUE 0 ocelot->block 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 extack $2
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 to unit_array_size
HALF_LOCKED2 0 &ocelot->fwd_domain_lock

drivers/net/ethernet/mscc/ocelot.c ocelot_port_mirror_add() -> ocelot_mirror_get()

Type Parameter Key Value
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 to $2
DATA_SOURCE 2 extack $4
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 to unit_array_size
HALF_LOCKED2 &block->cb_lock
HALF_LOCKED2 &flowtable->flow_block_lock