Documented in 1 files:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ethtool/strset.c nla_validate_nested() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 1 |
| PARAM_VALUE | 2 | policy | 4361305585440555008 |
| PARAM_VALUE | 3 | validate | 31 |
| BUF_SIZE | 2 | policy | 32 |
| BUF_SIZE | 2 | policy | 32 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | maxtype | $1 |
| DATA_SOURCE | 2 | policy | $2 |
| DATA_SOURCE | 4 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nlk->nl_cb_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/sched/cls_flower.c nla_validate_nested_deprecated() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | maxtype | 5 |
| PARAM_VALUE | 2 | policy | 1603290473849987072 |
| PARAM_VALUE | 3 | validate | 0 |
| PARAM_VALUE | 4 | extack | 4971238048455385088 |
| PARAM_VALUE | 4 | extack->bad_attr->nla_len | 4-u16max |
| PARAM_VALUE | 4 | extack->cookie_len | 0 |
| PARAM_VALUE | 4 | extack->miss_nest | 0,4096-ptr_max |
| PARAM_VALUE | 4 | extack->miss_type | 0,48,111 |
| PARAM_VALUE | 4 | *extack->_msg_buf | 0-255 |
| BUF_SIZE | 2 | policy | 96 |
| BUF_SIZE | 2 | policy | 96 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | maxtype | $1 |
| DATA_SOURCE | 2 | policy | $2 |
| DATA_SOURCE | 4 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| 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 &rx_queue_mutex |
net/netfilter/nf_conntrack_netlink.c nla_validate_nested_deprecated() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | maxtype | 9 |
| PARAM_VALUE | 3 | validate | 0 |
| PARAM_VALUE | 4 | extack | 0 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | maxtype | $1 |
| DATA_SOURCE | 2 | policy | $2 |
| DATA_SOURCE | 4 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/sched/sch_ets.c ets_qdisc_priomap_parse() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 6 |
| PARAM_VALUE | 2 | policy | 2869194062270107648 |
| PARAM_VALUE | 3 | validate | 31 |
| PARAM_VALUE | 4 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 4 | extack->bad_attr | 0 |
| PARAM_VALUE | 4 | extack->cookie_len | 0 |
| PARAM_VALUE | 4 | extack->miss_nest | 0 |
| PARAM_VALUE | 4 | extack->miss_type | 0 |
| PARAM_VALUE | 4 | extack->policy | 0 |
| BUF_SIZE | 2 | policy | 112 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 4 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sched/sch_ets.c ets_qdisc_quanta_parse() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 6 |
| PARAM_VALUE | 2 | policy | 1126999597313986560 |
| PARAM_VALUE | 3 | validate | 31 |
| PARAM_VALUE | 4 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 4 | extack->bad_attr | 0 |
| PARAM_VALUE | 4 | extack->cookie_len | 0 |
| PARAM_VALUE | 4 | extack->miss_nest | 0 |
| PARAM_VALUE | 4 | extack->miss_type | 0 |
| PARAM_VALUE | 4 | extack->policy | 0 |
| BUF_SIZE | 2 | policy | 112 |
| DATA_SOURCE | 0 | start | $1 |
| DATA_SOURCE | 4 | extack | $5 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/netfilter/nft_tunnel.c nla_validate_nested_deprecated() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 3 |
| PARAM_VALUE | 2 | policy | 4647969562572025856 |
| PARAM_VALUE | 3 | validate | 0 |
| PARAM_VALUE | 4 | extack | 0 |
| BUF_SIZE | 2 | policy | 64 |
| BUF_SIZE | 2 | policy | 64 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | maxtype | $1 |
| DATA_SOURCE | 2 | policy | $2 |
| DATA_SOURCE | 4 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &nft_net->commit_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/netlabel/netlabel_cipso_v4.c nla_validate_nested_deprecated() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | maxtype | 12 |
| PARAM_VALUE | 2 | policy | 7978571536677289984 |
| PARAM_VALUE | 3 | validate | 0 |
| PARAM_VALUE | 4 | extack | 0 |
| BUF_SIZE | 2 | policy | 208 |
| BUF_SIZE | 2 | policy | 208 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | maxtype | $1 |
| DATA_SOURCE | 2 | policy | $2 |
| DATA_SOURCE | 4 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | start->nla_len | 4-u16max[c] |
| USER_DATA | 0 | start->nla_type | 0-u16max |
| USER_PTR | 0 | start | |
| HALF_LOCKED2 | &dev->lock | ||
| HALF_LOCKED2 | &devlink->lock | ||
| 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 &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/8021q/vlan_netlink.c nla_validate_nested_deprecated() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 1 |
| PARAM_VALUE | 2 | policy | 258334895300861952 |
| PARAM_VALUE | 3 | validate | 0 |
| PARAM_VALUE | 4 | extack | 0 |
| BUF_SIZE | 2 | policy | 32 |
| BUF_SIZE | 2 | policy | 32 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | maxtype | $1 |
| DATA_SOURCE | 2 | policy | $2 |
| DATA_SOURCE | 4 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ops->srcu | ||
| 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 rtnl_link_ops)->srcu |
net/wireless/nl80211.c nla_validate_nested() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 4096-ptr_max |
| PARAM_VALUE | 1 | maxtype | 0,8 |
| PARAM_VALUE | 2 | policy | 35556431788687360,541353642289684480,3105322635229249536 |
| PARAM_VALUE | 3 | validate | 31 |
| PARAM_VALUE | 4 | extack | 1892393987123912704,4971238048455385088 |
| BUF_SIZE | 4 | extack | (-1),128 |
| BUF_SIZE | 4 | extack | (-1),128 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | maxtype | $1 |
| DATA_SOURCE | 2 | policy | $2 |
| DATA_SOURCE | 4 | extack | $3 |
| BIT_INFO | 0 | start->nla_type | 0x8000,0xffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/sched/sch_gred.c nla_validate_nested_deprecated() -> __nla_validate_nested()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | start | 1-u64max |
| PARAM_VALUE | 1 | maxtype | 1 |
| PARAM_VALUE | 2 | policy | 8691265512824418304 |
| PARAM_VALUE | 3 | validate | 0 |
| PARAM_VALUE | 4 | extack | 0,4971238048455385088 |
| PARAM_VALUE | 4 | extack->bad_attr | 0 |
| PARAM_VALUE | 4 | extack->cookie_len | 0 |
| PARAM_VALUE | 4 | extack->miss_nest | 0 |
| PARAM_VALUE | 4 | extack->miss_type | 0 |
| PARAM_VALUE | 4 | extack->policy | 0 |
| BUF_SIZE | 2 | policy | 32 |
| BUF_SIZE | 2 | policy | 32 |
| DATA_SOURCE | 0 | start | $0 |
| DATA_SOURCE | 1 | maxtype | $1 |
| DATA_SOURCE | 2 | policy | $2 |
| DATA_SOURCE | 4 | extack | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |