Lines Matching refs:ubuf_info
469 struct ubuf_info { struct
470 void (*callback)(struct sk_buff *, struct ubuf_info *, argument
493 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg)) argument
498 struct ubuf_info *msg_zerocopy_alloc(struct sock *sk, size_t size);
499 struct ubuf_info *msg_zerocopy_realloc(struct sock *sk, size_t size,
500 struct ubuf_info *uarg);
502 void msg_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref);
504 void msg_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *uarg,
510 struct ubuf_info *uarg);
1456 static inline struct ubuf_info *skb_zcopy(struct sk_buff *skb) in skb_zcopy()
1463 static inline void net_zcopy_get(struct ubuf_info *uarg) in net_zcopy_get()
1468 static inline void skb_zcopy_init(struct sk_buff *skb, struct ubuf_info *uarg) in skb_zcopy_init()
1474 static inline void skb_zcopy_set(struct sk_buff *skb, struct ubuf_info *uarg, in skb_zcopy_set()
1502 static inline void net_zcopy_put(struct ubuf_info *uarg) in net_zcopy_put()
1508 static inline void net_zcopy_put_abort(struct ubuf_info *uarg, bool have_uref) in net_zcopy_put_abort()
1521 struct ubuf_info *uarg = skb_zcopy(skb); in skb_zcopy_clear()