Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 21 files:
- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c, line 5749
- drivers/net/ethernet/cavium/liquidio/lio_ethtool.c, line 3119
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
- drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c, line 1932
- drivers/net/ethernet/fungible/funeth/funeth_ethtool.c, line 1172
- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c, line 2225
- drivers/net/ethernet/intel/i40e/i40e_ethtool.c, line 5841
- drivers/net/ethernet/intel/ice/ice_ethtool.c, line 4889
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c, line 1367
- drivers/net/ethernet/marvell/prestera/prestera_ethtool.c, line 790
- drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c, line 2779
- drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c, line 2065
- drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
- drivers/net/ethernet/pensando/ionic/ionic_ethtool.c, line 1184
- drivers/net/ethernet/qlogic/qede/qede_ethtool.c, line 2311
- drivers/net/ethernet/sfc/ef100_ethtool.c, line 52
- drivers/net/ethernet/sfc/ethtool.c, line 285
- drivers/net/ethernet/sfc/siena/ethtool.c, line 276
- drivers/net/netdevsim/ethtool.c, line 222
- net/ethtool/fec.c
- net/ethtool/ioctl.c
Smatch caller information:
net/ethtool/fec.c ethnl_set_fec() -> (struct ethtool_ops)->get_fecparam()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->cfg_pending | 1-u64max |
| PARAM_VALUE | 0 | dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 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 |
| PARAM_VALUE | 1 | fec | 481977061426192384 |
| PARAM_VALUE | 1 | fec->active_fec | 0 |
| PARAM_VALUE | 1 | fec->cmd | 0 |
| PARAM_VALUE | 1 | fec->fec | 0 |
| PARAM_VALUE | 1 | fec->reserved | 0 |
| CONTAINER | 0 | -536-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &dpll_lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &net_dm_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ethtool/fec.c fec_prepare_data() -> (struct ethtool_ops)->get_fecparam()
| 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->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops->get_fecparam | 1-u64max |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->clk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | fec | 4492871627829891072 |
| PARAM_VALUE | 1 | fec->active_fec | 0 |
| PARAM_VALUE | 1 | fec->cmd | 0 |
| PARAM_VALUE | 1 | fec->fec | 0 |
| PARAM_VALUE | 1 | fec->reserved | 0 |
| CONTAINER | 0 | -536-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/ethtool/ioctl.c ethtool_get_fecparam() -> (struct ethtool_ops)->get_fecparam()
| 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_fecparam | 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 | fec | 5060585682603671552 |
| PARAM_VALUE | 1 | fec->active_fec | 0 |
| PARAM_VALUE | 1 | fec->cmd | 80 |
| PARAM_VALUE | 1 | fec->fec | 0 |
| PARAM_VALUE | 1 | fec->reserved | 0 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->reg_state | 1 |
| CONTAINER | 0 | -536-784+0 | $(-1) |
| HARD_MAX | 0 | dev->reg_state | 1 |
| HALF_LOCKED2 | global &rtnl_mutex |