Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_config_profile() -> mlxsw_res_get()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 1 res_id 52
DATA_SOURCE 0 res $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_config_profile() -> mlxsw_res_get()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 1 res_id 50
DATA_SOURCE 0 res $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/mellanox/mlxsw/pci.c mlxsw_pci_config_profile() -> mlxsw_res_get()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
PARAM_VALUE 1 res_id 51
DATA_SOURCE 0 res $3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_res_get() -> mlxsw_res_get()

Type Parameter Key Value
PARAM_VALUE 0 res 4096-ptr_max
DATA_SOURCE 1 res_id $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 &mlxsw_sp->router->lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &rtnl_mutex