Defined in 3 files as a member:

Defined in 1 files as a function:

Referenced in 180 files:

Smatch caller information:

net/ethtool/ioctl.c ethtool_get_stats() -> (struct ethtool_ops)->get_ethtool_stats()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->power.request 0-4
PARAM_VALUE 0 dev->dev.parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->dev.parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->begin 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432
PARAM_VALUE 0 dev->ethtool_ops->get_ethtool_stats 1-u64max
PARAM_VALUE 0 dev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 0 dev->lock.dep_map->name 0-255
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->moving_ns 0
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 dev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 dev->reg_state 0-1
PARAM_VALUE 1 stats 8094086268233519104
PARAM_VALUE 1 stats->n_stats 1-268435455
PARAM_VALUE 2 data 1-u64max
BUF_SIZE 2 data 8-2147483640
BUF_SIZE 2 data 8-2147483640
CAPPED_DATA 0 dev->nd_net.net 1
DATA_SOURCE 0 dev $0
DATA_SOURCE 2 data r vzalloc_noprof
FUZZY_MAX 0 dev->reg_state 1
HARD_MAX 0 dev->reg_state 1
NOCHECK_CALL
USER_DATA 1 stats->cmd 0-u32max
NO_OVERFLOW_SIMPLE 1 stats->n_stats
USER_PTR 1 stats->data
HALF_LOCKED2 global &rtnl_mutex

net/dsa/conduit.c dsa_conduit_get_ethtool_stats() -> (struct ethtool_ops)->get_ethtool_stats()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->dsa_ptr 4096-ptr_max
BUF_SIZE 2 data (-1),8-2147483640
BUF_SIZE 2 data (-1),8-2147483640
DATA_SOURCE 0 dev $0
DATA_SOURCE 1 stats $1
DATA_SOURCE 2 data $2
NOCHECK_CALL
USER_DATA 1 stats->cmd 0-u32max
NO_OVERFLOW_SIMPLE 1 stats->n_stats
USER_PTR 1 stats->data

Smatch assignments to (struct dsa_switch_ops)->get_ethtool_stats:

drivers/net/dsa/mxl862xx/mxl862xx.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [1879160182079926272]

drivers/net/dsa/netc/netc_main.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [5184233372857516032]

drivers/net/dsa/bcm_sf2.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [7391062168333099008]

drivers/net/dsa/bcm_sf2.c bcm_sf2_sw_probe() -> (struct dsa_switch_ops)->get_ethtool_stats [0]

drivers/net/dsa/vitesse-vsc73xx-core.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [759774329769938944]

drivers/net/dsa/realtek/rtl8366rb.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [6646482111281668096]

drivers/net/dsa/xrs700x/xrs700x.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [1149947929757290496]

drivers/net/dsa/microchip/ksz9477.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [4375459831227719680]

drivers/net/dsa/qca/ar9331.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [0]

drivers/net/dsa/qca/ar9331.c ar9331_get_pause_stats() -> (struct dsa_switch_ops)->get_ethtool_stats [ignore]

drivers/net/dsa/qca/ar9331.c ar9331_get_stats64() -> (struct dsa_switch_ops)->get_ethtool_stats [ignore]

drivers/net/dsa/qca/ar9331.c ar9331_mdio_read() -> (struct dsa_switch_ops)->get_ethtool_stats [0-u64max]

drivers/net/dsa/qca/ar9331.c ar9331_sw_irq() -> (struct dsa_switch_ops)->get_ethtool_stats [0-u64max]

drivers/net/dsa/qca/ar9331.c ar9331_sw_mask_irq() -> (struct dsa_switch_ops)->get_ethtool_stats [0-u64max]

drivers/net/dsa/qca/ar9331.c ar9331_sw_mbus_read() -> (struct dsa_switch_ops)->get_ethtool_stats [ignore]

drivers/net/dsa/qca/ar9331.c ar9331_sw_mbus_write() -> (struct dsa_switch_ops)->get_ethtool_stats [ignore]

drivers/net/dsa/qca/ar9331.c ar9331_sw_port_disable() -> (struct dsa_switch_ops)->get_ethtool_stats [ignore]

drivers/net/dsa/qca/ar9331.c ar9331_sw_probe() -> (struct dsa_switch_ops)->get_ethtool_stats [0]

drivers/net/dsa/qca/ar9331.c ar9331_sw_setup() -> (struct dsa_switch_ops)->get_ethtool_stats [ignore]

drivers/net/dsa/qca/ar9331.c ar9331_sw_setup_port() -> (struct dsa_switch_ops)->get_ethtool_stats [ignore]

drivers/net/dsa/qca/ar9331.c ar9331_sw_unmask_irq() -> (struct dsa_switch_ops)->get_ethtool_stats [0-u64max]

drivers/net/dsa/microchip/lan937x_main.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [4375459831227719680]

drivers/net/dsa/realtek/rtl8365mb_main.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [2787119374798270464]

drivers/net/dsa/dsa_loop.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [6046427494006095872]

drivers/net/dsa/mv88e6060.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [0]

drivers/net/dsa/qca/qca8k-8xxx.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [7527037305307680768]

drivers/net/dsa/lantiq/lantiq_gswip_common.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [4846552272446935040]

drivers/net/dsa/yt921x.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [7462404953518825472]

drivers/net/dsa/b53/b53_common.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [1723310625628901376]

drivers/net/dsa/microchip/ksz8.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [4375459831227719680]

drivers/net/dsa/hirschmann/hellcreek.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [9041672097201909760]

drivers/net/dsa/ks8995.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [0]

drivers/net/dsa/sja1105/sja1105_main.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [1033604670752382976]

drivers/net/dsa/mv88e6xxx/chip.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [8618123847744167936]

drivers/net/dsa/rzn1_a5psw.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [3921399480230903808]

drivers/net/dsa/ocelot/felix.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [3611250092738887680]

drivers/net/dsa/mt7530.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [9032209172843401216]

drivers/net/dsa/lan9303-core.c (null)() -> (struct dsa_switch_ops)->get_ethtool_stats [1877473917826539520]