Lines Matching refs:num_migrate
2906 int i, num_migrate; in copy_from_user_migrate() local
2919 num_migrate = nla_len(rt) / sizeof(*um); in copy_from_user_migrate()
2921 if (num_migrate <= 0 || num_migrate > XFRM_MAX_DEPTH) { in copy_from_user_migrate()
2926 for (i = 0; i < num_migrate; i++, um++, ma++) { in copy_from_user_migrate()
3032 static inline unsigned int xfrm_migrate_msgsize(int num_migrate, int with_kma, in xfrm_migrate_msgsize() argument
3038 + nla_total_size(sizeof(struct xfrm_user_migrate) * num_migrate) in xfrm_migrate_msgsize()
3043 int num_migrate, const struct xfrm_kmaddress *k, in build_migrate() argument
3075 for (i = 0, mp = m ; i < num_migrate; i++, mp++) { in build_migrate()
3090 const struct xfrm_migrate *m, int num_migrate, in xfrm_send_migrate() argument
3098 skb = nlmsg_new(xfrm_migrate_msgsize(num_migrate, !!k, !!encap), in xfrm_send_migrate()
3104 err = build_migrate(skb, m, num_migrate, k, sel, encap, dir, type); in xfrm_send_migrate()
3111 const struct xfrm_migrate *m, int num_migrate, in xfrm_send_migrate() argument