Lines Matching refs:ubuf_info
445 struct ubuf_info { struct
446 void (*callback)(struct ubuf_info *, bool zerocopy_success); argument
467 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg)) argument
472 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size);
473 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size,
474 struct ubuf_info *uarg);
476 static inline void sock_zerocopy_get(struct ubuf_info *uarg) in sock_zerocopy_get()
481 void sock_zerocopy_put(struct ubuf_info *uarg);
482 void sock_zerocopy_put_abort(struct ubuf_info *uarg);
484 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success);
488 struct ubuf_info *uarg);
1298 static inline struct ubuf_info *skb_zcopy(struct sk_buff *skb) in skb_zcopy()
1305 static inline void skb_zcopy_set(struct sk_buff *skb, struct ubuf_info *uarg) in skb_zcopy_set()
1317 struct ubuf_info *uarg = skb_zcopy(skb); in skb_zcopy_clear()
1334 struct ubuf_info *uarg = skb_zcopy(skb); in skb_zcopy_abort()