Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

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

Type Parameter Key Value
PARAM_VALUE 0 ctx 4096-ptr_max
PARAM_VALUE 0 ctx->key_size 0-u16max
PARAM_VALUE 0 ctx->priv_size 0,8,176
PARAM_VALUE 1 tb 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->indir 0,4096-ptr_max
PARAM_VALUE 3 rxfh->key_size 0-u16max
BUF_SIZE 0 ctx 24-s32max
BUF_SIZE 0 ctx 24-s32max
CAPPED_DATA 0 ctx 1
CAPPED_DATA 0 ctx->key_size 1
DATA_SOURCE 0 ctx r ethtool_rxfh_ctx_alloc
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 *ctx->data->vnic.rss_hash_key 0-255
NO_OVERFLOW_SIMPLE 0 ctx->indir_size
NO_OVERFLOW_SIMPLE 0 ctx->key_off
NO_OVERFLOW_SIMPLE 2 data->indir_size
LOCK2 &dev->ethtool->rss_lock
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
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock

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

Type Parameter Key Value
PARAM_VALUE 0 ctx 1-1025,1027-1029,1031-u64max
PARAM_VALUE 1 tb 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->indir 0,4096-ptr_max
PARAM_VALUE 3 rxfh->key_size 0-u16max
DATA_SOURCE 0 ctx r xa_load
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 *ctx->data->vnic.rss_hash_key 0-255
NO_OVERFLOW_SIMPLE 2 data->indir_size
LOCK2 &dev->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