Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ethtool/ioctl.c ethtool_get_coalesce() -> (struct ethtool_ops)->get_coalesce()
| 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_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_coalesce | 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 | coalesce | 486035372027924480 |
| PARAM_VALUE | 1 | coalesce->cmd | 14 |
| PARAM_VALUE | 1 | coalesce->pkt_rate_high | 0 |
| PARAM_VALUE | 1 | coalesce->pkt_rate_low | 0 |
| PARAM_VALUE | 1 | coalesce->rate_sample_interval | 0 |
| PARAM_VALUE | 1 | coalesce->rx_coalesce_usecs | 0 |
| PARAM_VALUE | 1 | coalesce->rx_coalesce_usecs_high | 0 |
| PARAM_VALUE | 1 | coalesce->rx_coalesce_usecs_irq | 0 |
| PARAM_VALUE | 1 | coalesce->rx_coalesce_usecs_low | 0 |
| PARAM_VALUE | 1 | coalesce->rx_max_coalesced_frames | 0 |
| PARAM_VALUE | 1 | coalesce->rx_max_coalesced_frames_high | 0 |
| PARAM_VALUE | 1 | coalesce->rx_max_coalesced_frames_irq | 0 |
| PARAM_VALUE | 1 | coalesce->rx_max_coalesced_frames_low | 0 |
| PARAM_VALUE | 1 | coalesce->stats_block_coalesce_usecs | 0 |
| PARAM_VALUE | 1 | coalesce->tx_coalesce_usecs | 0 |
| PARAM_VALUE | 1 | coalesce->tx_coalesce_usecs_high | 0 |
| PARAM_VALUE | 1 | coalesce->tx_coalesce_usecs_irq | 0 |
| PARAM_VALUE | 1 | coalesce->tx_coalesce_usecs_low | 0 |
| PARAM_VALUE | 1 | coalesce->tx_max_coalesced_frames | 0 |
| PARAM_VALUE | 1 | coalesce->tx_max_coalesced_frames_high | 0 |
| PARAM_VALUE | 1 | coalesce->tx_max_coalesced_frames_irq | 0 |
| PARAM_VALUE | 1 | coalesce->tx_max_coalesced_frames_low | 0 |
| PARAM_VALUE | 1 | coalesce->use_adaptive_rx_coalesce | 0 |
| PARAM_VALUE | 1 | coalesce->use_adaptive_tx_coalesce | 0 |
| PARAM_VALUE | 2 | kernel_coal | 1932370664591990784 |
| PARAM_VALUE | 2 | kernel_coal->rx_cqe_frames | 0 |
| PARAM_VALUE | 2 | kernel_coal->rx_cqe_nsecs | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_max_bytes | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_max_frames | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_time_usecs | 0 |
| PARAM_VALUE | 2 | kernel_coal->use_cqe_mode_rx | 0 |
| PARAM_VALUE | 2 | kernel_coal->use_cqe_mode_tx | 0 |
| PARAM_VALUE | 3 | extack | 0 |
| CAPPED_DATA | 0 | netdev->nd_net.net | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| FUZZY_MAX | 0 | netdev->reg_state | 1 |
| CONTAINER | 0 | -152-784+0 | $(-1) |
| HARD_MAX | 0 | netdev->reg_state | 1 |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/ioctl.c ethtool_set_coalesce() -> (struct ethtool_ops)->get_coalesce()
| 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_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_coalesce | 1-u64max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->set_coalesce | 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 | coalesce | 4759507632451665920 |
| PARAM_VALUE | 2 | kernel_coal | 6300287823005405184 |
| PARAM_VALUE | 2 | kernel_coal->rx_cqe_frames | 0 |
| PARAM_VALUE | 2 | kernel_coal->rx_cqe_nsecs | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_max_bytes | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_max_frames | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_time_usecs | 0 |
| PARAM_VALUE | 2 | kernel_coal->use_cqe_mode_rx | 0 |
| PARAM_VALUE | 2 | kernel_coal->use_cqe_mode_tx | 0 |
| PARAM_VALUE | 3 | extack | 0 |
| CAPPED_DATA | 0 | netdev->nd_net.net | 1 |
| DATA_SOURCE | 0 | netdev | $0 |
| FUZZY_MAX | 0 | netdev->reg_state | 1 |
| CONTAINER | 0 | -152-784+0 | $(-1) |
| HARD_MAX | 0 | netdev->reg_state | 1 |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ethtool/coalesce.c __ethnl_set_coalesce() -> (struct ethtool_ops)->get_coalesce()
| 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_ops | 4096-ptr_max |
| 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 | 1 | coalesce | 5726635148511264768 |
| PARAM_VALUE | 1 | coalesce->cmd | 0 |
| PARAM_VALUE | 1 | coalesce->pkt_rate_high | 0 |
| PARAM_VALUE | 1 | coalesce->pkt_rate_low | 0 |
| PARAM_VALUE | 1 | coalesce->rate_sample_interval | 0 |
| PARAM_VALUE | 1 | coalesce->rx_coalesce_usecs | 0 |
| PARAM_VALUE | 1 | coalesce->rx_coalesce_usecs_high | 0 |
| PARAM_VALUE | 1 | coalesce->rx_coalesce_usecs_irq | 0 |
| PARAM_VALUE | 1 | coalesce->rx_coalesce_usecs_low | 0 |
| PARAM_VALUE | 1 | coalesce->rx_max_coalesced_frames | 0 |
| PARAM_VALUE | 1 | coalesce->rx_max_coalesced_frames_high | 0 |
| PARAM_VALUE | 1 | coalesce->rx_max_coalesced_frames_irq | 0 |
| PARAM_VALUE | 1 | coalesce->rx_max_coalesced_frames_low | 0 |
| PARAM_VALUE | 1 | coalesce->stats_block_coalesce_usecs | 0 |
| PARAM_VALUE | 1 | coalesce->tx_coalesce_usecs | 0 |
| PARAM_VALUE | 1 | coalesce->tx_coalesce_usecs_high | 0 |
| PARAM_VALUE | 1 | coalesce->tx_coalesce_usecs_irq | 0 |
| PARAM_VALUE | 1 | coalesce->tx_coalesce_usecs_low | 0 |
| PARAM_VALUE | 1 | coalesce->tx_max_coalesced_frames | 0 |
| PARAM_VALUE | 1 | coalesce->tx_max_coalesced_frames_high | 0 |
| PARAM_VALUE | 1 | coalesce->tx_max_coalesced_frames_irq | 0 |
| PARAM_VALUE | 1 | coalesce->tx_max_coalesced_frames_low | 0 |
| PARAM_VALUE | 1 | coalesce->use_adaptive_rx_coalesce | 0 |
| PARAM_VALUE | 1 | coalesce->use_adaptive_tx_coalesce | 0 |
| PARAM_VALUE | 2 | kernel_coal | 414907230760738816 |
| PARAM_VALUE | 2 | kernel_coal->rx_cqe_frames | 0 |
| PARAM_VALUE | 2 | kernel_coal->rx_cqe_nsecs | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_max_bytes | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_max_frames | 0 |
| PARAM_VALUE | 2 | kernel_coal->tx_aggr_time_usecs | 0 |
| PARAM_VALUE | 2 | kernel_coal->use_cqe_mode_rx | 0 |
| PARAM_VALUE | 2 | kernel_coal->use_cqe_mode_tx | 0 |
| PARAM_VALUE | 3 | extack | 4971238048455385088 |
| CONTAINER | 0 | -152-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | extack->miss_nest->nla_type | 0-u16max |
| 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/coalesce.c coalesce_prepare_data() -> (struct ethtool_ops)->get_coalesce()
| 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->type | 0,4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | netdev->ethtool_ops->get_coalesce | 1-u64max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 0 | netdev->priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | coalesce | 4096-ptr_max |
| PARAM_VALUE | 2 | kernel_coal | 4096-ptr_max |
| CONTAINER | 0 | -152-784+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | extack->miss_nest->nla_type | 0-u16max |