Searched refs:lws (Results 1 – 3 of 3) sorted by relevance
/linux/include/net/ |
A D | lwtunnel.h | 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() 70 if (!lws) in lwtstate_put() 73 if (atomic_dec_and_test(&lws->refcnt)) in lwtstate_put() 74 lwtstate_free(lws); in lwtstate_put() 122 struct lwtunnel_state **lws, 153 lwtstate_get(struct lwtunnel_state *lws) in lwtstate_get() argument 155 return lws; in lwtstate_get() [all …]
|
/linux/net/core/ |
A D | lwtunnel.c | 66 struct lwtunnel_state *lws; in lwtunnel_state_alloc() local 68 lws = kzalloc(sizeof(*lws) + encap_len, GFP_ATOMIC); in lwtunnel_state_alloc() 70 return lws; in lwtunnel_state_alloc() 110 const void *cfg, struct lwtunnel_state **lws, in lwtunnel_build_state() argument 132 ret = ops->build_state(net, encap, family, cfg, lws, extack); in lwtunnel_build_state() 218 void lwtstate_free(struct lwtunnel_state *lws) in lwtstate_free() argument 220 const struct lwtunnel_encap_ops *ops = lwtun_encaps[lws->type]; in lwtstate_free() 223 ops->destroy_state(lws); in lwtstate_free() 224 kfree_rcu(lws, rcu); in lwtstate_free() 226 kfree(lws); in lwtstate_free()
|
/linux/arch/openrisc/kernel/ |
A D | entry.S | 437 l.bf lws 469 lws: l.lbs r5,0(r2)
|
Completed in 7 milliseconds