Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

net/l2tp/l2tp_ppp.c pppol2tp_tunnel_get() -> l2tp_tunnel_register()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->acpt_newsess 1
PARAM_VALUE 0 tunnel->encap 0-1
PARAM_VALUE 0 tunnel->version 0-255
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->gen 4096-ptr_max
PARAM_VALUE 2 cfg 349348649078620160
PARAM_VALUE 2 cfg->encap 0
PARAM_VALUE 2 cfg->local_ip6 0
PARAM_VALUE 2 cfg->local_udp_port 0
PARAM_VALUE 2 cfg->peer_ip6 0
PARAM_VALUE 2 cfg->peer_udp_port 0
PARAM_VALUE 2 cfg->udp6_zero_rx_checksums 0
PARAM_VALUE 2 cfg->udp6_zero_tx_checksums 0
PARAM_VALUE 2 cfg->use_udp_checksums 0
CAPPED_DATA 1 net->gen 1
DATA_SOURCE 1 net $0
RX_PATH
TASK_NOT_RUNNING

net/l2tp/l2tp_netlink.c l2tp_nl_cmd_tunnel_create() -> l2tp_tunnel_register()

Type Parameter Key Value
PARAM_VALUE 0 tunnel 4096-ptr_max
PARAM_VALUE 0 tunnel->acpt_newsess 1
PARAM_VALUE 0 tunnel->encap 0-1
PARAM_VALUE 0 tunnel->version 0-255
PARAM_VALUE 2 cfg 7928324152021913600
PARAM_VALUE 2 cfg->encap 0-1
PARAM_VALUE 2 cfg->peer_ip6 0,4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 1 net unit_byte
USER_PTR 2 cfg->local_ip6
USER_PTR 2 cfg->peer_ip6
HALF_LOCKED2 &dev->lock
HALF_LOCKED2 &devlink->lock
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 &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