Home
last modified time | relevance | path

Searched refs:xfrm_user_sec_ctx (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/security/selinux/include/
Dxfrm.h17 struct xfrm_user_sec_ctx *uctx, gfp_t gfp);
23 struct xfrm_user_sec_ctx *uctx);
/linux-6.12.1/security/selinux/
Dxfrm.c75 struct xfrm_user_sec_ctx *uctx, in selinux_xfrm_alloc_user()
280 struct xfrm_user_sec_ctx *uctx, in selinux_xfrm_policy_alloc()
329 struct xfrm_user_sec_ctx *uctx) in selinux_xfrm_state_alloc()
/linux-6.12.1/include/linux/
Dsecurity.h202 struct xfrm_user_sec_ctx;
1872 struct xfrm_user_sec_ctx *sec_ctx, gfp_t gfp);
1876 int security_xfrm_state_alloc(struct xfrm_state *x, struct xfrm_user_sec_ctx *sec_ctx);
1891 struct xfrm_user_sec_ctx *sec_ctx, in security_xfrm_policy_alloc()
1912 struct xfrm_user_sec_ctx *sec_ctx) in security_xfrm_state_alloc()
Dlsm_hook_defs.h384 struct xfrm_user_sec_ctx *sec_ctx, gfp_t gfp)
391 struct xfrm_user_sec_ctx *sec_ctx)
/linux-6.12.1/include/uapi/linux/
Dxfrm.h239 struct xfrm_user_sec_ctx { struct
/linux-6.12.1/net/xfrm/
Dxfrm_user.c117 struct xfrm_user_sec_ctx *uctx; in verify_sec_ctx_len()
124 uctx->len != (sizeof(struct xfrm_user_sec_ctx) + uctx->ctx_len)) { in verify_sec_ctx_len()
693 len += sizeof(struct xfrm_user_sec_ctx); in xfrm_user_sec_ctx_size()
1035 struct xfrm_user_sec_ctx *uctx; in copy_sec_ctx()
1871 struct xfrm_user_sec_ctx *uctx; in copy_from_user_sec_ctx()
2451 struct xfrm_user_sec_ctx *uctx = nla_data(rt); in xfrm_get_policy()
2769 struct xfrm_user_sec_ctx *uctx = nla_data(rt); in xfrm_add_pol_expire()
3162 [XFRMA_SEC_CTX] = { .len = sizeof(struct xfrm_user_sec_ctx) },
3470 l += nla_total_size(sizeof(struct xfrm_user_sec_ctx) + in xfrm_sa_len()
Dxfrm_compat.c112 [XFRMA_SEC_CTX] = { .len = sizeof(struct xfrm_user_sec_ctx) },
Dxfrm_state.c1694 struct xfrm_user_sec_ctx *uctx; in clone_security()
/linux-6.12.1/net/key/
Daf_key.c463 static inline struct xfrm_user_sec_ctx *pfkey_sadb2xfrm_user_sec_ctx(const struct sadb_x_sec_ctx *s… in pfkey_sadb2xfrm_user_sec_ctx()
466 struct xfrm_user_sec_ctx *uctx = NULL; in pfkey_sadb2xfrm_user_sec_ctx()
1154 struct xfrm_user_sec_ctx *uctx = pfkey_sadb2xfrm_user_sec_ctx(sec_ctx, GFP_KERNEL); in pfkey_msg2xfrm_state()
2299 struct xfrm_user_sec_ctx *uctx = pfkey_sadb2xfrm_user_sec_ctx(sec_ctx, GFP_KERNEL); in pfkey_spdadd()
2401 struct xfrm_user_sec_ctx *uctx = pfkey_sadb2xfrm_user_sec_ctx(sec_ctx, GFP_KERNEL); in pfkey_spddelete()
3325 struct xfrm_user_sec_ctx *uctx; in pfkey_compile_policy()
/linux-6.12.1/security/
Dsecurity.c5252 struct xfrm_user_sec_ctx *sec_ctx, in security_xfrm_policy_alloc()
5312 struct xfrm_user_sec_ctx *sec_ctx) in security_xfrm_state_alloc()