Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/net/ethernet/netronome/nfp/nfp_devlink.c nfp_devlink_info_get() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0
PARAM_VALUE 0 state->ver.minor 8-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/netronome/nfp/nfp_devlink.c nfp_devlink_info_get() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
PARAM_VALUE 0 *state->cpp->resource_lock.owner (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_open() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp 4096-ptr_max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->res 4096-ptr_max
BUF_SIZE 0 state 40
BUF_SIZE 0 state->res 40
DATA_SOURCE 0 state r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 _T->lock

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_config_cleanup_end() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->entries 0
PARAM_VALUE 0 state->idx 0
PARAM_VALUE 0 state->modified 0
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_config_start() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_read_ports() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/netronome/nfp/devlink_param.c nfp_devlink_param_u8_get() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/netronome/nfp/devlink_param.c nfp_devlink_param_u8_set() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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

drivers/net/ethernet/netronome/nfp/devlink_param.c nfp_devlink_supports_params() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0
PARAM_VALUE 0 state->ver.minor 8-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &devlink->lock
TYPE_LOCK (struct devlink)->lock

drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_flash_update_common() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
PARAM_VALUE 0 *state->cpp->resource_lock.owner (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock

drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_fw_unload() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->res s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_nsp_init() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp 4096-ptr_max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->res s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &pdev->dev.mutex

drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_pf_cfg_hwinfo() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c nfp_hwmon_read_sensor() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
PARAM_VALUE 0 *state->cpp->resource_lock.owner (-4611686018427387904)-4611686018427387903
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 _T->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_net_get_nsp_hwindex() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0
PARAM_VALUE 0 state->ver.minor 8-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_net_get_nspinfo() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0
PARAM_VALUE 0 state->ver.minor 8-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &us_ibdev->usdev_lock
HALF_LOCKED2 global &bnx2fc_dev_lock
HALF_LOCKED2 global &ft_mutex
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_net_get_port_mac_by_hwinfo() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_net_set_port_mac_by_hwinfo() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_port_get_module_eeprom() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_port_get_module_info() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c nfp_test_nsp() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp s64min-(-4096),4096-s64max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
NOCHECK_CALL
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/netronome/nfp/abm/main.c nfp_abm_vnic_set_mac() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp 4096-ptr_max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->ver.major 0
PARAM_VALUE 0 state->ver.minor 8-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &devlink->lock
TYPE_LOCK (struct devlink)->lock

drivers/net/ethernet/netronome/nfp/abm/main.c nfp_abm_vnic_set_mac() -> nfp_nsp_close()

Type Parameter Key Value
PARAM_VALUE 0 state 4096-ptr_max
PARAM_VALUE 0 state->cpp 4096-ptr_max
PARAM_VALUE 0 state->cpp->resource_lock.dep_map->name 0-255
PARAM_VALUE 0 state->cpp->resource_lock.owner (-1)
PARAM_VALUE 0 state->cpp->resource_lock.owner_cpu 4294967295
PARAM_VALUE 0 state->ver.major 0-u16max
PARAM_VALUE 0 state->ver.minor 0-u16max
BUF_SIZE 0 state 40
BUF_SIZE 0 state 40
DATA_SOURCE 0 state r nfp_nsp_open
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &devlink->lock
TYPE_LOCK (struct devlink)->lock