Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ethtool/strset.c strset_prepare_set() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->get_ethtool_phy_stats 0,3317615168082395136
PARAM_VALUE 0 netdev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 0 netdev->ethtool_ops->get_strings 1-u64max
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.request 0-4
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 netdev->priv->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 netdev->priv->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->priv->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 netdev->priv->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 netdev->priv->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 netdev->priv->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 netdev->priv->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.deferred_resume 0-1
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.idle_notification 0-1
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.request 0-4
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.request_pending 0-1
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 netdev->priv->cpsw->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 1 sset 0-22
DATA_SOURCE 0 netdev $1
DATA_SOURCE 1 sset $3
RX_PATH
TASK_NOT_RUNNING

net/ethtool/ioctl.c __ethtool_get_sset_count() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 0 netdev->ethtool_ops->get_strings 1-u64max
PARAM_VALUE 1 sset s32min-3,7,10-s32max
DATA_SOURCE 0 netdev $0
DATA_SOURCE 1 sset $1
USER_DATA 1 sset s32min-3,10-s32max

net/ethtool/ioctl.c ethtool_get_drvinfo() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.request 0-4
PARAM_VALUE 0 netdev->dev.parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->begin 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432
PARAM_VALUE 0 netdev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 0 netdev->lock.dep_map->name 0-255
PARAM_VALUE 0 netdev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 netdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 netdev->moving_ns 0
PARAM_VALUE 0 netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 netdev->reg_state 0-1
PARAM_VALUE 0 netdev->rtnl_link_ops 4096-ptr_max
PARAM_VALUE 1 sset 0
CAPPED_DATA 0 netdev->nd_net.net 1
DATA_SOURCE 0 netdev $0
FUZZY_MAX 0 netdev->reg_state 1
HARD_MAX 0 netdev->reg_state 1
HALF_LOCKED2 global &rtnl_mutex

net/ethtool/ioctl.c ethtool_get_drvinfo() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.request 0-4
PARAM_VALUE 0 netdev->dev.parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->begin 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432
PARAM_VALUE 0 netdev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 0 netdev->lock.dep_map->name 0-255
PARAM_VALUE 0 netdev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 netdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 netdev->moving_ns 0
PARAM_VALUE 0 netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 netdev->reg_state 0-1
PARAM_VALUE 0 netdev->rtnl_link_ops 4096-ptr_max
PARAM_VALUE 1 sset 1
CAPPED_DATA 0 netdev->nd_net.net 1
DATA_SOURCE 0 netdev $0
FUZZY_MAX 0 netdev->reg_state 1
HARD_MAX 0 netdev->reg_state 1
HALF_LOCKED2 global &rtnl_mutex

net/ethtool/ioctl.c ethtool_get_drvinfo() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.request 0-4
PARAM_VALUE 0 netdev->dev.parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->begin 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432
PARAM_VALUE 0 netdev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 0 netdev->lock.dep_map->name 0-255
PARAM_VALUE 0 netdev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 netdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 netdev->moving_ns 0
PARAM_VALUE 0 netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 netdev->reg_state 0-1
PARAM_VALUE 0 netdev->rtnl_link_ops 4096-ptr_max
PARAM_VALUE 1 sset 2
CAPPED_DATA 0 netdev->nd_net.net 1
DATA_SOURCE 0 netdev $0
FUZZY_MAX 0 netdev->reg_state 1
HARD_MAX 0 netdev->reg_state 1
HALF_LOCKED2 global &rtnl_mutex

net/ethtool/ioctl.c ethtool_get_phy_stats_ethtool() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->get_ethtool_phy_stats 1-u64max
PARAM_VALUE 0 netdev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 1 sset 7
DATA_SOURCE 0 netdev $0

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

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.request 0-4
PARAM_VALUE 0 netdev->dev.parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->begin 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432
PARAM_VALUE 0 netdev->ethtool_ops->get_ethtool_stats 1-u64max
PARAM_VALUE 0 netdev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 0 netdev->lock.dep_map->name 0-255
PARAM_VALUE 0 netdev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 netdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 netdev->moving_ns 0
PARAM_VALUE 0 netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 netdev->reg_state 0-1
PARAM_VALUE 1 sset 1
CAPPED_DATA 0 netdev->nd_net.net 1
DATA_SOURCE 0 netdev $0
FUZZY_MAX 0 netdev->reg_state 1
HARD_MAX 0 netdev->reg_state 1
HALF_LOCKED2 global &rtnl_mutex

net/ethtool/ioctl.c ethtool_self_test() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->bus 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->class 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.request 0-4
PARAM_VALUE 0 netdev->dev.parent->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dev.parent->type 0,4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->begin 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432
PARAM_VALUE 0 netdev->ethtool_ops->get_sset_count 1-u64max
PARAM_VALUE 0 netdev->ethtool_ops->self_test 1-u64max
PARAM_VALUE 0 netdev->lock.dep_map->name 0-255
PARAM_VALUE 0 netdev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 netdev->lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 netdev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 netdev->moving_ns 0
PARAM_VALUE 0 netdev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->next 4096-ptr_max
PARAM_VALUE 0 netdev->refcnt_tracker.list.next->prev 4096-ptr_max
PARAM_VALUE 0 netdev->reg_state 0-1
PARAM_VALUE 1 sset 0
CAPPED_DATA 0 netdev->nd_net.net 1
DATA_SOURCE 0 netdev $0
FUZZY_MAX 0 netdev->reg_state 1
HARD_MAX 0 netdev->reg_state 1
HALF_LOCKED2 global &rtnl_mutex

net/dsa/conduit.c dsa_conduit_get_ethtool_phy_stats() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dsa_ptr 4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops->get_ethtool_phy_stats 0,3317615168082395136
PARAM_VALUE 0 netdev->phydev 1-u64max
PARAM_VALUE 0 netdev->phydev->drv->get_next_update_time 0,8298490502245527552
PARAM_VALUE 0 netdev->phydev->drv->phy_id_mask 0,1048512,1048560,1048574,16777212,16777215,268435440,4294966272,4294967247,4294967272,4294967279-4294967280,4294967282,4294967289,4294967292,4294967294-u32max
PARAM_VALUE 1 sset 7
DATA_SOURCE 0 netdev $0

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

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dsa_ptr 4096-ptr_max
PARAM_VALUE 1 sset 1
DATA_SOURCE 0 netdev $0

net/dsa/conduit.c dsa_conduit_get_sset_count() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dsa_ptr 4096-ptr_max
PARAM_VALUE 0 netdev->phydev->drv->get_next_update_time 0,8298490502245527552
PARAM_VALUE 0 netdev->phydev->drv->phy_id_mask 0,1048512,1048560,1048574,16777212,16777215,268435440,4294966272,4294967247,4294967272,4294967279-4294967280,4294967282,4294967289,4294967292,4294967294-u32max
DATA_SOURCE 0 netdev $0
DATA_SOURCE 1 sset $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 sset s32min-3,10-s32max
NO_OVERFLOW_SIMPLE 0 netdev->real_num_tx_queues

net/dsa/conduit.c dsa_conduit_get_strings() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 netdev->dsa_ptr 4096-ptr_max
DATA_SOURCE 0 netdev $0
DATA_SOURCE 1 sset $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 sset s32min-3,10-s32max
NO_OVERFLOW_SIMPLE 0 netdev->real_num_tx_queues

net/ethtool/privflags.c ethnl_get_priv_flags_info() -> (struct ethtool_ops)->get_sset_count()

Type Parameter Key Value
PARAM_VALUE 0 netdev 4096-ptr_max
PARAM_VALUE 0 netdev->dev.parent 0,4096-ptr_max
PARAM_VALUE 0 netdev->ethtool_ops 4096-ptr_max
PARAM_VALUE 1 sset 2
DATA_SOURCE 0 netdev $0
RX_PATH
TASK_NOT_RUNNING