Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 19 files:
- drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c, line 5750
- drivers/net/ethernet/cavium/liquidio/lio_ethtool.c, line 3120
- drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
- drivers/net/ethernet/fungible/funeth/funeth_ethtool.c, line 1173
- drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c, line 2226
- drivers/net/ethernet/intel/i40e/i40e_ethtool.c, line 5842
- drivers/net/ethernet/intel/ice/ice_ethtool.c, line 4890
- drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c, line 1368
- drivers/net/ethernet/marvell/prestera/prestera_ethtool.c, line 791
- drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c, line 2780
- drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
- drivers/net/ethernet/pensando/ionic/ionic_ethtool.c, line 1185
- drivers/net/ethernet/qlogic/qede/qede_ethtool.c, line 2312
- drivers/net/ethernet/sfc/ef100_ethtool.c, line 53
- drivers/net/ethernet/sfc/ethtool.c, line 286
- drivers/net/ethernet/sfc/siena/ethtool.c, line 277
- drivers/net/netdevsim/ethtool.c, line 223
- net/ethtool/fec.c
- net/ethtool/ioctl.c
Smatch caller information:
net/ethtool/fec.c ethnl_set_fec() -> (struct ethtool_ops)->set_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 | 2,4,6,8,10,12,14,16,18,20,22,24,26,28,30,32,34,36,38,40,42,44,46,48,50,52,54,56,58,60,62 |
| PARAM_VALUE | 1 | fec->reserved | 0 |
| CONTAINER | 0 | -544-784+0 | $(-1) |
| MEM_ZERO | 1 | fec | |
| 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/ioctl.c ethtool_set_fecparam() -> (struct ethtool_ops)->set_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->set_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 | 7499806645327822848 |
| PARAM_VALUE | 1 | fec->active_fec | 0 |
| PARAM_VALUE | 1 | fec->fec | 1-u32max |
| 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 | -544-784+0 | $(-1) |
| HARD_MAX | 0 | dev->reg_state | 1 |
| USER_DATA | 1 | fec->cmd | 0-u32max |
| USER_DATA | 1 | fec->fec | 1-u32max |
| HALF_LOCKED2 | global &rtnl_mutex |