Searched refs:proto_handlers (Results 1 – 2 of 2) sorted by relevance
30 static inline struct xfrm6_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() function53 struct xfrm6_protocol __rcu **head = proto_handlers(protocol); in xfrm6_rcv_cb()58 for_each_protocol_rcu(*proto_handlers(protocol), handler) in xfrm6_rcv_cb()193 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_register()198 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_register()202 for (pprev = proto_handlers(protocol); in xfrm6_protocol_register()238 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm6_protocol_deregister()243 for (pprev = proto_handlers(protocol); in xfrm6_protocol_deregister()254 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm6_protocol_deregister()
30 static inline struct xfrm4_protocol __rcu **proto_handlers(u8 protocol) in proto_handlers() function53 struct xfrm4_protocol __rcu **head = proto_handlers(protocol); in xfrm4_rcv_cb()71 struct xfrm4_protocol __rcu **head = proto_handlers(nexthdr); in xfrm4_rcv_encap()219 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_register()224 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_register()228 for (pprev = proto_handlers(protocol); in xfrm4_protocol_register()264 if (!proto_handlers(protocol) || !netproto(protocol)) in xfrm4_protocol_deregister()269 for (pprev = proto_handlers(protocol); in xfrm4_protocol_deregister()280 if (!rcu_dereference_protected(*proto_handlers(protocol), in xfrm4_protocol_deregister()