Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv4/ip_tunnel.c ip_tunnel_create() -> ip_tunnel_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | itn | 4096-ptr_max |
| PARAM_VALUE | 0 | itn->rtnl_link_ops->priv_size | 0,8,32,48,56,88,112,120,144,160,224,240,256,296,616,624,728,736,1056,1128,1336,1616,2176,2240,2272,2560,3296,3720,9688-u64max |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| DATA_SOURCE | 0 | itn | $1 |
| NS_CAPABLE | 0 | 12 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/ip_tunnel.c ip_tunnel_init_net() -> ip_tunnel_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | itn | 4096-ptr_max |
| PARAM_VALUE | 0 | itn->fb_tunnel_dev->flags | 0,16-u32max |
| PARAM_VALUE | 0 | itn->fb_tunnel_dev->mtu | 68-s32max |
| PARAM_VALUE | 0 | itn->fb_tunnel_dev->netns_immutable | 1 |
| PARAM_VALUE | 0 | itn->fb_tunnel_dev->priv->net->ipv4.fib_main->tb_data->kv->key | 0-4294967295 |
| PARAM_VALUE | 0 | itn->fb_tunnel_dev->priv->net->ipv4.fib_main->tb_id | 0-4294967295 |
| PARAM_VALUE | 0 | itn->fb_tunnel_dev->priv->net->ipv4.fib_main->tb_num_default | s32min-s32max |
| PARAM_VALUE | 0 | itn->fb_tunnel_dev->priv->net->ipv6.rt6_stats->fib_rt_alloc.counter | s32min-s32max |
| PARAM_VALUE | 0 | itn->fb_tunnel_dev->priv->net->loopback_dev->ip6_ptr->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | itn->rtnl_link_ops | 2838316966449438720,4484919745963708416,5419405147199492096,6416635649051021312,9156488777803284480 |
| PARAM_VALUE | 0 | itn->tunnels | 4096-ptr_max |
| PARAM_VALUE | 0 | *itn->fb_tunnel_dev->priv->net->loopback_dev->pcpu_refcnt | s32min-s32max |
| DATA_SOURCE | 0 | itn | r net_generic |
| BIT_INFO | 0 | itn->fb_tunnel_dev | 0xffffffe0,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &pernet_ops_rwsem | ||
| LOCK2 | global &rtnl_mutex |
net/ipv4/ip_tunnel.c ip_tunnel_newlink() -> ip_tunnel_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 1 | t->net | 4096-ptr_max |
| PARAM_VALUE | 1 | t->net->gen | 4096-ptr_max |
| PARAM_VALUE | 1 | t->net->ipv4.fib_main->tb_data->kv->key | 0-4294967295 |
| PARAM_VALUE | 1 | t->net->ipv4.fib_main->tb_id | 0-4294967295 |
| PARAM_VALUE | 1 | t->net->ipv4.fib_main->tb_num_default | s32min-s32max |
| PARAM_VALUE | 1 | t->net->ipv6.rt6_stats->fib_rt_alloc.counter | s32min-s32max |
| PARAM_VALUE | 1 | t->net->loopback_dev->ip6_ptr->refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | t->net->loopback_dev->refcnt_tracker.untracked.refs.counter | s32min-s32max |
| PARAM_VALUE | 1 | t->parms.iph.frag_off | 0,16384 |
| PARAM_VALUE | 1 | t->parms.iph.id | 0 |
| PARAM_VALUE | 1 | t->parms.iph.ihl | 0,5 |
| BUF_SIZE | 1 | t->net | (-1),10304,10432 |
| DATA_SOURCE | 0 | itn | r net_generic |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| 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/ipv4/ip_tunnel.c ip_tunnel_update() -> ip_tunnel_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | itn | 4096-ptr_max |
| PARAM_VALUE | 0 | itn->collect_md_tun | 0 |
| PARAM_VALUE | 1 | t | 4096-ptr_max |
| PARAM_VALUE | 1 | t->hash_node->next->pprev | 1-u64max |
| PARAM_VALUE | 1 | t->hash_node.next->pprev | 1-u64max |
| PARAM_VALUE | 1 | t->hash_node.pprev | 0 |
| PARAM_VALUE | 1 | t->parms.i_flags | 4096-ptr_max |
| DATA_SOURCE | 0 | itn | $0 |
| DATA_SOURCE | 1 | t | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | t->parms.i_key | 0-u32max |
| USER_DATA | 1 | t->parms.iph.daddr | 0-u32max |
| USER_DATA | 1 | t->parms.iph.saddr | 0-u32max |
| USER_DATA | 1 | t->parms.o_key | 0-u32max |
| HALF_LOCKED2 | global &rtnl_mutex |