Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ipv4/ip_tunnel_core.c ip_tun_parse_opts() -> nla_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 1 | len | 0-u16max |
| PARAM_VALUE | 2 | maxtype | 3 |
| PARAM_VALUE | 3 | policy | 4629770247322898432 |
| PARAM_VALUE | 4 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 4 | extack->cookie_len | 0 |
| PARAM_VALUE | 4 | extack->miss_nest | 0 |
| PARAM_VALUE | 4 | extack->miss_type | 0 |
| BUF_SIZE | 3 | policy | 64 |
| DATA_SOURCE | 4 | extack | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | head->nla_len | 0-u16max |
| USER_DATA | 0 | head->nla_type | 0-u16max |
| USER_PTR | 0 | head | |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/core/rtnetlink.c rtnl_alt_ifname() -> nla_validate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | head | 4096-ptr_max |
| PARAM_VALUE | 0 | head->nla_len | 4-u16max |
| PARAM_VALUE | 1 | len | 4-u16max |
| PARAM_VALUE | 2 | maxtype | 69 |
| PARAM_VALUE | 3 | policy | 4930321630210740224 |
| PARAM_VALUE | 4 | extack | 4971238048455385088 |
| BUF_SIZE | 3 | policy | 1120 |
| CAPPED_DATA | 0 | head->nla_len | 1 |
| CAPPED_DATA | 1 | len | 1 |
| DATA_SOURCE | 0 | head | $2 |
| DATA_SOURCE | 4 | extack | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | head->nla_len | 4-u16max[c] |
| USER_DATA | 0 | head->nla_type | 0-u16max |
| USER_DATA | 1 | len | 4-u16max[c] |
| UNITS | 1 | len | unit_byte |
| USER_PTR | 0 | head | |
| 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 |