Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/ioctl.c ethtool_set_link_ksettings() -> (struct ethtool_ops)->set_link_ksettings()
| 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_link_ksettings | 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 | cmd | 876257556125556736 |
| PARAM_VALUE | 1 | cmd->base.link_mode_masks_nwords | 4 |
| PARAM_VALUE | 1 | cmd->base.master_slave_cfg | 0 |
| PARAM_VALUE | 1 | cmd->base.master_slave_state | 0 |
| PARAM_VALUE | 1 | cmd->lanes | 0 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->reg_state | 1 |
| CONTAINER | 0 | -520-784+0 | $(-1) |
| HARD_MAX | 0 | dev->reg_state | 1 |
| USER_DATA | 1 | cmd->base.autoneg | 0-255 |
| USER_DATA | 1 | cmd->base.cmd | 0-u32max |
| USER_DATA | 1 | cmd->base.duplex | 0-255 |
| USER_DATA | 1 | cmd->base.eth_tp_mdix | 0-255 |
| USER_DATA | 1 | cmd->base.eth_tp_mdix_ctrl | 0-255 |
| USER_DATA | 1 | cmd->base.master_slave_cfg | 0 |
| USER_DATA | 1 | cmd->base.master_slave_state | 0 |
| USER_DATA | 1 | cmd->base.mdio_support | 0-255 |
| USER_DATA | 1 | cmd->base.phy_address | 0-255 |
| USER_DATA | 1 | cmd->base.port | 0-255 |
| USER_DATA | 1 | cmd->base.rate_matching | 0-255 |
| USER_DATA | 1 | cmd->base.speed | 0-u32max |
| USER_DATA | 1 | cmd->base.transceiver | 0-255 |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/ioctl.c ethtool_set_settings() -> (struct ethtool_ops)->set_link_ksettings()
| 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_link_ksettings | 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 | cmd | 3018286994276245504 |
| PARAM_VALUE | 1 | cmd->base.cmd | 0 |
| PARAM_VALUE | 1 | cmd->base.link_mode_masks_nwords | 4 |
| PARAM_VALUE | 1 | cmd->base.master_slave_cfg | 0 |
| PARAM_VALUE | 1 | cmd->base.master_slave_state | 0 |
| PARAM_VALUE | 1 | cmd->base.rate_matching | 0 |
| PARAM_VALUE | 1 | cmd->base.transceiver | 0 |
| PARAM_VALUE | 1 | cmd->lanes | 0 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| FUZZY_MAX | 0 | dev->reg_state | 1 |
| CONTAINER | 0 | -520-784+0 | $(-1) |
| HARD_MAX | 0 | dev->reg_state | 1 |
| MEM_ZERO | 1 | cmd | |
| USER_DATA | 1 | cmd->base.autoneg | 0 |
| USER_DATA | 1 | cmd->base.duplex | 0 |
| USER_DATA | 1 | cmd->base.eth_tp_mdix | 0 |
| USER_DATA | 1 | cmd->base.eth_tp_mdix_ctrl | 0 |
| USER_DATA | 1 | cmd->base.mdio_support | 0 |
| USER_DATA | 1 | cmd->base.phy_address | 0 |
| USER_DATA | 1 | cmd->base.port | 0 |
| USER_DATA | 1 | cmd->base.speed | 0 |
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/hyperv/netvsc_drv.c netvsc_set_link_ksettings() -> (struct ethtool_ops)->set_link_ksettings()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->ethtool_ops->set_link_ksettings | 1-u64max |
| DATA_SOURCE | 1 | cmd | $1 |
| CONTAINER | 0 | -520-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | cmd->base.autoneg | 0-255 |
| USER_DATA | 1 | cmd->base.cmd | 0-u32max |
| USER_DATA | 1 | cmd->base.duplex | 0-255 |
| USER_DATA | 1 | cmd->base.eth_tp_mdix | 0-255 |
| USER_DATA | 1 | cmd->base.eth_tp_mdix_ctrl | 0-255 |
| USER_DATA | 1 | cmd->base.master_slave_cfg | 0 |
| USER_DATA | 1 | cmd->base.master_slave_state | 0 |
| USER_DATA | 1 | cmd->base.mdio_support | 0-255 |
| USER_DATA | 1 | cmd->base.phy_address | 0-255 |
| USER_DATA | 1 | cmd->base.port | 0-255 |
| USER_DATA | 1 | cmd->base.rate_matching | 0-255 |
| USER_DATA | 1 | cmd->base.speed | 0-u32max |
| USER_DATA | 1 | cmd->base.transceiver | 0-255 |
net/ethtool/linkinfo.c ethnl_set_linkinfo() -> (struct ethtool_ops)->set_link_ksettings()
| 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->ethtool_ops->get_link_ksettings | 1-u64max |
| 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 | cmd | 4568114800056115200 |
| PARAM_VALUE | 1 | cmd->base.autoneg | 0 |
| PARAM_VALUE | 1 | cmd->base.cmd | 0 |
| PARAM_VALUE | 1 | cmd->base.duplex | 0 |
| PARAM_VALUE | 1 | cmd->base.eth_tp_mdix | 0 |
| PARAM_VALUE | 1 | cmd->base.link_mode_masks_nwords | 0 |
| PARAM_VALUE | 1 | cmd->base.master_slave_cfg | 0 |
| PARAM_VALUE | 1 | cmd->base.master_slave_state | 0 |
| PARAM_VALUE | 1 | cmd->base.mdio_support | 0 |
| PARAM_VALUE | 1 | cmd->base.rate_matching | 0 |
| PARAM_VALUE | 1 | cmd->base.speed | 0 |
| PARAM_VALUE | 1 | cmd->base.transceiver | 0 |
| PARAM_VALUE | 1 | cmd->lanes | 0 |
| CONTAINER | 0 | -520-784+0 | $(-1) |
| MEM_ZERO | 1 | cmd | |
| 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/linkmodes.c ethnl_set_linkmodes() -> (struct ethtool_ops)->set_link_ksettings()
| 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->ethtool_ops->get_link_ksettings | 1-u64max |
| 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 | cmd | 3112615686251995136 |
| PARAM_VALUE | 1 | cmd->base.cmd | 0 |
| PARAM_VALUE | 1 | cmd->base.eth_tp_mdix | 0 |
| PARAM_VALUE | 1 | cmd->base.eth_tp_mdix_ctrl | 0 |
| PARAM_VALUE | 1 | cmd->base.link_mode_masks_nwords | 0 |
| PARAM_VALUE | 1 | cmd->base.master_slave_cfg | 0 |
| PARAM_VALUE | 1 | cmd->base.master_slave_state | 0 |
| PARAM_VALUE | 1 | cmd->base.mdio_support | 0 |
| PARAM_VALUE | 1 | cmd->base.phy_address | 0 |
| PARAM_VALUE | 1 | cmd->base.port | 0 |
| PARAM_VALUE | 1 | cmd->base.rate_matching | 0 |
| PARAM_VALUE | 1 | cmd->base.transceiver | 0 |
| CONTAINER | 0 | -520-784+0 | $(-1) |
| MEM_ZERO | 1 | cmd | |
| 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 |