Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/block/drbd/drbd_nl.c notify_connection_state() -> nla_put_notification_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data_len | 0 |
| PARAM_VALUE | 1 | type | 0-3,32768-32770 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| DATA_SOURCE | 0 | msg | $0 [m] |
| DATA_SOURCE | 1 | type | $4 |
| BIT_INFO | 1 | type | 0x0,0x8003 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &adm_ctx->resource->conf_update | ||
| HALF_LOCKED2 | global ¬ification_mutex |
drivers/block/drbd/drbd_nl.c notify_device_state() -> nla_put_notification_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data_len | 0 |
| PARAM_VALUE | 1 | type | 0-3,32768-32770 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| DATA_SOURCE | 0 | msg | $0 [m] |
| DATA_SOURCE | 1 | type | $4 |
| BIT_INFO | 1 | type | 0x0,0x8003 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | global ¬ification_mutex |
drivers/block/drbd/drbd_nl.c notify_helper() -> nla_put_notification_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data_len | 0 |
| PARAM_VALUE | 1 | type | 4-5 |
| BUF_SIZE | 0 | msg | 0,4-s32max |
| BUF_SIZE | 0 | msg | 0,4-s32max |
| DATA_SOURCE | 0 | msg | r genlmsg_new |
| DATA_SOURCE | 1 | type | $0 |
| STR_LEN | 0 | msg | 8,10-12,17,19-20 |
| HARD_MAX | 1 | type | 5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global ¬ification_mutex |
drivers/block/drbd/drbd_nl.c notify_initial_state_done() -> nla_put_notification_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data_len | 0 |
| PARAM_VALUE | 0 | msg->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | msg->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 0 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| DATA_SOURCE | 0 | msg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
drivers/block/drbd/drbd_nl.c notify_peer_device_state() -> nla_put_notification_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data_len | 0 |
| PARAM_VALUE | 1 | type | 0-2,32768-32771 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| DATA_SOURCE | 0 | msg | $0 [m] |
| DATA_SOURCE | 1 | type | $4 |
| BIT_INFO | 1 | type | 0x0,0x8003 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &adm_ctx->resource->adm_mutex | ||
| HALF_LOCKED2 | &adm_ctx->resource->conf_update | ||
| HALF_LOCKED2 | global ¬ification_mutex |
drivers/block/drbd/drbd_nl.c notify_resource_state() -> nla_put_notification_header()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data_len | 0 |
| PARAM_VALUE | 1 | type | 0-3,32768,32770 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| DATA_SOURCE | 0 | msg | $0 [m] |
| DATA_SOURCE | 1 | type | $4 |
| BIT_INFO | 1 | type | 0x0,0x8003 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &resource->adm_mutex | ||
| HALF_LOCKED2 | global ¬ification_mutex |