Lines Matching refs:xfrm_sec_ctx
55 static inline int selinux_authorizable_ctx(struct xfrm_sec_ctx *ctx) in selinux_authorizable_ctx()
74 static int selinux_xfrm_alloc_user(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_alloc_user()
80 struct xfrm_sec_ctx *ctx = NULL; in selinux_xfrm_alloc_user()
124 static void selinux_xfrm_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_free()
136 static int selinux_xfrm_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_delete()
153 int selinux_xfrm_policy_lookup(struct xfrm_sec_ctx *ctx, u32 fl_secid) in selinux_xfrm_policy_lookup()
239 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_skb_sid_ingress()
285 int selinux_xfrm_policy_alloc(struct xfrm_sec_ctx **ctxp, in selinux_xfrm_policy_alloc()
296 int selinux_xfrm_policy_clone(struct xfrm_sec_ctx *old_ctx, in selinux_xfrm_policy_clone()
297 struct xfrm_sec_ctx **new_ctxp) in selinux_xfrm_policy_clone()
299 struct xfrm_sec_ctx *new_ctx; in selinux_xfrm_policy_clone()
317 void selinux_xfrm_policy_free(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_free()
325 int selinux_xfrm_policy_delete(struct xfrm_sec_ctx *ctx) in selinux_xfrm_policy_delete()
345 struct xfrm_sec_ctx *polsec, u32 secid) in selinux_xfrm_state_alloc_acquire()
348 struct xfrm_sec_ctx *ctx; in selinux_xfrm_state_alloc_acquire()
417 struct xfrm_sec_ctx *ctx = x->security; in selinux_xfrm_sock_rcv_skb()