Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 8 files:
- drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c, line 182
- drivers/net/ethernet/marvell/octeontx2/af/rvu_devlink.c, line 27
- drivers/net/ethernet/mellanox/mlx5/core/diag/reporter_vnic.c, line 121
- drivers/net/ethernet/mellanox/mlx5/core/en/health.c, line 17
- drivers/net/ethernet/mellanox/mlx5/core/health.c, line 527
- drivers/net/ethernet/meta/fbnic/fbnic_devlink.c
- drivers/net/netdevsim/health.c, line 86
- net/devlink/health.c
Smatch caller information:
drivers/net/ethernet/mellanox/mlx5/core/health.c mlx5_fw_reporter_heath_buffer_data_put() -> devlink_fmsg_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| 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/marvell/octeontx2/af/rvu_devlink.c rvu_report_pair_end() -> devlink_fmsg_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| DATA_SOURCE | 0 | fmsg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
drivers/net/ethernet/mellanox/mlx5/core/en/health.c mlx5e_health_fmsg_named_obj_nest_end() -> devlink_fmsg_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| DATA_SOURCE | 0 | fmsg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &priv->state_lock |
drivers/net/ethernet/meta/fbnic/fbnic_devlink.c fbnic_fw_reporter_diagnose() -> devlink_fmsg_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| 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/meta/fbnic/fbnic_devlink.c fbnic_fw_reporter_diagnose() -> devlink_fmsg_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| 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/meta/fbnic/fbnic_devlink.c fbnic_otp_reporter_dump() -> devlink_fmsg_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| 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/diag/reporter_vnic.c mlx5_reporter_vnic_diagnose_counters() -> devlink_fmsg_pair_nest_end()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fmsg | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->err | (-22) |
| BUF_SIZE | 0 | fmsg | 24 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $1 |
| 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/netdevsim/health.c nsim_dev_dummy_fmsg_put() -> devlink_fmsg_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 |
drivers/net/ethernet/broadcom/bnxt/bnxt_devlink.c bnxt_fw_dump() -> devlink_fmsg_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 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
net/devlink/health.c devlink_fmsg_bool_pair_put() -> devlink_fmsg_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 | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| STR_LEN | 0 | fmsg | 4,7,9,12,16,25 |
| STR_LEN | 0 | fmsg | 4,7,9,12,16,25 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &priv->state_lock | ||
| HALF_LOCKED2 | &tracer->st_arr.lock |
net/devlink/health.c devlink_fmsg_dump_skb() -> devlink_fmsg_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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->putting_binary | 0 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
net/devlink/health.c devlink_fmsg_dump_skb() -> devlink_fmsg_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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->putting_binary | 0 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
net/devlink/health.c devlink_fmsg_dump_skb() -> devlink_fmsg_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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->putting_binary | 0 |
| BUF_SIZE | 0 | fmsg | 24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &devlink->lock |
net/devlink/health.c devlink_fmsg_string_pair_put() -> devlink_fmsg_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->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->next->next | 4096-ptr_max |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| STR_LEN | 0 | fmsg | 2-4,6-13,17,23 |
| STR_LEN | 0 | fmsg | 2-4,6-13,17,23 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &h->lock | ||
| HALF_LOCKED2 | &pdsc->config_lock | ||
| HALF_LOCKED2 | &priv->state_lock | ||
| HALF_LOCKED2 | &tracer->st_arr.lock |
net/devlink/health.c devlink_fmsg_u32_pair_put() -> devlink_fmsg_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 | (-1),24 |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| STR_LEN | 0 | fmsg | (-1),2-16,18,20,22,26,30-31 |
| STR_LEN | 0 | fmsg | (-1),2-16,18,20,22,26,30-31 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &h->lock | ||
| HALF_LOCKED2 | &priv->state_lock |
net/devlink/health.c devlink_fmsg_u64_pair_put() -> devlink_fmsg_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 | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | fmsg->item_list.prev->next->next | 4096-ptr_max |
| DATA_SOURCE | 0 | fmsg | $0 |
| STR_LEN | 0 | fmsg | 6,8-9,11,23,25,27-28 |
| STR_LEN | 0 | fmsg | 6,8-9,11,23,25,27-28 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &priv->state_lock | ||
| HALF_LOCKED2 | &tracer->st_arr.lock |
net/devlink/health.c devlink_fmsg_u8_pair_put() -> devlink_fmsg_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 | 4096-ptr_max |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| BUF_SIZE | 0 | fmsg | (-1),24 |
| DATA_SOURCE | 0 | fmsg | $0 |
| STR_LEN | 0 | fmsg | 2-12,14,23 |
| STR_LEN | 0 | fmsg | 2-12,14,23 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &priv->state_lock | ||
| HALF_LOCKED2 | &tracer->st_arr.lock |