Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/shaper/shaper.c net_shaper_nl_get_doit() -> net_shaper_fill_one()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | msg | 4096-ptr_max |
| PARAM_VALUE | 1 | binding | 4096-ptr_max |
| PARAM_VALUE | 1 | binding->netdev->reg_state | 0-1 |
| PARAM_VALUE | 2 | shaper | 1-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 2 | shaper->valid | 1 |
| PARAM_VALUE | 3 | info | 4201664097468477440 |
| PARAM_VALUE | 3 | info->attrs | 4096-ptr_max |
| PARAM_VALUE | 3 | info->extack | 4971238048455385088 |
| PARAM_VALUE | 3 | info->family | 4096-ptr_max |
| PARAM_VALUE | 3 | info->nlhdr | 4096-ptr_max |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 0 | msg | 0-s32max |
| BUF_SIZE | 1 | binding | 16 |
| DATA_SOURCE | 0 | msg | r nlmsg_new |
| DATA_SOURCE | 1 | binding | r net_shaper_binding_from_ctx |
| DATA_SOURCE | 2 | shaper | r net_shaper_lookup |
| DATA_SOURCE | 3 | info | $1 |
| HARD_MAX | 1 | binding->netdev->reg_state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | info->snd_seq | 0-u32max[u] |
| USER_PTR | 3 | info->genlhdr | |
| USER_PTR | 3 | info->nlhdr | |
| LOCK2 | rcu_read | ||
| 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 |
net/shaper/shaper.c net_shaper_nl_get_dumpit() -> net_shaper_fill_one()
| 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 | binding | 4096-ptr_max |
| PARAM_VALUE | 1 | binding->netdev->reg_state | 0-1 |
| PARAM_VALUE | 1 | binding->type | 0 |
| PARAM_VALUE | 2 | shaper | 1-1025,1027-1029,1031-u64max |
| PARAM_VALUE | 2 | shaper->valid | 1 |
| PARAM_VALUE | 3 | info | 4096-ptr_max |
| PARAM_VALUE | 3 | info->family->version | 0-3 |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 0 | msg | (-1)-s32max |
| BUF_SIZE | 1 | binding | 16 |
| BUF_SIZE | 3 | info | 104 |
| CAPPED_DATA | 0 | msg->data | 1 |
| DATA_SOURCE | 0 | msg | $0 |
| DATA_SOURCE | 1 | binding | r net_shaper_binding_from_ctx |
| DATA_SOURCE | 2 | shaper | r xa_find |
| DATA_SOURCE | 3 | info | r genl_info_dump |
| HARD_MAX | 1 | binding->netdev->reg_state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | msg->sk->sk_backlog.len | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| TYPE_LOCK | (struct netlink_sock)->nl_cb_mutex |