Home
last modified time | relevance | path

Searched refs:ubuf_info (Results 1 – 12 of 12) sorted by relevance

/Linux-v5.4/drivers/vhost/
Dnet.c121 struct ubuf_info *ubuf_info; member
274 kfree(n->vqs[i].ubuf_info); in vhost_net_clear_ubuf_info()
275 n->vqs[i].ubuf_info = NULL; in vhost_net_clear_ubuf_info()
288 n->vqs[i].ubuf_info = in vhost_net_set_ubuf_info()
290 sizeof(*n->vqs[i].ubuf_info), in vhost_net_set_ubuf_info()
292 if (!n->vqs[i].ubuf_info) in vhost_net_set_ubuf_info()
384 static void vhost_zerocopy_callback(struct ubuf_info *ubuf, bool success) in vhost_zerocopy_callback()
895 struct ubuf_info *ubuf; in handle_tx_zerocopy()
896 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy()
1316 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
/Linux-v5.4/drivers/net/xen-netback/
Dcommon.h66 struct ubuf_info callback_struct;
384 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
Dnetback.c127 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue()
1037 struct ubuf_info *uarg; in xenvif_handle_frag_list()
1220 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback()
1232 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
Dinterface.c560 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
/Linux-v5.4/include/linux/
Dskbuff.h461 struct ubuf_info { struct
462 void (*callback)(struct ubuf_info *, bool zerocopy_success); argument
483 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg)) argument
488 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size);
489 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size,
490 struct ubuf_info *uarg);
492 static inline void sock_zerocopy_get(struct ubuf_info *uarg) in sock_zerocopy_get()
497 void sock_zerocopy_put(struct ubuf_info *uarg);
498 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref);
500 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success);
[all …]
/Linux-v5.4/net/core/
Dskbuff.c1095 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size) in sock_zerocopy_alloc()
1097 struct ubuf_info *uarg; in sock_zerocopy_alloc()
1127 static inline struct sk_buff *skb_from_uarg(struct ubuf_info *uarg) in skb_from_uarg()
1132 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size, in sock_zerocopy_realloc()
1133 struct ubuf_info *uarg) in sock_zerocopy_realloc()
1196 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success) in sock_zerocopy_callback()
1245 void sock_zerocopy_put(struct ubuf_info *uarg) in sock_zerocopy_put()
1256 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref) in sock_zerocopy_put_abort()
1278 struct ubuf_info *uarg) in skb_zerocopy_iter_stream()
1280 struct ubuf_info *orig_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
/Linux-v5.4/drivers/net/
Dtap.c731 struct ubuf_info *uarg = msg_control; in tap_get_user()
Dtun.c1920 struct ubuf_info *uarg = msg_control; in tun_get_user()
/Linux-v5.4/net/ipv4/
Dtcp.c1134 struct ubuf_info *uarg) in tcp_sendmsg_fastopen()
1182 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
Dip_output.c964 struct ubuf_info *uarg = NULL; in __ip_append_data()
/Linux-v5.4/net/ipv6/
Dip6_output.c1325 struct ubuf_info *uarg = NULL; in __ip6_append_data()
/Linux-v5.4/include/net/
Dtcp.h1622 struct ubuf_info *uarg;