Lines Matching refs:xfrm_user_tmpl
1562 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates()
1587 static int validate_tmpl(int nr, struct xfrm_user_tmpl *ut, u16 family) in validate_tmpl()
1647 struct xfrm_user_tmpl *utmpl = nla_data(rt); in copy_from_user_tmpl()
1788 struct xfrm_user_tmpl vec[XFRM_MAX_DEPTH]; in copy_to_user_tmpl()
1795 struct xfrm_user_tmpl *up = &vec[i]; in copy_to_user_tmpl()
1812 sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr, vec); in copy_to_user_tmpl()
2471 struct xfrm_user_tmpl *ut; in xfrm_add_acquire()
2780 [XFRMA_TMPL] = { .len = sizeof(struct xfrm_user_tmpl) },
3162 + nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr) in xfrm_acquire_msgsize()
3233 struct xfrm_user_tmpl *ut = (struct xfrm_user_tmpl *) (p + 1); in xfrm_compile_policy()
3288 + nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr) in xfrm_polexpire_msgsize()
3345 unsigned int len = nla_total_size(sizeof(struct xfrm_user_tmpl) * xp->xfrm_nr); in xfrm_notify_policy()