Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/devlink/rate.c devlink_nl_rate_get_doit() -> devlink_nl_rate_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_rate | 1-ptr_max |
| PARAM_VALUE | 2 | cmd | 76 |
| PARAM_VALUE | 5 | flags | 0 |
| PARAM_VALUE | 6 | extack | 4971238048455385088 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 1 | devlink_rate | r devlink_rate_get_from_info |
| 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/rate.c devlink_nl_rate_get_dump_one() -> devlink_nl_rate_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_rate | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_rate->devlink | 4096-ptr_max |
| PARAM_VALUE | 2 | cmd | 76 |
| PARAM_VALUE | 5 | flags | 2,34 |
| PARAM_VALUE | 6 | extack | 0 |
| 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_rate->devlink | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| DATA_SOURCE | 5 | flags | $3 |
| HARD_MAX | 5 | flags | 34 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &devlink->lock | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |
net/devlink/rate.c devlink_rate_notify() -> devlink_nl_rate_fill()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | devlink_rate | 4096-ptr_max |
| PARAM_VALUE | 1 | *devlink_rate->tc_bw | 0-4294967295 |
| PARAM_VALUE | 2 | cmd | 76-77 |
| PARAM_VALUE | 3 | portid | 0 |
| PARAM_VALUE | 4 | seq | 0 |
| PARAM_VALUE | 5 | flags | 0 |
| PARAM_VALUE | 6 | extack | 0 |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 1 | devlink_rate | (-1),120 |
| BUF_SIZE | 1 | devlink_rate | (-1),120 |
| BUF_SIZE | 1 | devlink_rate->name | (-1),1-65536 |
| BUF_SIZE | 1 | devlink_rate->priv | (-1),560 |
| CAPPED_DATA | 1 | devlink_rate | 1 |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 1 | devlink_rate | $0 |
| DATA_SOURCE | 2 | cmd | $1 |
| BIT_INFO | 2 | cmd | 0x4c,0x4d |
| HARD_MAX | 2 | cmd | 77 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *devlink_rate->name | 0-255 |
| USER_PTR | 1 | devlink_rate->name |