Defined in 1 files as a function:
Referenced in 6 files:
- net/devlink/dev.c
- net/devlink/linecard.c, line 153
- net/devlink/param.c, line 475
- net/devlink/rate.c, line 252
- net/devlink/region.c, line 243
- net/devlink/trap.c
Smatch caller information:
net/devlink/linecard.c devlink_linecard_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->_net.net->nsid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->dev | 0,4096-ptr_max |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| CAPPED_DATA | 0 | devlink->index | 1 |
| DATA_SOURCE | 1 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &linecard->lock | ||
| HALF_LOCKED2 | &linecard->state_lock |
net/devlink/param.c devlink_param_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| CAPPED_DATA | 0 | devlink->index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/region.c devlink_nl_region_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| DATA_SOURCE | 1 | msg | r devlink_nl_region_notify_build |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | ®ion->snapshot_lock | ||
| HALF_LOCKED2 | global &dsa2_mutex |
net/devlink/trap.c devlink_trap_group_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_group_init | 0,4370573782860898304 |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| CAPPED_DATA | 0 | devlink->index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/trap.c devlink_trap_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_action_set | 0,262488898109276160,1231087875314417664,2819781707232804864,3957294255593287680,5660707409600446464 |
| PARAM_VALUE | 0 | devlink->ops->trap_fini | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_group_init | 0,4370573782860898304 |
| PARAM_VALUE | 0 | devlink->ops->trap_init | 0,621084343245131776,820864369514713088,1114326007562944512,8379681212193501184,8548560371378245632 |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| CAPPED_DATA | 0 | devlink->index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/trap.c devlink_trap_policer_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->trap_policer_init | 0,2839869192359178240 |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| CAPPED_DATA | 0 | devlink->index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/rate.c devlink_rate_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| DATA_SOURCE | 1 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/devlink/dev.c __devlink_flash_update_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->flash_update | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->info_get | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->supported_flash_update_params | 0-1 |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 0 | devlink | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | devlink | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| CAPPED_DATA | 0 | devlink->index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | msg | r nlmsg_new |
| STR_LEN | 0 | devlink | (-1),7-18,22-23,31-33,41,45,49,58,63,106,127 |
| STR_LEN | 0 | devlink | (-1),7-18,22-23,31-33,41,45,49,58,63,106,127 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |
net/devlink/dev.c devlink_notify() -> devlink_nl_notify_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | devlink | 4096-ptr_max |
| PARAM_VALUE | 0 | devlink->_net.net->nsid_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | devlink->dev | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 0 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 1 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | msg->data_len | 0 |
| BUF_SIZE | 0 | devlink->_net.net | (-1),10624 |
| BUF_SIZE | 1 | msg | 0-s32max |
| BUF_SIZE | 1 | msg | 0-s32max |
| CAPPED_DATA | 0 | devlink | 1 |
| CAPPED_DATA | 0 | devlink->_net.net | 1 |
| CAPPED_DATA | 0 | devlink->index | 1 |
| DATA_SOURCE | 0 | devlink | $0 |
| DATA_SOURCE | 1 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | 0 | &devlink->lock |