Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/ioctl.c ethtool_get_ringparam() -> (struct ethtool_ops)->get_ringparam()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.parent->class | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.parent->power.request | 0-4 |
| PARAM_VALUE | 0 | ndev->dev.parent->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ndev->dev.parent->power.wakeirq | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.parent->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->ethtool_ops->begin | 0,1835931156019712000,3096438129622650880,3900617307435175936,5716752743725981696,7946597811871383552,8525681326485266432 |
| PARAM_VALUE | 0 | ndev->ethtool_ops->get_ringparam | 1-u64max |
| PARAM_VALUE | 0 | ndev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ndev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ndev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | ndev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ndev->moving_ns | 0 |
| PARAM_VALUE | 0 | ndev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->refcnt_tracker.list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->refcnt_tracker.list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->reg_state | 0-1 |
| PARAM_VALUE | 1 | ring | 2547410136338845696 |
| PARAM_VALUE | 1 | ring->cmd | 16 |
| PARAM_VALUE | 1 | ring->rx_jumbo_max_pending | 0 |
| PARAM_VALUE | 1 | ring->rx_jumbo_pending | 0 |
| PARAM_VALUE | 1 | ring->rx_max_pending | 0 |
| PARAM_VALUE | 1 | ring->rx_mini_max_pending | 0 |
| PARAM_VALUE | 1 | ring->rx_mini_pending | 0 |
| PARAM_VALUE | 1 | ring->rx_pending | 0 |
| PARAM_VALUE | 1 | ring->tx_max_pending | 0 |
| PARAM_VALUE | 1 | ring->tx_pending | 0 |
| PARAM_VALUE | 2 | kernel_ring | 8353640538937495552 |
| PARAM_VALUE | 2 | kernel_ring->cqe_size | 0 |
| PARAM_VALUE | 2 | kernel_ring->hds_thresh | 0 |
| PARAM_VALUE | 2 | kernel_ring->hds_thresh_max | 0 |
| PARAM_VALUE | 2 | kernel_ring->rx_buf_len | 0 |
| PARAM_VALUE | 2 | kernel_ring->rx_push | 0 |
| PARAM_VALUE | 2 | kernel_ring->tcp_data_split | 0 |
| PARAM_VALUE | 2 | kernel_ring->tx_push | 0 |
| PARAM_VALUE | 2 | kernel_ring->tx_push_buf_len | 0 |
| PARAM_VALUE | 2 | kernel_ring->tx_push_buf_max_len | 0 |
| PARAM_VALUE | 3 | ext_ack | 0 |
| CAPPED_DATA | 0 | ndev->nd_net.net | 1 |
| DATA_SOURCE | 0 | ndev | $0 |
| FUZZY_MAX | 0 | ndev->reg_state | 1 |
| CONTAINER | 0 | -168-784+0 | $(-1) |
| HARD_MAX | 0 | ndev->reg_state | 1 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/rings.c rings_prepare_data() -> (struct ethtool_ops)->get_ringparam()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->cfg | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ndev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->ethtool_ops->get_ringparam | 1-u64max |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ndev->priv->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->priv->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | ndev->priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | ring | 4096-ptr_max |
| PARAM_VALUE | 2 | kernel_ring | 4096-ptr_max |
| CONTAINER | 0 | -168-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | ext_ack->miss_nest->nla_type | 0-u16max |
net/ethtool/common.c ethtool_ringparam_get_cfg() -> (struct ethtool_ops)->get_ringparam()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ndev | 4096-ptr_max |
| PARAM_VALUE | 0 | ndev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | ring | 6521988668446195712,8950605476304076800 |
| PARAM_VALUE | 1 | ring->cmd | 16 |
| PARAM_VALUE | 2 | kernel_ring | 4412660771020902400,6337282110588919808 |
| PARAM_VALUE | 3 | ext_ack | 0,4971238048455385088 |
| DATA_SOURCE | 0 | ndev | $0 |
| DATA_SOURCE | 1 | ring | $1 |
| DATA_SOURCE | 2 | kernel_ring | $2 |
| DATA_SOURCE | 3 | ext_ack | $3 |
| CONTAINER | 0 | -168-784+0 | $(-1) |
| MEM_ZERO | 1 | ring | |
| MEM_ZERO | 2 | kernel_ring | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | ext_ack->miss_nest->nla_type | 0-u16max |