Lines Matching refs:uarg
534 int (*link_skb)(struct sk_buff *skb, struct ubuf_info *uarg);
1710 struct ubuf_info *uarg);
1712 void msg_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref);
1729 struct ubuf_info *uarg);
1762 static inline void net_zcopy_get(struct ubuf_info *uarg) in net_zcopy_get() argument
1764 refcount_inc(&uarg->refcnt); in net_zcopy_get()
1767 static inline void skb_zcopy_init(struct sk_buff *skb, struct ubuf_info *uarg) in skb_zcopy_init() argument
1769 skb_shinfo(skb)->destructor_arg = uarg; in skb_zcopy_init()
1770 skb_shinfo(skb)->flags |= uarg->flags; in skb_zcopy_init()
1773 static inline void skb_zcopy_set(struct sk_buff *skb, struct ubuf_info *uarg, in skb_zcopy_set() argument
1776 if (skb && uarg && !skb_zcopy(skb)) { in skb_zcopy_set()
1780 net_zcopy_get(uarg); in skb_zcopy_set()
1781 skb_zcopy_init(skb, uarg); in skb_zcopy_set()
1801 static inline void net_zcopy_put(struct ubuf_info *uarg) in net_zcopy_put() argument
1803 if (uarg) in net_zcopy_put()
1804 uarg->ops->complete(NULL, uarg, true); in net_zcopy_put()
1807 static inline void net_zcopy_put_abort(struct ubuf_info *uarg, bool have_uref) in net_zcopy_put_abort() argument
1809 if (uarg) { in net_zcopy_put_abort()
1810 if (uarg->ops == &msg_zerocopy_ubuf_ops) in net_zcopy_put_abort()
1811 msg_zerocopy_put_abort(uarg, have_uref); in net_zcopy_put_abort()
1813 net_zcopy_put(uarg); in net_zcopy_put_abort()
1820 struct ubuf_info *uarg = skb_zcopy(skb); in skb_zcopy_clear() local
1822 if (uarg) { in skb_zcopy_clear()
1824 uarg->ops->complete(skb, uarg, zerocopy_success); in skb_zcopy_clear()