Searched refs:proto_handlers (Results 1 – 2 of 2) sorted by relevance
26 static inline struct xfrm6_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() function49 struct xfrm6_protocol __rcu **head = proto_handlers(protocol); in xfrm6_rcv_cb()54 for_each_protocol_rcu(*proto_handlers(protocol), handler) in xfrm6_rcv_cb()194 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_register()199 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_register()203 for (pprev = proto_handlers(protocol); in xfrm6_protocol_register()239 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_deregister()244 for (pprev = proto_handlers(protocol); in xfrm6_protocol_deregister()255 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_deregister()
26 static inline struct xfrm4_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() function49 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); in xfrm4_rcv_cb()66 struct xfrm4_protocol __rcu **head = proto_handlers(nexthdr); in xfrm4_rcv_encap()220 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_register()225 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_register()229 for (pprev = proto_handlers(protocol); in xfrm4_protocol_register()265 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_deregister()270 for (pprev = proto_handlers(protocol); in xfrm4_protocol_deregister()281 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_deregister()