Home
last modified time | relevance | path

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

/Linux-v5.10/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()
898 struct ubuf_info *ubuf; in handle_tx_zerocopy()
899 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy()
1319 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
/Linux-v5.10/drivers/net/xen-netback/
Dcommon.h66 struct ubuf_info callback_struct;
402 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
Dnetback.c134 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue()
1048 struct ubuf_info *uarg; in xenvif_handle_frag_list()
1231 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback()
1243 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
Dinterface.c605 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
/Linux-v5.10/include/linux/
Dskbuff.h463 struct ubuf_info { struct
464 void (*callback)(struct ubuf_info *, bool zerocopy_success); argument
485 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg)) argument
490 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size);
491 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size,
492 struct ubuf_info *uarg);
494 static inline void sock_zerocopy_get(struct ubuf_info *uarg) in sock_zerocopy_get()
499 void sock_zerocopy_put(struct ubuf_info *uarg);
500 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref);
502 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success);
[all …]
/Linux-v5.10/net/core/
Dskbuff.c1089 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size) in sock_zerocopy_alloc()
1091 struct ubuf_info *uarg; in sock_zerocopy_alloc()
1121 static inline struct sk_buff *skb_from_uarg(struct ubuf_info *uarg) in skb_from_uarg()
1126 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size, in sock_zerocopy_realloc()
1127 struct ubuf_info *uarg) in sock_zerocopy_realloc()
1190 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success) in sock_zerocopy_callback()
1239 void sock_zerocopy_put(struct ubuf_info *uarg) in sock_zerocopy_put()
1250 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref) in sock_zerocopy_put_abort()
1272 struct ubuf_info *uarg) in skb_zerocopy_iter_stream()
1274 struct ubuf_info *orig_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
/Linux-v5.10/drivers/net/
Dtap.c729 struct ubuf_info *uarg = msg_control; in tap_get_user()
Dtun.c1858 struct ubuf_info *uarg = msg_control; in tun_get_user()
/Linux-v5.10/net/ipv4/
Dtcp.c1144 struct ubuf_info *uarg) in tcp_sendmsg_fastopen()
1192 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
Dip_output.c970 struct ubuf_info *uarg = NULL; in __ip_append_data()
/Linux-v5.10/net/ipv6/
Dip6_output.c1395 struct ubuf_info *uarg = NULL; in __ip6_append_data()
/Linux-v5.10/include/net/
Dtcp.h1661 struct ubuf_info *uarg;