Lines Matching defs:x
314 static int attach_crypt(struct xfrm_state *x, struct nlattr *rta) in attach_crypt()
399 static int attach_aead(struct xfrm_state *x, struct nlattr *rta) in attach_aead()
493 static void copy_from_user_state(struct xfrm_state *x, struct xfrm_usersa_info *p) in copy_from_user_state()
515 static void xfrm_update_ae_params(struct xfrm_state *x, struct nlattr **attrs, in xfrm_update_ae_params()
574 struct xfrm_state *x = xfrm_state_alloc(net); in xfrm_state_construct() local
675 struct xfrm_state *x; in xfrm_add_sa() local
720 struct xfrm_state *x = NULL; in xfrm_user_state_lookup() local
753 struct xfrm_state *x; in xfrm_del_sa() local
786 static void copy_to_user_state(struct xfrm_state *x, struct xfrm_usersa_info *p) in copy_to_user_state()
881 static int copy_to_user_state_extra(struct xfrm_state *x, in copy_to_user_state_extra()
972 static int dump_one_state(struct xfrm_state *x, int count, void *ptr) in dump_one_state()
1054 struct xfrm_state *x, u32 seq) in xfrm_state_netlink()
1285 struct xfrm_state *x; in xfrm_get_sa() local
1308 struct xfrm_state *x; in xfrm_alloc_userspi() local
1718 static inline int copy_to_user_state_sec_ctx(struct xfrm_state *x, struct sk_buff *skb) in copy_to_user_state_sec_ctx()
1959 static inline unsigned int xfrm_aevent_msgsize(struct xfrm_state *x) in xfrm_aevent_msgsize()
1973 static int build_aevent(struct sk_buff *skb, struct xfrm_state *x, const struct km_event *c) in build_aevent()
2039 struct xfrm_state *x; in xfrm_get_ae() local
2083 struct xfrm_state *x; in xfrm_new_ae() local
2226 struct xfrm_state *x; in xfrm_add_sa_expire() local
2267 struct xfrm_state *x = xfrm_state_alloc(net); in xfrm_add_acquire() local
2691 static int build_expire(struct sk_buff *skb, struct xfrm_state *x, const struct km_event *c) in build_expire()
2719 static int xfrm_exp_state_notify(struct xfrm_state *x, const struct km_event *c) in xfrm_exp_state_notify()
2736 static int xfrm_aevent_state_notify(struct xfrm_state *x, const struct km_event *c) in xfrm_aevent_state_notify()
2778 static inline unsigned int xfrm_sa_len(struct xfrm_state *x) in xfrm_sa_len()
2822 static int xfrm_notify_sa(struct xfrm_state *x, const struct km_event *c) in xfrm_notify_sa()
2881 static int xfrm_send_state_notify(struct xfrm_state *x, const struct km_event *c) in xfrm_send_state_notify()
2905 static inline unsigned int xfrm_acquire_msgsize(struct xfrm_state *x, in xfrm_acquire_msgsize()
2915 static int build_acquire(struct sk_buff *skb, struct xfrm_state *x, in build_acquire()
2955 static int xfrm_send_acquire(struct xfrm_state *x, struct xfrm_tmpl *xt, in xfrm_send_acquire()
3259 static int build_mapping(struct sk_buff *skb, struct xfrm_state *x, in build_mapping()
3285 static int xfrm_send_mapping(struct xfrm_state *x, xfrm_address_t *ipaddr, in xfrm_send_mapping()