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 993
- 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 509
- 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 1 | name | 5003240642241683456 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 4 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 3 |
| TERMINATED | 1 | name | 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 1 | name | 5771890096378331136 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 11 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 10 |
| TERMINATED | 1 | name | 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 1 | name | 5003240642241683456 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 4 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 3 |
| TERMINATED | 1 | name | 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | s32min-s32max |
| PARAM_VALUE | 1 | name | 7299628071578198016 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 11 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 10 |
| TERMINATED | 1 | name | 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 1 | name | 8419842733586132992 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 4 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 3 |
| TERMINATED | 1 | name | 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | s32min-s32max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->prev | 0 |
| PARAM_VALUE | 1 | name | 5251312095451910144 |
| BUF_SIZE | 1 | name | 12 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 11 |
| TERMINATED | 1 | name | 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_start()
| 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 |
| PARAM_VALUE | 1 | name | 839463051195183104 |
| BUF_SIZE | 1 | name | 4 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 3 |
| TERMINATED | 1 | name | 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_start()
| 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 |
| PARAM_VALUE | 1 | name | 5308028846219640832,8388766887883714560 |
| BUF_SIZE | 1 | name | 13,19 |
| BUF_SIZE | 1 | name | 13,19 |
| DATA_SOURCE | 0 | fmsg | $2 |
| STR_LEN | 0 | fmsg | 12,18 |
| STR_LEN | 1 | name | 12,18 |
| BIT_INFO | 1 | name | 0x4028e008c4520000,0x7debeb1dfffef000 |
| BIT_INFO | 1 | name | 0x4028e008c4520000,0x7debeb1dfffef000 |
| TERMINATED | 1 | name | 1 |
| 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 1 | name | 8419842733586132992 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 4 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 3 |
| TERMINATED | 1 | name | 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 1 | name | 4878498125191270400 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 6 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 5 |
| TERMINATED | 1 | name | 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-90),(-22),(-12),0 |
| PARAM_VALUE | 1 | name | 2588628730482847744 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 9 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 8 |
| TERMINATED | 1 | name | 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_start()
| 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 |
| PARAM_VALUE | 1 | name | 6126675155138797568 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 15 |
| DATA_SOURCE | 0 | fmsg | $0 |
| STR_LEN | 0 | fmsg | 14 |
| TERMINATED | 1 | name | 1 |
| 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_start()
| 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 |
| PARAM_VALUE | 1 | name | 6707380824974704640 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 22 |
| DATA_SOURCE | 0 | fmsg | $0 |
| STR_LEN | 0 | fmsg | 21 |
| TERMINATED | 1 | name | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock |
net/devlink/health.c devlink_fmsg_binary_pair_nest_start() -> devlink_fmsg_arr_pair_nest_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| BUF_SIZE | 1 | name | 5,10,12,15,19,31 |
| BUF_SIZE | 1 | name | 5,10,12,15,19,31 |
| DATA_SOURCE | 0 | fmsg | $0 |
| DATA_SOURCE | 1 | name | $1 |
| STR_LEN | 0 | fmsg | 4,9,11,14,18,30 |
| STR_LEN | 0 | fmsg | 4,9,11,14,18,30 |
| TERMINATED | 1 | name | 1 |
| 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_start()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 7781754551571574784 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 1 | name | 15 |
| DATA_SOURCE | 0 | fmsg | $1 |
| STR_LEN | 0 | fmsg | 14 |
| TERMINATED | 1 | name | 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 |