Searched refs:lws (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/include/net/
H A Dlwtunnel.h40 static inline void lwtstate_free(struct lwtunnel_state *lws) lwtstate_free() argument
42 kfree(lws); lwtstate_free()
46 lwtstate_get(struct lwtunnel_state *lws) lwtstate_get() argument
48 if (lws) lwtstate_get()
49 atomic_inc(&lws->refcnt); lwtstate_get()
51 return lws; lwtstate_get()
54 static inline void lwtstate_put(struct lwtunnel_state *lws) lwtstate_put() argument
56 if (!lws) lwtstate_put()
59 if (atomic_dec_and_test(&lws->refcnt)) lwtstate_put()
60 lwtstate_free(lws); lwtstate_put()
85 struct lwtunnel_state **lws);
96 static inline void lwtstate_free(struct lwtunnel_state *lws) lwtstate_free() argument
101 lwtstate_get(struct lwtunnel_state *lws) lwtstate_get() argument
103 return lws; lwtstate_get()
106 static inline void lwtstate_put(struct lwtunnel_state *lws) lwtstate_put() argument
136 struct lwtunnel_state **lws) lwtunnel_build_state()
133 lwtunnel_build_state(struct net_device *dev, u16 encap_type, struct nlattr *encap, unsigned int family, const void *cfg, struct lwtunnel_state **lws) lwtunnel_build_state() argument
/linux-4.4.14/net/core/
H A Dlwtunnel.c32 struct lwtunnel_state *lws; lwtunnel_state_alloc() local
34 lws = kzalloc(sizeof(*lws) + encap_len, GFP_ATOMIC); lwtunnel_state_alloc()
36 return lws; lwtunnel_state_alloc()
76 const void *cfg, struct lwtunnel_state **lws) lwtunnel_build_state()
89 ret = ops->build_state(dev, encap, family, cfg, lws); lwtunnel_build_state()
74 lwtunnel_build_state(struct net_device *dev, u16 encap_type, struct nlattr *encap, unsigned int family, const void *cfg, struct lwtunnel_state **lws) lwtunnel_build_state() argument
/linux-4.4.14/arch/parisc/kernel/
H A Dsyscall.S74 /* ADDRESS 0xb0 to 0xb8, lws uses two insns for entry */
471 /* Is the lws entry number valid? */
485 /* Jump to lws, lws table pointers already relocated */
903 /* Start of lws table. */
909 /* End of lws table */
935 /* lws locks */
/linux-4.4.14/arch/openrisc/kernel/
H A Dentry.S381 l.bf lws
413 lws: l.lbs r5,0(r2) label

Completed in 263 milliseconds