Lines Matching defs:uctx
1634 struct xfrm_user_sec_ctx *uctx;
1635 int size = sizeof(*uctx) + security->ctx_len;
1638 uctx = kmalloc(size, GFP_KERNEL);
1639 if (!uctx)
1642 uctx->exttype = XFRMA_SEC_CTX;
1643 uctx->len = size;
1644 uctx->ctx_doi = security->ctx_doi;
1645 uctx->ctx_alg = security->ctx_alg;
1646 uctx->ctx_len = security->ctx_len;
1647 memcpy(uctx + 1, security->ctx_str, security->ctx_len);
1648 err = security_xfrm_state_alloc(x, uctx);
1649 kfree(uctx);