Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- net/ethtool/features.c, line 182
- net/ethtool/netlink.c, line 559
- net/ethtool/tsconfig.c, line 228
- net/ethtool/tunnels.c, line 187
Smatch caller information:
net/ethtool/tsconfig.c tsconfig_send_reply() -> ethnl_reply_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->cfg_pending | 1-u64max |
| PARAM_VALUE | 1 | dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->hwprov | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->netdev_ops->ndo_hwtstamp_get | 0,4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 48 |
| PARAM_VALUE | 3 | hdr_attrtype | 1 |
| PARAM_VALUE | 4 | info | 4201664097468477440 |
| PARAM_VALUE | 4 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 4 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 4 | info->family | 4096-ptr_max |
| PARAM_VALUE | 4 | info->genlhdr | 4096-ptr_max |
| PARAM_VALUE | 4 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 5 | ehdrp | 6777736694856994816 |
| BUF_SIZE | 4 | info->attrs | (-1)-s32max |
| BUF_SIZE | 4 | info->nlhdr | 1-s32max |
| CAPPED_DATA | 4 | info->_net.net | 1 |
| CAPPED_DATA | 4 | info->family->n_ops | 1 |
| CAPPED_DATA | 4 | info->family->n_small_ops | 1 |
| CAPPED_DATA | 4 | info->family->resv_start_op | 1 |
| CAPPED_DATA | 4 | info->nlhdr->nlmsg_len | 1 |
| DATA_SOURCE | 1 | dev | $0 |
| DATA_SOURCE | 4 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | info->extack->miss_nest->nla_type | 0-u16max |
| USER_DATA | 4 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 4 | info->genlhdr | |
| USER_PTR | 4 | info->nlhdr | |
| 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/netlink.c ethnl_default_doit() -> ethnl_reply_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 0-u32max |
| PARAM_VALUE | 1 | dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | dev->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | dev->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | dev->lock.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 1 | dev->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 3 | hdr_attrtype | 1-2 |
| PARAM_VALUE | 4 | info | 4201664097468477440 |
| PARAM_VALUE | 4 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 4 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 4 | info->family | 4096-ptr_max |
| PARAM_VALUE | 4 | info->genlhdr | 4096-ptr_max |
| PARAM_VALUE | 4 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 5 | ehdrp | 1192725930624221184 |
| CAPPED_DATA | 4 | info->_net.net | 1 |
| DATA_SOURCE | 4 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | info->extack->miss_nest->nla_type | 0-u16max |
| USER_DATA | 4 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 4 | info->genlhdr | |
| USER_PTR | 4 | info->nlhdr | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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 &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ethtool/tunnels.c ethnl_tunnel_info_doit() -> ethnl_reply_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic->lock.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic->lock.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev->udp_tunnel_nic_info | 1-u64max |
| PARAM_VALUE | 2 | cmd | 29 |
| PARAM_VALUE | 3 | hdr_attrtype | 1 |
| PARAM_VALUE | 4 | info | 4201664097468477440 |
| PARAM_VALUE | 4 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 4 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 4 | info->family | 4096-ptr_max |
| PARAM_VALUE | 4 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 5 | ehdrp | 106025127385436160 |
| CAPPED_DATA | 4 | info->_net.net | 1 |
| DATA_SOURCE | 4 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 4 | info->genlhdr | |
| USER_PTR | 4 | info->nlhdr | |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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 &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ethtool/features.c features_send_reply() -> ethnl_reply_init()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | payload | 0-s32max,18446744071562067968-u64max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.parent | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.parent->bus | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->dev.parent->type | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | dev->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | dev->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | dev->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | dev->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.request | 0-4 |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->clk->core->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.request | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.runtime_error | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->enable_count | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->prepare_count | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->clk->core->parent->protect_count | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->clk->core->prepare_count | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->clk->core->protect_count | 0-4294967295 |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.deferred_resume | 0-1 |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.idle_notification | 0-1 |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.request | 0-4 |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.request_pending | 0-1 |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.runtime_status | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.timer_autosuspends | 0-1 |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.usage_count.counter | s32min-s32max |
| PARAM_VALUE | 1 | dev->priv->cpsw->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 2 | cmd | 12 |
| PARAM_VALUE | 3 | hdr_attrtype | 1 |
| PARAM_VALUE | 4 | info | 4201664097468477440 |
| PARAM_VALUE | 4 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 4 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 4 | info->family | 4096-ptr_max |
| PARAM_VALUE | 4 | info->nlhdr | 4096-ptr_max |
| PARAM_VALUE | 5 | ehdrp | 7612450502520086528 |
| CAPPED_DATA | 4 | info->_net.net | 1 |
| DATA_SOURCE | 1 | dev | $0 |
| DATA_SOURCE | 4 | info | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 4 | info->genlhdr | |
| USER_PTR | 4 | info->nlhdr | |
| LOCK2 | global &rtnl_mutex | ||
| 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 &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |