Searched refs:num_migrate (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/net/xfrm/ |
D | xfrm_user.c | 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() [all …]
|
D | xfrm_policy.c | 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() [all …]
|
D | xfrm_state.c | 2548 const struct xfrm_migrate *m, int num_migrate, in km_migrate() argument 2559 ret = km->migrate(sel, dir, type, m, num_migrate, k, in km_migrate()
|