Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

net/l2tp/l2tp_core.c l2tp_exit_net() -> l2tp_pernet()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

net/l2tp/l2tp_core.c l2tp_pre_exit_net() -> l2tp_pernet()

Type Parameter Key Value
PARAM_VALUE 0 net 4096-ptr_max
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &pernet_ops_rwsem

net/l2tp/l2tp_core.c l2tp_session_get_by_ifname() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
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/l2tp/l2tp_core.c l2tp_session_register() -> l2tp_pernet()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 &ps->sk_lock
HALF_LOCKED2 global &rtnl_mutex
HALF_LOCKED2 sk

net/l2tp/l2tp_core.c l2tp_session_unhash() -> l2tp_pernet()

Type Parameter Key Value
UNITS 0 net unit_byte
HALF_LOCKED2 &pool->lock

net/l2tp/l2tp_core.c l2tp_sk_to_tunnel() -> l2tp_pernet()

Type Parameter Key Value
BUF_SIZE 0 net (-1),1-s32max
BUF_SIZE 0 net (-1),1-s32max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
LOCK2 rcu_read
HALF_LOCKED2 &sk->sk_callback_lock
HALF_LOCKED2 bh
HALF_LOCKED2 sk

net/l2tp/l2tp_core.c l2tp_tunnel_get() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/l2tp/l2tp_core.c l2tp_tunnel_get_next() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 &m->lock

net/l2tp/l2tp_core.c l2tp_tunnel_register() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/l2tp/l2tp_core.c l2tp_tunnel_remove() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/l2tp/l2tp_core.c l2tp_v2_session_get() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/l2tp/l2tp_core.c l2tp_v2_session_get_next() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 &m->lock

net/l2tp/l2tp_core.c l2tp_v3_session_get() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte

net/l2tp/l2tp_core.c l2tp_v3_session_get_next() -> l2tp_pernet()

Type Parameter Key Value
DATA_SOURCE 0 net $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 net unit_byte
HALF_LOCKED2 &m->lock