lws 41 include/net/lwtunnel.h void (*destroy_state)(struct lwtunnel_state *lws); lws 54 include/net/lwtunnel.h void lwtstate_free(struct lwtunnel_state *lws); lws 57 include/net/lwtunnel.h lwtstate_get(struct lwtunnel_state *lws) lws 59 include/net/lwtunnel.h if (lws) lws 60 include/net/lwtunnel.h atomic_inc(&lws->refcnt); lws 62 include/net/lwtunnel.h return lws; lws 65 include/net/lwtunnel.h static inline void lwtstate_put(struct lwtunnel_state *lws) lws 67 include/net/lwtunnel.h if (!lws) lws 70 include/net/lwtunnel.h if (atomic_dec_and_test(&lws->refcnt)) lws 71 include/net/lwtunnel.h lwtstate_free(lws); lws 119 include/net/lwtunnel.h struct lwtunnel_state **lws, lws 145 include/net/lwtunnel.h static inline void lwtstate_free(struct lwtunnel_state *lws) lws 150 include/net/lwtunnel.h lwtstate_get(struct lwtunnel_state *lws) lws 152 include/net/lwtunnel.h return lws; lws 155 include/net/lwtunnel.h static inline void lwtstate_put(struct lwtunnel_state *lws) lws 215 include/net/lwtunnel.h struct lwtunnel_state **lws, lws 59 net/core/lwtunnel.c struct lwtunnel_state *lws; lws 61 net/core/lwtunnel.c lws = kzalloc(sizeof(*lws) + encap_len, GFP_ATOMIC); lws 63 net/core/lwtunnel.c return lws; lws 103 net/core/lwtunnel.c const void *cfg, struct lwtunnel_state **lws, lws 125 net/core/lwtunnel.c ret = ops->build_state(encap, family, cfg, lws, extack); lws 207 net/core/lwtunnel.c void lwtstate_free(struct lwtunnel_state *lws) lws 209 net/core/lwtunnel.c const struct lwtunnel_encap_ops *ops = lwtun_encaps[lws->type]; lws 212 net/core/lwtunnel.c ops->destroy_state(lws); lws 213 net/core/lwtunnel.c kfree_rcu(lws, rcu); lws 215 net/core/lwtunnel.c kfree(lws);