Lines Matching defs:uctx
1450 struct xfrm_user_sec_ctx *uctx;
1451 int size = sizeof(*uctx) + security->ctx_len;
1454 uctx = kmalloc(size, GFP_KERNEL);
1455 if (!uctx)
1458 uctx->exttype = XFRMA_SEC_CTX;
1459 uctx->len = size;
1460 uctx->ctx_doi = security->ctx_doi;
1461 uctx->ctx_alg = security->ctx_alg;
1462 uctx->ctx_len = security->ctx_len;
1463 memcpy(uctx + 1, security->ctx_str, security->ctx_len);
1464 err = security_xfrm_state_alloc(x, uctx);
1465 kfree(uctx);