Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ocelot 4096-ptr_max
PARAM_VALUE 0 ocelot->ports 4096-ptr_max
PARAM_VALUE 1 bridge_dev 4096-ptr_max
PARAM_VALUE 2 bridge_num 0-s32max
CAPPED_DATA 0 ocelot->num_phys_ports 1
CAPPED_DATA 1 bridge_dev 1
CAPPED_DATA 2 bridge_num 1
DATA_SOURCE 1 bridge_dev $2
DATA_SOURCE 2 bridge_num r ocelot_bridge_num_get
NOCHECK_CALL
UNITS 0 ocelot unit_byte
UNITS 1 bridge_dev unit_byte

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

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