Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/ethtool/common.c ethtool_rxfh_ctxs_can_resize() -> ethtool_rxfh_can_resize()

Type Parameter Key Value
CAPPED_DATA 2 new_size 1
DATA_SOURCE 0 tbl r ethtool_rxfh_context_indir
DATA_SOURCE 2 new_size $1
RX_PATH
TASK_NOT_RUNNING
UNITS 1 old_size unit_array_size
UNITS 3 user_size unit_array_size
LOCK2 &dev->ethtool->rss_lock
TYPE_LOCK (struct ethtool_netdev_state)->rss_lock

net/ethtool/common.c ethtool_rxfh_indir_can_resize() -> ethtool_rxfh_can_resize()

Type Parameter Key Value
BUF_SIZE 0 tbl s32min,(-1),1-s32max
BUF_SIZE 0 tbl s32min,(-1),1-s32max
DATA_SOURCE 0 tbl $1
DATA_SOURCE 1 old_size $2
DATA_SOURCE 2 new_size $3
RX_PATH
TASK_NOT_RUNNING
UNITS 3 user_size unit_array_size
HALF_LOCKED2 &priv->state_lock