Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ethtool/rss.c ethnl_rss_create_doit() -> rss_set_prep_indir()

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->type 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
PARAM_VALUE 0 dev->ethtool_ops->rxfh_max_num_contexts 0,2,8,16,33
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.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->netdev_ops 4096-ptr_max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.request 0-4
PARAM_VALUE 0 dev->priv->clk->core->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->clk->core->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.request 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.runtime_error s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->clk->core->parent->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->enable_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->prepare_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->parent->protect_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->prepare_count 0-4294967295
PARAM_VALUE 0 dev->priv->clk->core->protect_count 0-4294967295
PARAM_VALUE 0 dev->priv->cpsw->dev->power.deferred_resume 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.idle_notification 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.request 0-4
PARAM_VALUE 0 dev->priv->cpsw->dev->power.request_pending 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.runtime_status s32min-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.timer_autosuspends 0-1
PARAM_VALUE 0 dev->priv->cpsw->dev->power.usage_count.counter s32min-s32max
PARAM_VALUE 0 dev->priv->cpsw->dev->power.wakeirq->status 0-4294967295
PARAM_VALUE 0 *dev->name 0
PARAM_VALUE 1 info 4201664097468477440
PARAM_VALUE 1 info->attrs 4096-ptr_max
PARAM_VALUE 1 info->extack 4971238048455385088
PARAM_VALUE 1 info->family 4096-ptr_max
PARAM_VALUE 1 info->nlhdr 4096-ptr_max
PARAM_VALUE 2 data 977740129064083456
PARAM_VALUE 2 data->base.dev 0
PARAM_VALUE 2 data->hfunc 0
PARAM_VALUE 2 data->hkey 0,4096-ptr_max
PARAM_VALUE 2 data->hkey_size 0-u16max
PARAM_VALUE 2 data->indir_table 16,4096-ptr_max
PARAM_VALUE 3 rxfh 7234425864374771712
PARAM_VALUE 3 rxfh->hfunc 0
PARAM_VALUE 3 rxfh->indir 0
PARAM_VALUE 3 rxfh->indir_size 0
PARAM_VALUE 3 rxfh->key 0
PARAM_VALUE 3 rxfh->key_size 0
PARAM_VALUE 3 rxfh->rss_context 0
PARAM_VALUE 4 reset 2051375816410210304
PARAM_VALUE 4 *reset 0
PARAM_VALUE 5 mod 8497220690970935296
PARAM_VALUE 5 *mod 0
CAPPED_DATA 0 dev->ethtool_ops->rxfh_max_num_contexts 1
CAPPED_DATA 1 info->_net.net 1
DATA_SOURCE 1 info $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 info->snd_seq 0-u32max[u]
USER_PTR 1 info->genlhdr
USER_PTR 1 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 &rtnl_mutex
HALF_LOCKED2 global &rx_queue_mutex
HALF_LOCKED2 rcu_read

net/ethtool/rss.c ethnl_rss_set() -> rss_set_prep_indir()

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->rss_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 dev->ethtool->rss_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 dev->ethtool->rss_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 dev->ethtool_ops 4096-ptr_max
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 0 dev->priv->adv_rss_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->priv->devcmd_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.cq.head 0-u16max
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.cq.phase 0-255
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.curr_cmd_id 0-33
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.outstanding_cmds.counter s32min-s32max
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.q_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.running_state 0-1
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.sq.head 0-u16max
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.sq.phase 0-1
PARAM_VALUE 0 dev->priv->ena_dev->admin_queue.sq.tail 0-u16max
PARAM_VALUE 0 dev->priv->vdev->devcmd2->color 0-1
PARAM_VALUE 0 dev->priv->vdev->devcmd2->next_result 0-u16max
PARAM_VALUE 0 dev->priv->vdev->devcmd2->posted 0-4294967295
PARAM_VALUE 0 *dev->name 0-255
PARAM_VALUE 0 *dev->priv->ena_dev->net_device->name 0-255
PARAM_VALUE 1 info 4201664097468477440
PARAM_VALUE 1 info->attrs 4096-ptr_max
PARAM_VALUE 1 info->extack 4971238048455385088
PARAM_VALUE 1 info->family 4096-ptr_max
PARAM_VALUE 1 info->genlhdr 4096-ptr_max
PARAM_VALUE 1 info->nlhdr 4096-ptr_max
PARAM_VALUE 2 data 7842133214316818432
PARAM_VALUE 2 data->base.dev 4096-ptr_max
PARAM_VALUE 2 data->hfunc 0-255
PARAM_VALUE 2 data->hkey 0,4096-ptr_max
PARAM_VALUE 2 data->indir_table 0,16,4096-ptr_max
PARAM_VALUE 2 data->input_xfrm 0-255
PARAM_VALUE 3 rxfh 458981131985084416
PARAM_VALUE 3 rxfh->hfunc 0
PARAM_VALUE 3 rxfh->indir 0
PARAM_VALUE 3 rxfh->indir_size 0
PARAM_VALUE 3 rxfh->key 0
PARAM_VALUE 3 rxfh->key_size 0
PARAM_VALUE 4 reset 5527722862879256576
PARAM_VALUE 4 *reset 0
PARAM_VALUE 5 mod 3259466386472087552
PARAM_VALUE 5 *mod 0
CAPPED_DATA 1 info->_net.net 1
CAPPED_DATA 1 info->family->n_ops 1
CAPPED_DATA 1 info->family->n_small_ops 1
CAPPED_DATA 1 info->family->resv_start_op 1
CAPPED_DATA 1 info->nlhdr->nlmsg_len 1
DATA_SOURCE 1 info $1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 1 info->extack->miss_nest->nla_type 0-u16max
USER_DATA 1 info->snd_seq 0-u32max[u]
USER_PTR 1 info->genlhdr
USER_PTR 1 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