Searched refs:lws (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/include/net/ |
D | lwtunnel.h | 41 void (*destroy_state)(struct lwtunnel_state *lws); 57 void lwtstate_free(struct lwtunnel_state *lws); 60 lwtstate_get(struct lwtunnel_state *lws) in lwtstate_get() argument 62 if (lws) in lwtstate_get() 63 atomic_inc(&lws->refcnt); in lwtstate_get() 65 return lws; in lwtstate_get() 68 static inline void lwtstate_put(struct lwtunnel_state *lws) in lwtstate_put() argument 70 if (!lws) in lwtstate_put() 73 if (atomic_dec_and_test(&lws->refcnt)) in lwtstate_put() 74 lwtstate_free(lws); in lwtstate_put() [all …]
|
/linux-6.1.9/net/core/ |
D | lwtunnel.c | 69 struct lwtunnel_state *lws; in lwtunnel_state_alloc() local 71 lws = kzalloc(sizeof(*lws) + encap_len, GFP_ATOMIC); in lwtunnel_state_alloc() 73 return lws; in lwtunnel_state_alloc() 113 const void *cfg, struct lwtunnel_state **lws, in lwtunnel_build_state() argument 135 ret = ops->build_state(net, encap, family, cfg, lws, extack); in lwtunnel_build_state() 221 void lwtstate_free(struct lwtunnel_state *lws) in lwtstate_free() argument 223 const struct lwtunnel_encap_ops *ops = lwtun_encaps[lws->type]; in lwtstate_free() 226 ops->destroy_state(lws); in lwtstate_free() 227 kfree_rcu(lws, rcu); in lwtstate_free() 229 kfree(lws); in lwtstate_free()
|
/linux-6.1.9/arch/openrisc/kernel/ |
D | entry.S | 437 l.bf lws 469 lws: l.lbs r5,0(r2)
|