Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_get_ethtool_stats() -> b53_get_ethtool_stats()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
PARAM_VALUE 0 ds->ops->get_ethtool_stats 1-u64max
PARAM_VALUE 0 ds->priv->chip_id 0-361217,406120
PARAM_VALUE 2 data 4096-ptr_max
DATA_SOURCE 0 ds $0
DATA_SOURCE 1 port $1
DATA_SOURCE 2 data $2
NOCHECK_CALL

net/dsa/conduit.c dsa_conduit_append_port_stats() -> (struct dsa_switch_ops)->get_ethtool_stats()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
PARAM_VALUE 0 ds->ops->get_ethtool_stats 1-u64max
PARAM_VALUE 0 ds->ops->get_sset_count 1-u64max
PARAM_VALUE 2 data 4096-ptr_max
DATA_SOURCE 0 ds $0
DATA_SOURCE 1 port $1
CONTAINER 0 -112-72+0 $(-1)
NOCHECK_CALL

net/dsa/user.c dsa_user_get_ethtool_stats() -> (struct dsa_switch_ops)->get_ethtool_stats()

Type Parameter Key Value
PARAM_VALUE 0 ds 4096-ptr_max
PARAM_VALUE 0 ds->ops 4096-ptr_max
PARAM_VALUE 0 ds->ops->get_ethtool_stats 1-u64max
PARAM_VALUE 2 data 4096-ptr_max
CONTAINER 0 -112-72+0 $(-1)
NOCHECK_CALL