Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ethtool/common.c ethtool_check_rss_ctx_busy() -> ethtool_get_rxnfc_rule_count()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->ethtool->rss_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ethtool->rss_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ethtool->rss_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.wait_lock.owner (-1)
PARAM_VALUE 0 dev->ethtool->rss_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->create_rxfh_context 1193890977307893760,3411743749688197120,4061224044846587904,4457498795121053696,4492625381564977152,6869898235061968896
PARAM_VALUE 0 dev->ethtool_ops->get_rxnfc 1-u64max
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &dev->ethtool->rss_lock
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock

net/ethtool/common.c ethtool_get_max_rxnfc_channel() -> ethtool_get_rxnfc_rule_count()

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->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->get_channels 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->get_rxnfc 1-u64max
PARAM_VALUE 0 dev->ethtool_ops->set_channels 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
DATA_SOURCE 0 dev $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex