Defined in 2 files as a function:

Referenced in 3 files:

Smatch caller information:

net/ipv4/fib_semantics.c fib_nh_common_init() -> lwtstate_get()

Type Parameter Key Value
PARAM_VALUE 0 lws 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &net->rtnl_mutex
HALF_LOCKED2 global &rtnl_mutex

net/ipv6/route.c ip6_rt_init_dst() -> lwtstate_get()

Type Parameter Key Value
PARAM_VALUE 0 lws 1-u64max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/ipv4/route.c ip_route_input_slow() -> lwtstate_get()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read

net/ipv4/route.c rt_dst_clone() -> lwtstate_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

net/ipv4/route.c rt_set_nexthop() -> lwtstate_get()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read