Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv6/ip6_tunnel.c ip6_tnl_changelink() -> ip6_tnl_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 1542931889491894272 |
| PARAM_VALUE | 1 | p->collect_md | 0 |
| PARAM_VALUE | 1 | p->dir | 0 |
| PARAM_VALUE | 1 | p->erspan_ver | 0 |
| PARAM_VALUE | 1 | p->hwid | 0 |
| PARAM_VALUE | 1 | p->i_key | 0 |
| PARAM_VALUE | 1 | p->index | 0 |
| PARAM_VALUE | 1 | p->o_key | 0 |
| PARAM_VALUE | 2 | create | 0 |
| CAPPED_DATA | 0 | net | 1 |
| CAPPED_DATA | 0 | net->gen | 1 |
| MEM_ZERO | 1 | p | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| 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/ipv6/ip6_tunnel.c ip6_tnl_newlink() -> ip6_tnl_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 4096-ptr_max |
| PARAM_VALUE | 1 | p->collect_md | 0 |
| PARAM_VALUE | 1 | p->dir | 0 |
| PARAM_VALUE | 1 | p->erspan_ver | 0 |
| PARAM_VALUE | 1 | p->hwid | 0 |
| PARAM_VALUE | 1 | p->i_key | 0 |
| PARAM_VALUE | 1 | p->index | 0 |
| PARAM_VALUE | 1 | p->o_key | 0 |
| PARAM_VALUE | 2 | create | 0 |
| BUF_SIZE | 0 | net | (-1),10304,10432 |
| BUF_SIZE | 0 | net | (-1),10304,10432 |
| CAPPED_DATA | 0 | net->gen | 1 |
| MEM_ZERO | 1 | p | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| 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/ipv6/ip6_tunnel.c ip6_tnl_siocdevprivate() -> ip6_tnl_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 3933299744179220480 |
| PARAM_VALUE | 2 | create | 0 |
| CAPPED_DATA | 0 | net->gen | 1 |
| MEM_ZERO | 1 | p | |
| USER_DATA | 1 | p->encap_limit | 0 |
| USER_DATA | 1 | p->flags | 0 |
| USER_DATA | 1 | p->flowinfo | 0 |
| USER_DATA | 1 | p->hop_limit | 0 |
| USER_DATA | 1 | p->link | 0 |
| USER_DATA | 1 | p->proto | 0 |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/ip6_tunnel.c ip6_tnl_siocdevprivate() -> ip6_tnl_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 3933299744179220480 |
| PARAM_VALUE | 1 | p->proto | 0,4,41 |
| PARAM_VALUE | 2 | create | 0-1 |
| CAPPED_DATA | 0 | net->gen | 1 |
| FUZZY_MAX | 2 | create | 1 |
| NS_CAPABLE | 0 | 12 | |
| HARD_MAX | 2 | create | 1 |
| MEM_ZERO | 1 | p | |
| USER_DATA | 1 | p->encap_limit | 0 |
| USER_DATA | 1 | p->flags | 0 |
| USER_DATA | 1 | p->flowinfo | 0 |
| USER_DATA | 1 | p->hop_limit | 0 |
| USER_DATA | 1 | p->link | 0 |
| USER_DATA | 1 | p->proto | 0 |
| USER_DATA | 2 | create | 0[c] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv6/ip6_tunnel.c ip6_tnl_siocdevprivate() -> ip6_tnl_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 3933299744179220480 |
| PARAM_VALUE | 2 | create | 0 |
| CAPPED_DATA | 0 | net->gen | 1 |
| NS_CAPABLE | 0 | 12 | |
| MEM_ZERO | 1 | p | |
| USER_DATA | 1 | p->encap_limit | 0 |
| USER_DATA | 1 | p->flags | 0 |
| USER_DATA | 1 | p->flowinfo | 0 |
| USER_DATA | 1 | p->hop_limit | 0 |
| USER_DATA | 1 | p->link | 0 |
| USER_DATA | 1 | p->proto | 0 |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |