Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 1 files:

Smatch caller information:

net/xfrm/xfrm_policy.c xfrm_dev_policy_flush_secctx_check() -> security_xfrm_policy_delete()

Type Parameter Key Value
PREEMPT_ADD
LOCK2 &net->xfrm.xfrm_policy_lock
LOCK2 bh
TYPE_LOCK (struct netns_xfrm)->xfrm_policy_lock

net/xfrm/xfrm_policy.c xfrm_policy_byid() -> security_xfrm_policy_delete()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &net->xfrm.xfrm_policy_lock
LOCK2 bh
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
TYPE_LOCK (struct netns_xfrm)->xfrm_policy_lock

net/xfrm/xfrm_policy.c xfrm_policy_bysel_ctx() -> security_xfrm_policy_delete()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &net->xfrm.xfrm_policy_lock
LOCK2 bh
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
TYPE_LOCK (struct netns_xfrm)->xfrm_policy_lock

net/xfrm/xfrm_policy.c xfrm_policy_flush_secctx_check() -> security_xfrm_policy_delete()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &net->xfrm.xfrm_policy_lock
LOCK2 bh
HALF_LOCKED2 &net->xfrm.xfrm_cfg_mutex
HALF_LOCKED2 global &pernet_ops_rwsem
TYPE_LOCK (struct netns_xfrm)->xfrm_policy_lock