Searched refs:ubuf_info (Results 1 – 12 of 12) sorted by relevance
| /Linux-v5.15/drivers/vhost/ |
| D | net.c | 121 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() 385 struct ubuf_info *ubuf, bool success) in vhost_zerocopy_callback() 873 struct ubuf_info *ubuf; in handle_tx_zerocopy() 906 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy() 1328 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
|
| /Linux-v5.15/include/linux/ |
| D | skbuff.h | 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() [all …]
|
| /Linux-v5.15/drivers/net/xen-netback/ |
| D | common.h | 66 struct ubuf_info callback_struct; 402 void xenvif_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *ubuf,
|
| D | netback.c | 134 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 sk_buff *skb, struct ubuf_info *ubuf, in xenvif_zerocopy_callback() 1244 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
|
| D | interface.c | 607 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
|
| /Linux-v5.15/net/core/ |
| D | skbuff.c | 1169 struct ubuf_info *msg_zerocopy_alloc(struct sock *sk, size_t size) in msg_zerocopy_alloc() 1171 struct ubuf_info *uarg; in msg_zerocopy_alloc() 1202 static inline struct sk_buff *skb_from_uarg(struct ubuf_info *uarg) in skb_from_uarg() 1207 struct ubuf_info *msg_zerocopy_realloc(struct sock *sk, size_t size, in msg_zerocopy_realloc() 1208 struct ubuf_info *uarg) in msg_zerocopy_realloc() 1271 static void __msg_zerocopy_callback(struct ubuf_info *uarg) in __msg_zerocopy_callback() 1321 void msg_zerocopy_callback(struct sk_buff *skb, struct ubuf_info *uarg, in msg_zerocopy_callback() 1331 void msg_zerocopy_put_abort(struct ubuf_info *uarg, bool have_uref) in msg_zerocopy_put_abort() 1351 struct ubuf_info *uarg) in skb_zerocopy_iter_stream() 1353 struct ubuf_info *orig_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
|
| /Linux-v5.15/drivers/net/ |
| D | tap.c | 726 struct ubuf_info *uarg = msg_control; in tap_get_user()
|
| D | tun.c | 1826 struct ubuf_info *uarg = msg_control; in tun_get_user()
|
| /Linux-v5.15/net/ipv4/ |
| D | ip_output.c | 954 struct ubuf_info *uarg = NULL; in __ip_append_data()
|
| D | tcp.c | 1155 struct ubuf_info *uarg) in tcp_sendmsg_fastopen() 1203 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
|
| /Linux-v5.15/net/ipv6/ |
| D | ip6_output.c | 1441 struct ubuf_info *uarg = NULL; in __ip6_append_data()
|
| /Linux-v5.15/include/net/ |
| D | tcp.h | 1683 struct ubuf_info *uarg;
|