Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/devlink/linecard.c devlink_linecard_notify() -> devlink_nl_linecard_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink | 4096-ptr_max |
| PARAM_VALUE | 2 | linecard | 4096-ptr_max |
| PARAM_VALUE | 2 | linecard->ops->provision | 6969580045932515328 |
| PARAM_VALUE | 2 | linecard->ops->types_count | 7919052402444447744 |
| PARAM_VALUE | 2 | linecard->ops->types_get | 390464627303641088 |
| PARAM_VALUE | 2 | linecard->ops->unprovision | 3937592899972698112 |
| PARAM_VALUE | 3 | cmd | 80-81 |
| PARAM_VALUE | 4 | portid | 0 |
| PARAM_VALUE | 5 | seq | 0 |
| PARAM_VALUE | 6 | flags | 0 |
| PARAM_VALUE | 7 | extack | 0 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 2 | linecard | (-1),232 |
| BUF_SIZE | 2 | linecard | (-1),232 |
| BUF_SIZE | 2 | linecard->type | (-1),20 |
| CAPPED_DATA | 1 | devlink->_net.net | 1 |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 2 | linecard | $0 |
| DATA_SOURCE | 3 | cmd | $1 |
| BIT_INFO | 3 | cmd | 0x50,0x51 |
| HARD_MAX | 3 | cmd | 81 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | linecard->types_count | |
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &linecard->lock | ||
| HALF_LOCKED2 | 2 | &linecard->state_lock |
net/devlink/linecard.c devlink_nl_linecard_get_doit() -> devlink_nl_linecard_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 2 | linecard | 4096-ptr_max |
| PARAM_VALUE | 2 | linecard->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | linecard->state_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | linecard->state_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | linecard->state_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | linecard->state_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | linecard->state_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 2 | linecard->state_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 3 | cmd | 80 |
| PARAM_VALUE | 6 | flags | 0 |
| PARAM_VALUE | 7 | extack | 4971238048455385088 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| CAPPED_DATA | 2 | linecard->index | 1 |
| CAPPED_DATA | 2 | &linecard->state_lock | 1 |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 2 | linecard | r devlink_linecard_get_from_info |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 5 | seq | 0-u32max[u] |
| LOCK2 | 2 | &linecard->state_lock | |
| 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 | ||
| TYPE_LOCK | (struct devlink_linecard)->state_lock |
net/devlink/linecard.c devlink_nl_linecard_get_dump_one() -> devlink_nl_linecard_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 | linecard->state_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | linecard->state_lock.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 2 | linecard->state_lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 2 | linecard->state_lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | linecard->state_lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | linecard->state_lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 2 | linecard->state_lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 3 | cmd | 80 |
| PARAM_VALUE | 6 | flags | 2,34 |
| PARAM_VALUE | 7 | extack | 1892393987123912704 |
| PARAM_VALUE | 7 | extack->bad_attr | 0 |
| PARAM_VALUE | 7 | extack->cookie_len | 0 |
| PARAM_VALUE | 7 | extack->miss_nest | 0 |
| PARAM_VALUE | 7 | extack->miss_type | 0 |
| PARAM_VALUE | 7 | extack->policy | 0 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 7 | extack | 128 |
| 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 | 1 | &devlink->linecard_list | 1 |
| CAPPED_DATA | 2 | &linecard->state_lock | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| DATA_SOURCE | 1 | devlink | $1 |
| DATA_SOURCE | 6 | flags | $3 |
| HARD_MAX | 6 | flags | 34 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 2 | &linecard->state_lock | |
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| HALF_LOCKED2 | 1 | &devlink->lock | |
| TYPE_LOCK | (struct devlink_linecard)->state_lock | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |