Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
874 struct ubuf_info *ubuf; in handle_tx_zerocopy()
907 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy()
1327 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
/kernel/linux/linux-5.10/drivers/net/xen-netback/
Dcommon.h65 struct ubuf_info callback_struct;
394 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
Dnetback.c136 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue()
1123 struct ubuf_info *uarg; in xenvif_handle_frag_list()
1293 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback()
1305 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
Dinterface.c595 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/net/core/
Dskbuff.c1104 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size) in sock_zerocopy_alloc()
1106 struct ubuf_info *uarg; in sock_zerocopy_alloc()
1136 static inline struct sk_buff *skb_from_uarg(struct ubuf_info *uarg) in skb_from_uarg()
1141 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size, in sock_zerocopy_realloc()
1142 struct ubuf_info *uarg) in sock_zerocopy_realloc()
1205 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success) in sock_zerocopy_callback()
1254 void sock_zerocopy_put(struct ubuf_info *uarg) in sock_zerocopy_put()
1265 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref) in sock_zerocopy_put_abort()
1287 struct ubuf_info *uarg) in skb_zerocopy_iter_stream()
1289 struct ubuf_info *orig_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
/kernel/linux/linux-5.10/drivers/net/
Dtap.c729 struct ubuf_info *uarg = msg_control; in tap_get_user()
Dtun.c1936 struct ubuf_info *uarg = msg_control; in tun_get_user()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp.c1144 struct ubuf_info *uarg) in tcp_sendmsg_fastopen()
1193 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
Dip_output.c978 struct ubuf_info *uarg = NULL; in __ip_append_data()
/kernel/linux/linux-5.10/include/net/
Dtcp.h1680 struct ubuf_info *uarg;
/kernel/linux/linux-5.10/net/ipv6/
Dip6_output.c1467 struct ubuf_info *uarg = NULL; in __ip6_append_data()