Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/ioctl.c ethtool_set_rxfh() -> (struct ethtool_ops)->set_rxfh()
| 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->rss_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.owner_cpu | u32max |
| 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_rx_ring_count | 1-u64max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->set_rxfh | 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.first_waiter->task->blocked_on | 0 |
| 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 | rxfh | 1123508468146044928 |
| PARAM_VALUE | 1 | rxfh->indir | 0,16,4096-ptr_max |
| PARAM_VALUE | 1 | rxfh->input_xfrm | 0-2,255 |
| PARAM_VALUE | 1 | rxfh->key | 0,4096-ptr_max |
| PARAM_VALUE | 1 | rxfh->key_size | 0-u16max |
| PARAM_VALUE | 1 | rxfh->rss_context | 0 |
| PARAM_VALUE | 1 | rxfh->rss_delete | 0 |
| PARAM_VALUE | 2 | extack | 0 |
| BUF_SIZE | 2 | extack | 0 |
| CAPPED_DATA | 0 | netdev->nd_net.net | 1 |
| CAPPED_DATA | 0 | &netdev->ethtool->rss_lock | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| FUZZY_MAX | 0 | netdev->reg_state | 1 |
| HARD_MAX | 0 | netdev->reg_state | 1 |
| USER_DATA | 1 | rxfh->hfunc | 0-255 |
| USER_DATA | 1 | rxfh->input_xfrm | 0 |
| USER_DATA | 1 | rxfh->rss_context | 0 |
| USER_PTR | 1 | rxfh->indir | |
| USER_PTR | 1 | rxfh->key | |
| LOCK2 | 0 | &netdev->ethtool->rss_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ethtool_netdev_state)->rss_lock |
net/ethtool/ioctl.c ethtool_set_rxfh_indir() -> (struct ethtool_ops)->set_rxfh()
| 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->rss_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.owner_cpu | u32max |
| 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_rxfh_indir_size | 1-u64max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->set_rxfh | 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 | rxfh | 4191989958217633792 |
| PARAM_VALUE | 1 | rxfh->hfunc | 0 |
| PARAM_VALUE | 1 | rxfh->indir | 16,4096-ptr_max |
| PARAM_VALUE | 1 | rxfh->indir_size | 1-u32max |
| PARAM_VALUE | 1 | rxfh->input_xfrm | 0 |
| PARAM_VALUE | 1 | rxfh->key | 0 |
| PARAM_VALUE | 1 | rxfh->key_size | 0 |
| PARAM_VALUE | 1 | rxfh->rss_context | 0 |
| PARAM_VALUE | 1 | rxfh->rss_delete | 0 |
| PARAM_VALUE | 2 | extack | 0 |
| BUF_SIZE | 2 | extack | 0 |
| CAPPED_DATA | 0 | netdev->nd_net.net | 1 |
| CAPPED_DATA | 0 | &netdev->ethtool->rss_lock | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| FUZZY_MAX | 0 | netdev->reg_state | 1 |
| HARD_MAX | 0 | netdev->reg_state | 1 |
| NO_OVERFLOW_SIMPLE | 1 | rxfh->indir_size | |
| USER_PTR | 1 | rxfh->indir | |
| LOCK2 | 0 | &netdev->ethtool->rss_lock | |
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct ethtool_netdev_state)->rss_lock |
net/ethtool/rss.c ethnl_rss_set() -> (struct ethtool_ops)->set_rxfh()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | netdev | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->cfg_pending | 1-u64max |
| PARAM_VALUE | 0 | netdev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->blocked_on | 0 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | netdev->ethtool->rss_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->get_rxfh | 1-u64max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->set_rxfh | 1-u64max |
| PARAM_VALUE | 0 | netdev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | netdev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->priv->adv_rss_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->priv->devcmd_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.cq.head | 0-u16max |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.cq.phase | 0-255 |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.curr_cmd_id | 0-33 |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.outstanding_cmds.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.q_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.running_state | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.sq.head | 0-u16max |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.sq.phase | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->ena_dev->admin_queue.sq.tail | 0-u16max |
| PARAM_VALUE | 0 | netdev->priv->vdev->devcmd2->color | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->vdev->devcmd2->next_result | 0-u16max |
| PARAM_VALUE | 0 | netdev->priv->vdev->devcmd2->posted | 0-4294967295 |
| PARAM_VALUE | 0 | *netdev->name | 0-255 |
| PARAM_VALUE | 0 | *netdev->priv->ena_dev->net_device->name | 0-255 |
| PARAM_VALUE | 1 | rxfh | 458981131985084416 |
| PARAM_VALUE | 1 | rxfh->indir | 4096-ptr_max |
| PARAM_VALUE | 1 | rxfh->indir_size | 1-u32max |
| PARAM_VALUE | 1 | rxfh->key_size | 0-u16max |
| PARAM_VALUE | 1 | rxfh->rss_context | 0 |
| PARAM_VALUE | 1 | rxfh->rss_delete | 0 |
| PARAM_VALUE | 2 | extack | 4971238048455385088 |
| CAPPED_DATA | 0 | &netdev->ethtool->rss_lock | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | extack->miss_nest->nla_type | 0-u16max |
| LOCK2 | 0 | &netdev->ethtool->rss_lock | |
| 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 | ||
| TYPE_LOCK | (struct ethtool_netdev_state)->rss_lock |