Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv6/sit.c ipip6_changelink() -> ipip6_tunnel_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | parms | 186787221090697216 |
| PARAM_VALUE | 1 | parms->i_key | 0 |
| PARAM_VALUE | 1 | parms->iph.frag_off | 0,16384 |
| PARAM_VALUE | 1 | parms->iph.id | 0 |
| PARAM_VALUE | 1 | parms->iph.ihl | 5 |
| PARAM_VALUE | 1 | parms->iph.version | 4 |
| PARAM_VALUE | 1 | parms->o_key | 0 |
| PARAM_VALUE | 2 | create | 0 |
| CAPPED_DATA | 0 | net | 1 |
| CAPPED_DATA | 0 | net->gen | 1 |
| MEM_ZERO | 1 | parms | |
| 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/sit.c ipip6_newlink() -> ipip6_tunnel_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | parms | 4096-ptr_max |
| PARAM_VALUE | 1 | parms->i_key | 0 |
| PARAM_VALUE | 1 | parms->iph.frag_off | 0,16384 |
| PARAM_VALUE | 1 | parms->iph.id | 0 |
| PARAM_VALUE | 1 | parms->iph.ihl | 5 |
| PARAM_VALUE | 1 | parms->iph.version | 4 |
| PARAM_VALUE | 1 | parms->o_key | 0 |
| PARAM_VALUE | 2 | create | 0 |
| BUF_SIZE | 0 | net | (-1),10304,10432 |
| BUF_SIZE | 0 | net | (-1),10304,10432 |
| MEM_ZERO | 1 | parms | |
| 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/sit.c ipip6_tunnel_add() -> ipip6_tunnel_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | parms | 6012584752696856576,6533962680713797632,7432946446435254272 |
| PARAM_VALUE | 1 | parms->iph.frag_off | 0-49150 |
| PARAM_VALUE | 1 | parms->iph.ihl | 5 |
| PARAM_VALUE | 1 | parms->iph.protocol | 0,4,41,137 |
| PARAM_VALUE | 1 | parms->iph.version | 4 |
| PARAM_VALUE | 2 | create | 1 |
| DATA_SOURCE | 1 | parms | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | parms->i_key | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.check | 0-u16max |
| USER_DATA | 1 | parms->iph.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.frag_off | 0-49150 |
| USER_DATA | 1 | parms->iph.id | 0-u16max |
| USER_DATA | 1 | parms->iph.protocol | 0,4,41,137 |
| USER_DATA | 1 | parms->iph.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.tos | 0-255 |
| USER_DATA | 1 | parms->iph.tot_len | 0-u16max |
| USER_DATA | 1 | parms->iph.ttl | 0-255 |
| USER_DATA | 1 | parms->link | s32min-s32max |
| USER_DATA | 1 | parms->o_key | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/sit.c ipip6_tunnel_change() -> ipip6_tunnel_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 1 | parms | 6012584752696856576 |
| PARAM_VALUE | 1 | parms->iph.frag_off | 0-49150 |
| PARAM_VALUE | 1 | parms->iph.ihl | 5 |
| PARAM_VALUE | 1 | parms->iph.protocol | 0,4,41,137 |
| PARAM_VALUE | 1 | parms->iph.version | 4 |
| PARAM_VALUE | 2 | create | 0 |
| DATA_SOURCE | 1 | parms | $1 |
| RX_PATH | |||
| USER_DATA | 1 | parms->i_key | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.check | 0-u16max |
| USER_DATA | 1 | parms->iph.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.frag_off | 0-49150 |
| USER_DATA | 1 | parms->iph.id | 0-u16max |
| USER_DATA | 1 | parms->iph.protocol | 0,4,41,137 |
| USER_DATA | 1 | parms->iph.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.tos | 0-255 |
| USER_DATA | 1 | parms->iph.tot_len | 0-u16max |
| USER_DATA | 1 | parms->iph.ttl | 0-255 |
| USER_DATA | 1 | parms->link | s32min-s32max |
| USER_DATA | 1 | parms->o_key | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/sit.c ipip6_tunnel_del() -> ipip6_tunnel_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | parms | 6012584752696856576,7432946446435254272 |
| PARAM_VALUE | 2 | create | 0 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 1 | parms | $1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | parms->i_key | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.check | 0-u16max |
| USER_DATA | 1 | parms->iph.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.frag_off | 0-u16max |
| USER_DATA | 1 | parms->iph.id | 0-u16max |
| USER_DATA | 1 | parms->iph.protocol | 0-255 |
| USER_DATA | 1 | parms->iph.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.tos | 0-255 |
| USER_DATA | 1 | parms->iph.tot_len | 0-u16max |
| USER_DATA | 1 | parms->iph.ttl | 0-255 |
| USER_DATA | 1 | parms->link | s32min-s32max |
| USER_DATA | 1 | parms->o_key | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/sit.c ipip6_tunnel_get() -> ipip6_tunnel_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | parms | 6012584752696856576 |
| PARAM_VALUE | 2 | create | 0 |
| CAPPED_DATA | 0 | net->gen | 1 |
| DATA_SOURCE | 1 | parms | $1 |
| RX_PATH | |||
| USER_DATA | 1 | parms->i_key | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.check | 0-u16max |
| USER_DATA | 1 | parms->iph.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.frag_off | 0-u16max |
| USER_DATA | 1 | parms->iph.id | 0-u16max |
| USER_DATA | 1 | parms->iph.protocol | 0-255 |
| USER_DATA | 1 | parms->iph.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.tos | 0-255 |
| USER_DATA | 1 | parms->iph.tot_len | 0-u16max |
| USER_DATA | 1 | parms->iph.ttl | 0-255 |
| USER_DATA | 1 | parms->link | s32min-s32max |
| USER_DATA | 1 | parms->o_key | 0-u32max |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv6/sit.c ipip6_tunnel_get6rd() -> ipip6_tunnel_locate()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | parms | 3745382441633701888 |
| PARAM_VALUE | 2 | create | 0 |
| CAPPED_DATA | 0 | net->gen | 1 |
| USER_DATA | 1 | parms->i_key | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.addrs.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.check | 0-u16max |
| USER_DATA | 1 | parms->iph.daddr | 0-u32max |
| USER_DATA | 1 | parms->iph.frag_off | 0-u16max |
| USER_DATA | 1 | parms->iph.id | 0-u16max |
| USER_DATA | 1 | parms->iph.protocol | 0-255 |
| USER_DATA | 1 | parms->iph.saddr | 0-u32max |
| USER_DATA | 1 | parms->iph.tos | 0-255 |
| USER_DATA | 1 | parms->iph.tot_len | 0-u16max |
| USER_DATA | 1 | parms->iph.ttl | 0-255 |
| USER_DATA | 1 | parms->link | s32min-s32max |
| USER_DATA | 1 | parms->o_key | 0-u32max |
| UNITS | 0 | net | unit_byte |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |