Searched refs:xc (Results 1 – 2 of 2) sorted by relevance
1270 struct xfrm_state *xc; in xfrm_state_migrate() local1272 xc = xfrm_state_clone(x); in xfrm_state_migrate()1273 if (!xc) in xfrm_state_migrate()1276 memcpy(&xc->id.daddr, &m->new_daddr, sizeof(xc->id.daddr)); in xfrm_state_migrate()1277 memcpy(&xc->props.saddr, &m->new_saddr, sizeof(xc->props.saddr)); in xfrm_state_migrate()1283 xfrm_state_insert(xc); in xfrm_state_migrate()1285 if (xfrm_state_add(xc) < 0) in xfrm_state_migrate()1289 return xc; in xfrm_state_migrate()1291 xfrm_state_put(xc); in xfrm_state_migrate()
3249 struct xfrm_state *x, *xc; in xfrm_migrate() local3274 if ((xc = xfrm_state_migrate(x, mp))) { in xfrm_migrate()3275 x_new[nx_new] = xc; in xfrm_migrate()