Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/mpls/af_mpls.c mpls_nh_build() -> nla_get_via()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nla | 4096-ptr_max |
| PARAM_VALUE | 0 | nla->nla_len | 4-u16max |
| PARAM_VALUE | 1 | via_alen | 4096-ptr_max |
| PARAM_VALUE | 2 | via_table | 4096-ptr_max |
| PARAM_VALUE | 3 | via_addr | 4096-ptr_max |
| PARAM_VALUE | 4 | extack | 4971238048455385088 |
| PARAM_VALUE | 4 | extack->bad_attr | 0 |
| PARAM_VALUE | 4 | extack->policy | 0 |
| DATA_SOURCE | 0 | nla | $4 |
| DATA_SOURCE | 4 | extack | $7 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | nla->nla_len | 4-u16max[c] |
| USER_DATA | 0 | nla->nla_type | 0-u16max |
| USER_PTR | 0 | nla | |
| LOCK2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| TYPE_LOCK | (struct netns_mpls)->platform_mutex |
net/mpls/af_mpls.c rtm_to_route_config() -> nla_get_via()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nla | 1-u64max |
| PARAM_VALUE | 1 | via_alen | 4096-ptr_max |
| PARAM_VALUE | 2 | via_table | 4096-ptr_max |
| PARAM_VALUE | 2 | *via_table | 0-3 |
| PARAM_VALUE | 4 | extack | 4971238048455385088 |
| PARAM_VALUE | 4 | extack->bad_attr | 0 |
| PARAM_VALUE | 4 | extack->policy | 0 |
| BUF_SIZE | 3 | via_addr | 32 |
| DATA_SOURCE | 4 | extack | $3 |
| MEM_ZERO | 4 | extack | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *via_alen | 0-32[c] |
| USER_DATA | 3 | *via_addr | 0-255 |
| USER_PTR | 1 | via_alen | |
| 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 &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |