Lines Matching refs:xfrm_policy

1671 static int copy_from_user_sec_ctx(struct xfrm_policy *pol, struct nlattr **attrs)  in copy_from_user_sec_ctx()
1683 static void copy_templates(struct xfrm_policy *xp, struct xfrm_user_tmpl *ut, in copy_templates()
1771 static int copy_from_user_tmpl(struct xfrm_policy *pol, struct nlattr **attrs, in copy_from_user_tmpl()
1813 static void copy_from_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p) in copy_from_user_policy()
1825 static void copy_to_user_policy(struct xfrm_policy *xp, struct xfrm_userpolicy_info *p, int dir) in copy_to_user_policy()
1840 static struct xfrm_policy *xfrm_policy_construct(struct net *net, in xfrm_policy_construct()
1846 struct xfrm_policy *xp = xfrm_policy_alloc(net, GFP_KERNEL); in xfrm_policy_construct()
1884 struct xfrm_policy *xp; in xfrm_add_policy()
1924 static int copy_to_user_tmpl(struct xfrm_policy *xp, struct sk_buff *skb) in copy_to_user_tmpl()
1961 static inline int copy_to_user_sec_ctx(struct xfrm_policy *xp, struct sk_buff *skb) in copy_to_user_sec_ctx()
1995 static int dump_one_policy(struct xfrm_policy *xp, int dir, int count, void *ptr) in dump_one_policy()
2077 struct xfrm_policy *xp, in xfrm_policy_netlink()
2196 struct xfrm_policy *xp; in xfrm_get_policy()
2505 struct xfrm_policy *xp; in xfrm_add_pol_expire()
2607 struct xfrm_policy *xp; in xfrm_add_acquire()
3304 struct xfrm_policy *xp) in xfrm_acquire_msgsize()
3314 struct xfrm_tmpl *xt, struct xfrm_policy *xp) in build_acquire()
3354 struct xfrm_policy *xp) in xfrm_send_acquire()
3373 static struct xfrm_policy *xfrm_compile_policy(struct sock *sk, int opt, in xfrm_compile_policy()
3379 struct xfrm_policy *xp; in xfrm_compile_policy()
3430 static inline unsigned int xfrm_polexpire_msgsize(struct xfrm_policy *xp) in xfrm_polexpire_msgsize()
3439 static int build_polexpire(struct sk_buff *skb, struct xfrm_policy *xp, in build_polexpire()
3472 static int xfrm_exp_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) in xfrm_exp_policy_notify()
3488 static int xfrm_notify_policy(struct xfrm_policy *xp, int dir, const struct km_event *c) in xfrm_notify_policy()
3585 static int xfrm_send_policy_notify(struct xfrm_policy *xp, int dir, const struct km_event *c) in xfrm_send_policy_notify()