Lines Matching refs:num_migrate
2672 int i, num_migrate; in copy_from_user_migrate() local
2685 num_migrate = nla_len(rt) / sizeof(*um); in copy_from_user_migrate()
2687 if (num_migrate <= 0 || num_migrate > XFRM_MAX_DEPTH) in copy_from_user_migrate()
2690 for (i = 0; i < num_migrate; i++, um++, ma++) { in copy_from_user_migrate()
2793 static inline unsigned int xfrm_migrate_msgsize(int num_migrate, int with_kma, in xfrm_migrate_msgsize() argument
2799 + nla_total_size(sizeof(struct xfrm_user_migrate) * num_migrate) in xfrm_migrate_msgsize()
2804 int num_migrate, const struct xfrm_kmaddress *k, in build_migrate() argument
2836 for (i = 0, mp = m ; i < num_migrate; i++, mp++) { in build_migrate()
2851 const struct xfrm_migrate *m, int num_migrate, in xfrm_send_migrate() argument
2859 skb = nlmsg_new(xfrm_migrate_msgsize(num_migrate, !!k, !!encap), in xfrm_send_migrate()
2865 err = build_migrate(skb, m, num_migrate, k, sel, encap, dir, type); in xfrm_send_migrate()
2872 const struct xfrm_migrate *m, int num_migrate, in xfrm_send_migrate() argument