Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/devlink/dev.c devlink_nl_get_doit() -> devlink_nl_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 3 |
| PARAM_VALUE | 5 | flags | 0 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 4 | seq | 0-u32max[u] |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| 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 |
net/devlink/dev.c devlink_nl_get_dump_one() -> devlink_nl_fill()
| 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-1 |
| PARAM_VALUE | 0 | msg->destructor | 172217845709488128 |
| PARAM_VALUE | 0 | msg->sk | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | devlink->lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 1 | devlink->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 1 | devlink->lock.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 1 | devlink->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 1 | devlink->ops->sb_pool_get | 0,4096-ptr_max |
| PARAM_VALUE | 1 | devlink->ops->sb_port_pool_get | 0,5080524251109040128,5500329137182081024,8058848025358356480 |
| PARAM_VALUE | 1 | devlink->ops->sb_tc_pool_bind_get | 0,557608487823060992,7803434078078054400,8622157503094607872 |
| PARAM_VALUE | 1 | devlink->ops->selftest_check | 0,8032679069814992896 |
| PARAM_VALUE | 2 | cmd | 3 |
| PARAM_VALUE | 5 | flags | 2,34 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| CAPPED_DATA | 0 | msg->sk->__sk_common.skc_net.net | 1 |
| CAPPED_DATA | 1 | devlink->_net.net | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| DATA_SOURCE | 1 | devlink | $1 |
| DATA_SOURCE | 5 | flags | $3 |
| HARD_MAX | 5 | flags | 34 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| HALF_LOCKED2 | 1 | &devlink->lock | |
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/devlink/dev.c devlink_notify() -> devlink_nl_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink->ops->reload_down | 0,4096-ptr_max |
| PARAM_VALUE | 1 | devlink->ops->reload_up | 0,4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 3-4 |
| PARAM_VALUE | 3 | portid | 0 |
| PARAM_VALUE | 4 | seq | 0 |
| PARAM_VALUE | 5 | flags | 0 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 1 | devlink->_net.net | (-1),10624 |
| CAPPED_DATA | 1 | devlink | 1 |
| CAPPED_DATA | 1 | devlink->_net.net | 1 |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 1 | devlink | $0 |
| DATA_SOURCE | 2 | cmd | $1 |
| HARD_MAX | 2 | cmd | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 1 | &devlink->lock |