Lines Matching refs:uarg
539 int (*link_skb)(struct sk_buff *skb, struct ubuf_info *uarg);
1713 struct ubuf_info *uarg);
1715 void msg_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref);
1732 struct ubuf_info *uarg);
1765 static inline void net_zcopy_get(struct ubuf_info *uarg) in net_zcopy_get() argument
1767 refcount_inc(&uarg->refcnt); in net_zcopy_get()
1770 static inline void skb_zcopy_init(struct sk_buff *skb, struct ubuf_info *uarg) in skb_zcopy_init() argument
1772 skb_shinfo(skb)->destructor_arg = uarg; in skb_zcopy_init()
1773 skb_shinfo(skb)->flags |= uarg->flags; in skb_zcopy_init()
1776 static inline void skb_zcopy_set(struct sk_buff *skb, struct ubuf_info *uarg, in skb_zcopy_set() argument
1779 if (skb && uarg && !skb_zcopy(skb)) { in skb_zcopy_set()
1783 net_zcopy_get(uarg); in skb_zcopy_set()
1784 skb_zcopy_init(skb, uarg); in skb_zcopy_set()
1804 static inline void net_zcopy_put(struct ubuf_info *uarg) in net_zcopy_put() argument
1806 if (uarg) in net_zcopy_put()
1807 uarg->ops->complete(NULL, uarg, true); in net_zcopy_put()
1810 static inline void net_zcopy_put_abort(struct ubuf_info *uarg, bool have_uref) in net_zcopy_put_abort() argument
1812 if (uarg) { in net_zcopy_put_abort()
1813 if (uarg->ops == &msg_zerocopy_ubuf_ops) in net_zcopy_put_abort()
1814 msg_zerocopy_put_abort(uarg, have_uref); in net_zcopy_put_abort()
1816 net_zcopy_put(uarg); in net_zcopy_put_abort()
1823 struct ubuf_info *uarg = skb_zcopy(skb); in skb_zcopy_clear() local
1825 if (uarg) { in skb_zcopy_clear()
1827 uarg->ops->complete(skb, uarg, zerocopy_success); in skb_zcopy_clear()