Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/devlink/sb.c __sb_tc_pool_bind_get_dumpit() -> devlink_nl_sb_tc_pool_bind_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 | 4096-ptr_max |
| 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 | 557608487823060992,7803434078078054400,8622157503094607872 |
| PARAM_VALUE | 1 | devlink->ops->selftest_check | 0,8032679069814992896 |
| PARAM_VALUE | 2 | devlink_port | 1-u64max |
| PARAM_VALUE | 3 | devlink_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | devlink_sb->ingress_tc_count | 1-u16max |
| PARAM_VALUE | 4 | tc_index | 0-65534 |
| PARAM_VALUE | 5 | pool_type | 0 |
| PARAM_VALUE | 6 | cmd | 25 |
| PARAM_VALUE | 9 | flags | 2,34 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| CAPPED_DATA | 0 | msg->data | 1 |
| CAPPED_DATA | 0 | msg->sk->__sk_common.skc_net.net | 1 |
| CAPPED_DATA | 1 | devlink->_net.net | 1 |
| CAPPED_DATA | 4 | tc_index | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| DATA_SOURCE | 1 | devlink | $3 |
| DATA_SOURCE | 3 | devlink_sb | $4 |
| DATA_SOURCE | 7 | portid | $5 |
| DATA_SOURCE | 8 | seq | $6 |
| DATA_SOURCE | 9 | flags | $7 |
| PARAM_COMPARE | 3 | devlink_sb->ingress_tc_count | > $4 |
| PARAM_COMPARE | 4 | tc_index | < $3->ingress_tc_count |
| HARD_MAX | 9 | flags | 34 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &devlink->lock | |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct devlink)->lock | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/devlink/sb.c __sb_tc_pool_bind_get_dumpit() -> devlink_nl_sb_tc_pool_bind_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 | 4096-ptr_max |
| 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 | 557608487823060992,7803434078078054400,8622157503094607872 |
| PARAM_VALUE | 1 | devlink->ops->selftest_check | 0,8032679069814992896 |
| PARAM_VALUE | 2 | devlink_port | 1-u64max |
| PARAM_VALUE | 3 | devlink_sb | 4096-ptr_max |
| PARAM_VALUE | 3 | devlink_sb->egress_tc_count | 1-u16max |
| PARAM_VALUE | 4 | tc_index | 0-65534 |
| PARAM_VALUE | 5 | pool_type | 1 |
| PARAM_VALUE | 6 | cmd | 25 |
| PARAM_VALUE | 9 | flags | 2,34 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| CAPPED_DATA | 0 | msg->data | 1 |
| CAPPED_DATA | 0 | msg->sk->__sk_common.skc_net.net | 1 |
| CAPPED_DATA | 1 | devlink->_net.net | 1 |
| CAPPED_DATA | 3 | devlink_sb->ingress_tc_count | 1 |
| CAPPED_DATA | 4 | tc_index | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| DATA_SOURCE | 1 | devlink | $3 |
| DATA_SOURCE | 3 | devlink_sb | $4 |
| DATA_SOURCE | 7 | portid | $5 |
| DATA_SOURCE | 8 | seq | $6 |
| DATA_SOURCE | 9 | flags | $7 |
| PARAM_COMPARE | 3 | devlink_sb->egress_tc_count | > $4 |
| PARAM_COMPARE | 4 | tc_index | < $3->egress_tc_count |
| HARD_MAX | 9 | flags | 34 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 1 | &devlink->lock | |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct devlink)->lock | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/devlink/sb.c devlink_nl_sb_tc_pool_bind_get_doit() -> devlink_nl_sb_tc_pool_bind_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink->ops | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink->ops->sb_tc_pool_bind_get | 557608487823060992,7803434078078054400,8622157503094607872 |
| PARAM_VALUE | 2 | devlink_port | 4096-ptr_max |
| PARAM_VALUE | 2 | devlink_port->devlink | 4096-ptr_max |
| PARAM_VALUE | 2 | devlink_port->devlink->ops | 4096-ptr_max |
| PARAM_VALUE | 2 | devlink_port->devlink->ops->sb_tc_pool_bind_get | 557608487823060992,7803434078078054400,8622157503094607872 |
| PARAM_VALUE | 3 | devlink_sb | 4096-ptr_max |
| PARAM_VALUE | 4 | tc_index | 0-65534 |
| PARAM_VALUE | 5 | pool_type | 0-1 |
| PARAM_VALUE | 6 | cmd | 25 |
| PARAM_VALUE | 9 | flags | 0 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| CAPPED_DATA | 3 | devlink_sb->index | 1 |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 3 | devlink_sb | r devlink_sb_get_from_info |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 8 | 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 |