Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 7 files:
- drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c, line 1001
- drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c
- drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c
- drivers/net/ethernet/mellanox/mlx5/core/health.c, line 512
- drivers/net/ethernet/mellanox/mlxsw/core.c
- drivers/net/netdevsim/health.c
- net/devlink/health.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c mlx5e_tx_reporter_diagnose() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->state_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 mlx5e_priv)->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c mlx5e_tx_reporter_diagnose_tis_config() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->state_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 mlx5e_priv)->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_tx.c mlx5e_tx_reporter_dump_all_sqs() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlx5/core/health.c mlx5_fw_reporter_heath_buffer_data_put() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c mlx5e_rx_reporter_diagnose_rqs() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->state_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 mlx5e_priv)->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c mlx5e_rx_reporter_diagnose_rx_res_dir_tirns() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 0 | fmsg->item_list.prev->prev | 0 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->state_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 mlx5e_priv)->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c mlx5e_rx_reporter_diagnose_rx_res_rss() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 0 | fmsg->item_list.prev->prev | 0 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->state_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 mlx5e_priv)->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c mlx5e_rx_reporter_diagnose_rx_res_rss_tirn() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| PARAM_VALUE | 0 | fmsg->item_list.prev->prev | 0 |
| DATA_SOURCE | 0 | fmsg | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &priv->state_lock | ||
| HALF_LOCKED2 | &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 mlx5e_priv)->state_lock |
drivers/net/ethernet/mellanox/mlx5/core/en/reporter_rx.c mlx5e_rx_reporter_dump_all_rqs() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_health_fw_fatal_dump() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlxsw/core.c mlxsw_core_health_fw_fatal_dump() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
drivers/net/netdevsim/health.c nsim_dev_dummy_fmsg_put() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 0 | fmsg->putting_binary | 0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/netdevsim/health.c nsim_dev_dummy_fmsg_put() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 0 | fmsg->putting_binary | 0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/netdevsim/health.c nsim_dev_dummy_fmsg_put() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| PARAM_VALUE | 0 | fmsg->putting_binary | 0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
net/devlink/health.c devlink_fmsg_binary_pair_nest_end() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22),0 |
| PARAM_VALUE | 0 | fmsg->putting_binary | 0 |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| STR_LEN | 0 | fmsg | (-1),4,9,11,14,18,30 |
| STR_LEN | 0 | fmsg | (-1),4,9,11,14,18,30 |
| BIT_INFO | 0 | fmsg->err | 0x0,0xffffffea |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_fw_tracer_get_saved_traces_objects() -> devlink_fmsg_arr_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock | ||
| LOCK2 | &tracer->st_arr.lock | ||
| TYPE_LOCK | (struct mlx5_fw_tracer)->st_arr.lock |