Home
last modified time | relevance | path

Searched refs:xfrm_translator (Results 1 – 3 of 3) sorted by relevance

/net/xfrm/
Dxfrm_compat.c654 static struct xfrm_translator xfrm_translator = { variable
663 return xfrm_register_translator(&xfrm_translator); in xfrm_compat_init()
668 xfrm_unregister_translator(&xfrm_translator); in xfrm_compat_exit()
Dxfrm_state.c2365 static struct xfrm_translator __rcu *xfrm_translator; variable
2367 struct xfrm_translator *xfrm_get_translator(void) in xfrm_get_translator()
2369 struct xfrm_translator *xtr; in xfrm_get_translator()
2372 xtr = rcu_dereference(xfrm_translator); in xfrm_get_translator()
2383 void xfrm_put_translator(struct xfrm_translator *xtr) in xfrm_put_translator()
2389 int xfrm_register_translator(struct xfrm_translator *xtr) in xfrm_register_translator()
2394 if (unlikely(xfrm_translator != NULL)) in xfrm_register_translator()
2397 rcu_assign_pointer(xfrm_translator, xtr); in xfrm_register_translator()
2404 int xfrm_unregister_translator(struct xfrm_translator *xtr) in xfrm_unregister_translator()
2409 if (likely(xfrm_translator != NULL)) { in xfrm_unregister_translator()
[all …]
Dxfrm_user.c1088 struct xfrm_translator *xtr; in dump_one_state()
1217 struct xfrm_translator *xtr; in xfrm_nlmsg_multicast()
1454 struct xfrm_translator *xtr; in xfrm_alloc_userspi()
1922 struct xfrm_translator *xtr; in dump_one_policy()
2928 struct xfrm_translator *xtr = xfrm_get_translator(); in xfrm_user_rcv_msg()