Lines Matching refs:xfrm_state
439 static void copy_from_user_state(struct xfrm_state *x, struct xfrm_usersa_info *p) in copy_from_user_state()
461 static void xfrm_update_ae_params(struct xfrm_state *x, struct nlattr **attrs, in xfrm_update_ae_params()
502 static struct xfrm_state *xfrm_state_construct(struct net *net, in xfrm_state_construct()
507 struct xfrm_state *x = xfrm_state_alloc(net); in xfrm_state_construct()
595 struct xfrm_state *x; in xfrm_add_sa()
631 static struct xfrm_state *xfrm_user_state_lookup(struct net *net, in xfrm_user_state_lookup()
636 struct xfrm_state *x = NULL; in xfrm_user_state_lookup()
669 struct xfrm_state *x; in xfrm_del_sa()
702 static void copy_to_user_state(struct xfrm_state *x, struct xfrm_usersa_info *p) in copy_to_user_state()
766 static int copy_to_user_state_extra(struct xfrm_state *x, in copy_to_user_state_extra()
842 static int dump_one_state(struct xfrm_state *x, int count, void *ptr) in dump_one_state()
926 struct xfrm_state *x, u32 seq) in xfrm_state_netlink()
1153 struct xfrm_state *x; in xfrm_get_sa()
1176 struct xfrm_state *x; in xfrm_alloc_userspi()
1552 static inline int copy_to_user_state_sec_ctx(struct xfrm_state *x, struct sk_buff *skb) in copy_to_user_state_sec_ctx()
1785 static inline size_t xfrm_aevent_msgsize(struct xfrm_state *x) in xfrm_aevent_msgsize()
1799 static int build_aevent(struct sk_buff *skb, struct xfrm_state *x, const struct km_event *c) in build_aevent()
1859 struct xfrm_state *x; in xfrm_get_ae()
1902 struct xfrm_state *x; in xfrm_new_ae()
2042 struct xfrm_state *x; in xfrm_add_sa_expire()
2083 struct xfrm_state *x = xfrm_state_alloc(net); in xfrm_add_acquire()
2484 static int build_expire(struct sk_buff *skb, struct xfrm_state *x, const struct km_event *c) in build_expire()
2506 static int xfrm_exp_state_notify(struct xfrm_state *x, const struct km_event *c) in xfrm_exp_state_notify()
2523 static int xfrm_aevent_state_notify(struct xfrm_state *x, const struct km_event *c) in xfrm_aevent_state_notify()
2564 static inline size_t xfrm_sa_len(struct xfrm_state *x) in xfrm_sa_len()
2600 static int xfrm_notify_sa(struct xfrm_state *x, const struct km_event *c) in xfrm_notify_sa()
2657 static int xfrm_send_state_notify(struct xfrm_state *x, const struct km_event *c) in xfrm_send_state_notify()
2681 static inline size_t xfrm_acquire_msgsize(struct xfrm_state *x, in xfrm_acquire_msgsize()
2691 static int build_acquire(struct sk_buff *skb, struct xfrm_state *x, in build_acquire()
2729 static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt, in xfrm_send_acquire()
3025 static int build_mapping(struct sk_buff *skb, struct xfrm_state *x, in build_mapping()
3051 static int xfrm_send_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, in xfrm_send_mapping()