Lines Matching refs:num_migrate
4532 struct xfrm_migrate *m, int num_migrate, in xfrm_policy_migrate() argument
4547 for (j = 0, mp = m; j < num_migrate; j++, mp++) { in xfrm_policy_migrate()
4573 static int xfrm_migrate_check(const struct xfrm_migrate *m, int num_migrate, in xfrm_migrate_check() argument
4578 if (num_migrate < 1 || num_migrate > XFRM_MAX_DEPTH) { in xfrm_migrate_check()
4583 for (i = 0; i < num_migrate; i++) { in xfrm_migrate_check()
4591 for (j = i + 1; j < num_migrate; j++) { in xfrm_migrate_check()
4610 struct xfrm_migrate *m, int num_migrate, in xfrm_migrate() argument
4623 err = xfrm_migrate_check(m, num_migrate, extack); in xfrm_migrate()
4642 for (i = 0, mp = m; i < num_migrate; i++, mp++) { in xfrm_migrate()
4658 err = xfrm_policy_migrate(pol, m, num_migrate, extack); in xfrm_migrate()
4669 km_migrate(sel, dir, type, m, num_migrate, k, encap); in xfrm_migrate()