Home
last modified time | relevance | path

Searched refs:ubuf_info (Results 1 - 25 of 27) sorted by relevance

12

/kernel/linux/linux-6.6/io_uring/
H A Dnotif.c27 static void io_tx_ubuf_callback(struct sk_buff *skb, struct ubuf_info *uarg, in io_tx_ubuf_callback()
37 static void io_tx_ubuf_callback_ext(struct sk_buff *skb, struct ubuf_info *uarg, in io_tx_ubuf_callback_ext()
H A Dnotif.h15 struct ubuf_info uarg;
/kernel/linux/linux-5.10/drivers/vhost/
H A 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 in handle_tx_zerocopy()
[all...]
/kernel/linux/linux-5.10/drivers/net/xen-netback/
H A Dcommon.h65 struct ubuf_info callback_struct;
394 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
H A Dnetback.c135 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue()
1124 struct ubuf_info *uarg; in xenvif_handle_frag_list()
1294 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback()
1306 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
H A Dinterface.c592 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
/kernel/linux/linux-6.6/include/linux/
H A Dskbuff.h515 /* page references are managed by the ubuf_info, so it's safe to
516 * use frags only up until ubuf_info is released
533 struct ubuf_info { struct
534 void (*callback)(struct sk_buff *, struct ubuf_info *,
541 struct ubuf_info ubuf;
562 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg))
1638 struct ubuf_info *msg_zerocopy_realloc(struct sock *sk, size_t size,
1639 struct ubuf_info *uarg);
1641 void msg_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref);
1643 void msg_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *uar
[all...]
H A Dsocket.h77 struct ubuf_info *msg_ubuf;
/kernel/linux/linux-6.6/drivers/vhost/
H A Dnet.c122 struct ubuf_info_msgzc *ubuf_info; member
275 kfree(n->vqs[i].ubuf_info); in vhost_net_clear_ubuf_info()
276 n->vqs[i].ubuf_info = NULL; in vhost_net_clear_ubuf_info()
289 n->vqs[i].ubuf_info = in vhost_net_set_ubuf_info()
291 sizeof(*n->vqs[i].ubuf_info), in vhost_net_set_ubuf_info()
293 if (!n->vqs[i].ubuf_info) in vhost_net_set_ubuf_info()
386 struct ubuf_info *ubuf_base, bool success) in vhost_zerocopy_callback()
909 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy()
1336 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
/kernel/linux/linux-5.10/include/linux/
H A Dskbuff.h464 struct ubuf_info { struct
465 void (*callback)(struct ubuf_info *, bool zerocopy_success);
486 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg))
491 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size);
492 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size,
493 struct ubuf_info *uarg);
495 static inline void sock_zerocopy_get(struct ubuf_info *uarg) in sock_zerocopy_get()
500 void sock_zerocopy_put(struct ubuf_info *uarg);
501 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref);
503 void sock_zerocopy_callback(struct ubuf_info *uar
[all...]
/kernel/linux/linux-6.6/drivers/net/xen-netback/
H A Dcommon.h394 void xenvif_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *ubuf,
H A Dnetback.c1115 struct ubuf_info *uarg; in xenvif_handle_frag_list()
1281 void xenvif_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *ubuf_base, in xenvif_zerocopy_callback()
/kernel/linux/linux-5.10/net/core/
H A Dskbuff.c1103 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size) in sock_zerocopy_alloc()
1105 struct ubuf_info *uarg; in sock_zerocopy_alloc()
1135 static inline struct sk_buff *skb_from_uarg(struct ubuf_info *uarg) in skb_from_uarg()
1140 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size, in sock_zerocopy_realloc()
1141 struct ubuf_info *uarg) in sock_zerocopy_realloc()
1204 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success) in sock_zerocopy_callback()
1253 void sock_zerocopy_put(struct ubuf_info *uarg) in sock_zerocopy_put()
1264 void sock_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref) in sock_zerocopy_put_abort()
1286 struct ubuf_info *uarg) in skb_zerocopy_iter_stream()
1288 struct ubuf_info *orig_uar in skb_zerocopy_iter_stream()
[all...]
/kernel/linux/linux-6.6/tools/perf/trace/beauty/include/linux/
H A Dsocket.h77 struct ubuf_info *msg_ubuf;
/kernel/linux/linux-6.6/net/core/
H A Dskbuff.c1540 static struct ubuf_info *msg_zerocopy_alloc(struct sock *sk, size_t size) in msg_zerocopy_alloc()
1577 struct ubuf_info *msg_zerocopy_realloc(struct sock *sk, size_t size, in msg_zerocopy_realloc()
1578 struct ubuf_info *uarg) in msg_zerocopy_realloc()
1697 void msg_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *uarg, in msg_zerocopy_callback()
1709 void msg_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref) in msg_zerocopy_put_abort()
1723 struct ubuf_info *uarg) in skb_zerocopy_iter_stream()
1725 struct ubuf_info *orig_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
/kernel/linux/linux-6.6/include/net/
H A Dtcp.h331 size_t size, struct ubuf_info *uarg);
1800 struct ubuf_info *uarg;
/kernel/linux/linux-5.10/drivers/net/
H A Dtap.c728 struct ubuf_info *uarg = msg_control; in tap_get_user()
/kernel/linux/linux-6.6/drivers/net/
H A Dtap.c756 struct ubuf_info *uarg = msg_control; in tap_get_user()
/kernel/linux/linux-5.10/net/ipv4/
H A Dtcp.c1161 struct ubuf_info *uarg) in tcp_sendmsg_fastopen()
1210 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
H A Dip_output.c978 struct ubuf_info *uarg = NULL; in __ip_append_data()
/kernel/linux/linux-5.10/include/net/
H A Dtcp.h1699 struct ubuf_info *uarg;
/kernel/linux/linux-5.10/net/ipv6/
H A Dip6_output.c1473 struct ubuf_info *uarg = NULL; in __ip6_append_data()
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_output.c960 struct ubuf_info *uarg = NULL; in __ip_append_data()
H A Dtcp.c992 size_t size, struct ubuf_info *uarg) in tcp_sendmsg_fastopen()
1041 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_output.c1483 struct ubuf_info *uarg = NULL; in __ip6_append_data()

Completed in 66 milliseconds

12