Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- drivers/connector/connector.c, line 129
- drivers/hv/hv_utils_transport.c, line 233
- drivers/md/dm-log-userspace-transfer.c, line 70
- drivers/video/fbdev/uvesafb.c
- drivers/w1/w1_netlink.c
- samples/connector/cn_test.c, line 135
Smatch caller information:
drivers/video/fbdev/uvesafb.c uvesafb_exec() -> cn_netlink_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->len | 0-16364 |
| PARAM_VALUE | 1 | portid | 0 |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 3264 |
| BUF_SIZE | 0 | msg | 20-16384 |
| BUF_SIZE | 0 | msg | 20-16384 |
| DATA_SOURCE | 0 | msg | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/video/fbdev/uvesafb.c uvesafb_exec() -> cn_netlink_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->len | 0-16364 |
| PARAM_VALUE | 1 | portid | 0 |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 2080,3264 |
| BUF_SIZE | 0 | msg | 20-16384 |
| BUF_SIZE | 0 | msg | 20-16384 |
| DATA_SOURCE | 0 | msg | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/hv/hv_utils_transport.c hvutil_transport_send() -> cn_netlink_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->len | 4,12,7432 |
| PARAM_VALUE | 1 | portid | 0 |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 2080 |
| BUF_SIZE | 0 | msg | 24,32,7452 |
| BUF_SIZE | 0 | msg | 24,32,7452 |
| DATA_SOURCE | 0 | msg | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/w1/w1_netlink.c w1_netlink_send() -> cn_netlink_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 1842006186582638592 |
| PARAM_VALUE | 0 | msg->data | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data->len | 0 |
| PARAM_VALUE | 0 | msg->data->type | 0-3 |
| PARAM_VALUE | 0 | msg->id.idx | 3 |
| PARAM_VALUE | 0 | msg->id.val | 1 |
| PARAM_VALUE | 0 | msg->len | 12 |
| PARAM_VALUE | 1 | portid | 0 |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 3264 |
| BUF_SIZE | 0 | msg | 32 |
| BUF_SIZE | 0 | msg | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->list_mutex | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/w1/w1_netlink.c w1_netlink_send_error() -> cn_netlink_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 2872632396006637568 |
| PARAM_VALUE | 0 | msg->data | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->len | 12 |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 3264 |
| BUF_SIZE | 0 | msg | 32 |
| BUF_SIZE | 0 | msg | 32 |
| CAPPED_DATA | 0 | msg->id.idx | 1 |
| CAPPED_DATA | 0 | msg->id.val | 1 |
| DATA_SOURCE | 1 | portid | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | msg->ack | 0-u32max |
| USER_DATA | 0 | msg->flags | 0-u16max |
| USER_DATA | 0 | msg->seq | 0-u32max |
| USER_DATA | 0 | *msg | s32min-s32max |
| USER_PTR | 0 | msg | |
| USER_PTR | 0 | msg->data | |
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/w1/w1_netlink.c w1_process_command_root() -> cn_netlink_send()
| 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,4-u16max |
| PARAM_VALUE | 0 | msg->data->status | 0 |
| PARAM_VALUE | 0 | msg->data->type | 6 |
| PARAM_VALUE | 0 | msg->id.idx | 3 |
| PARAM_VALUE | 0 | msg->id.val | 1 |
| PARAM_VALUE | 0 | msg->len | 4073-u16max |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 3264 |
| BUF_SIZE | 0 | msg | 4096 |
| BUF_SIZE | 0 | msg | 4096 |
| DATA_SOURCE | 0 | msg | r _kmalloc_noprof |
| DATA_SOURCE | 1 | portid | $1 |
| FUZZY_MAX | 0 | msg->data->len | 0 |
| FUZZY_MAX | 0 | msg->len | 4073 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | msg->seq | 0-u32max |
| LOCK2 | global &w1_mlock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
drivers/w1/w1_netlink.c w1_process_command_root() -> cn_netlink_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->data->status | 0 |
| PARAM_VALUE | 0 | msg->data->type | 6 |
| PARAM_VALUE | 0 | msg->id.idx | 3 |
| PARAM_VALUE | 0 | msg->id.val | 1 |
| PARAM_VALUE | 0 | msg->len | 12,16-u16max |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 3264 |
| BUF_SIZE | 0 | msg | 4096 |
| BUF_SIZE | 0 | msg | 4096 |
| DATA_SOURCE | 0 | msg | r _kmalloc_noprof |
| DATA_SOURCE | 1 | portid | $1 |
| FUZZY_MAX | 0 | msg->len | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | msg->seq | 0-u32max |
| LOCK2 | global &w1_mlock | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
samples/connector/cn_test.c cn_test_timer_func() -> cn_netlink_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->len | 1-32 |
| PARAM_VALUE | 0 | msg->seq | 0-13 |
| PARAM_VALUE | 1 | portid | 0 |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 2080 |
| BUF_SIZE | 0 | msg | 52 |
| BUF_SIZE | 0 | msg | 52 |
| CAPPED_DATA | 0 | msg->len | 1 |
| DATA_SOURCE | 0 | msg | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/md/dm-log-userspace-transfer.c dm_ulog_sendto_server() -> cn_netlink_send()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 0 | msg->ack | 0 |
| PARAM_VALUE | 0 | msg->id.idx | 7 |
| PARAM_VALUE | 0 | msg->id.val | 0-s32max |
| PARAM_VALUE | 0 | msg->len | 160-492 |
| PARAM_VALUE | 0 | msg->seq | 0 |
| PARAM_VALUE | 1 | portid | 0 |
| PARAM_VALUE | 2 | __group | 0 |
| PARAM_VALUE | 3 | gfp_mask | 2080,3264 |
| MEM_ZERO | 0 | msg | |
| RX_PATH | |||
| LOCK2 | global &dm_ulog_lock | ||
| HALF_LOCKED2 | &md->suspend_lock |