Searched refs:ubuf_info (Results 1 – 12 of 12) sorted by relevance
/kernel/linux/linux-5.10/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() 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/ |
D | common.h | 65 struct ubuf_info callback_struct; 394 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
|
D | netback.c | 136 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue() 1142 struct ubuf_info *uarg; in xenvif_handle_frag_list() 1312 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback() 1324 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
|
D | interface.c | 595 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
|
/kernel/linux/linux-5.10/include/linux/ |
D | skbuff.h | 464 struct ubuf_info { struct 465 void (*callback)(struct ubuf_info *, bool zerocopy_success); argument 486 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg)) argument 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 *uarg, bool success); [all …]
|
/kernel/linux/linux-5.10/net/core/ |
D | skbuff.c | 1103 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_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
|
/kernel/linux/linux-5.10/drivers/net/ |
D | tap.c | 728 struct ubuf_info *uarg = msg_control; in tap_get_user()
|
D | tun.c | 1936 struct ubuf_info *uarg = msg_control; in tun_get_user()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_output.c | 978 struct ubuf_info *uarg = NULL; in __ip_append_data()
|
D | tcp.c | 1155 struct ubuf_info *uarg) in tcp_sendmsg_fastopen() 1204 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_output.c | 1467 struct ubuf_info *uarg = NULL; in __ip6_append_data()
|
/kernel/linux/linux-5.10/include/net/ |
D | tcp.h | 1694 struct ubuf_info *uarg;
|