Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/sf/devlink.c mlx5_devlink_sf_port_new() -> mlx5_sf_add()

Type Parameter Key Value
PARAM_VALUE 0 dev 4096-ptr_max
PARAM_VALUE 0 dev->priv.eswitch 4096-ptr_max
PARAM_VALUE 0 dev->priv.sf_hw_table 1-u64max
PARAM_VALUE 2 new_attr 7401116664799633408
PARAM_VALUE 2 new_attr->controller 0-u16max
PARAM_VALUE 2 new_attr->flavour 7
PARAM_VALUE 2 new_attr->port_index_valid 0
PARAM_VALUE 2 new_attr->sfnum_valid 1
PARAM_VALUE 3 extack 4971238048455385088
PARAM_VALUE 4 dl_port 5213098457355624448
CAPPED_DATA 2 new_attr->pfnum 1
DATA_SOURCE 0 dev r devlink_priv
DATA_SOURCE 2 new_attr $1
DATA_SOURCE 3 extack $2
DATA_SOURCE 4 dl_port $3
RX_PATH
TASK_NOT_RUNNING
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