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_net.c ocelot_bridge_num_get() -> ocelot_bridge_num_find()

Type Parameter Key Value
PARAM_VALUE 1 bridge 4096-ptr_max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 bridge $1
UNITS 0 ocelot unit_byte
UNITS 1 bridge unit_byte

drivers/net/ethernet/mscc/ocelot_net.c ocelot_bridge_num_put() -> ocelot_bridge_num_find()

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 1 bridge 4096-ptr_max
CAPPED_DATA 0 ocelot->num_phys_ports 1
CAPPED_DATA 1 bridge 1
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 bridge $1
UNITS 0 ocelot unit_byte
UNITS 1 bridge unit_byte

drivers/net/ethernet/mscc/ocelot.c ocelot_vlan_unaware_pvid() -> ocelot_bridge_num_find()

Type Parameter Key Value
PARAM_VALUE 1 bridge 1-u64max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
BUF_SIZE 0 ocelot s32min-(-1),1-s32max
DATA_SOURCE 0 ocelot $0
DATA_SOURCE 1 bridge $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 ocelot unit_byte
UNITS 1 bridge unit_byte
HALF_LOCKED2 &lag->fdb_lock
HALF_LOCKED2 0 &ocelot->fwd_domain_lock