Searched refs:ubuf_info (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/vhost/ |
D | net.c | 120 struct ubuf_info *ubuf_info; member 267 kfree(n->vqs[i].ubuf_info); in vhost_net_clear_ubuf_info() 268 n->vqs[i].ubuf_info = NULL; in vhost_net_clear_ubuf_info() 281 n->vqs[i].ubuf_info = in vhost_net_set_ubuf_info() 283 sizeof(*n->vqs[i].ubuf_info), in vhost_net_set_ubuf_info() 285 if (!n->vqs[i].ubuf_info) in vhost_net_set_ubuf_info() 372 static void vhost_zerocopy_callback(struct ubuf_info *ubuf, bool success) in vhost_zerocopy_callback() 658 struct ubuf_info *ubuf; in handle_tx_zerocopy() 659 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx_zerocopy() 1108 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
|
/Linux-v4.19/include/linux/ |
D | skbuff.h | 445 struct ubuf_info { struct 446 void (*callback)(struct ubuf_info *, bool zerocopy_success); argument 467 #define skb_uarg(SKB) ((struct ubuf_info *)(skb_shinfo(SKB)->destructor_arg)) argument 472 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size); 473 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size, 474 struct ubuf_info *uarg); 476 static inline void sock_zerocopy_get(struct ubuf_info *uarg) in sock_zerocopy_get() 481 void sock_zerocopy_put(struct ubuf_info *uarg); 482 void sock_zerocopy_put_abort(struct ubuf_info *uarg); 484 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success); [all …]
|
/Linux-v4.19/drivers/net/xen-netback/ |
D | common.h | 66 struct ubuf_info callback_struct; 366 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
|
D | netback.c | 127 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue() 1035 struct ubuf_info *uarg; in xenvif_handle_frag_list() 1209 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback() 1221 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
|
D | interface.c | 552 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
|
/Linux-v4.19/net/core/ |
D | skbuff.c | 935 struct ubuf_info *sock_zerocopy_alloc(struct sock *sk, size_t size) in sock_zerocopy_alloc() 937 struct ubuf_info *uarg; in sock_zerocopy_alloc() 967 static inline struct sk_buff *skb_from_uarg(struct ubuf_info *uarg) in skb_from_uarg() 972 struct ubuf_info *sock_zerocopy_realloc(struct sock *sk, size_t size, in sock_zerocopy_realloc() 973 struct ubuf_info *uarg) in sock_zerocopy_realloc() 1032 void sock_zerocopy_callback(struct ubuf_info *uarg, bool success) in sock_zerocopy_callback() 1081 void sock_zerocopy_put(struct ubuf_info *uarg) in sock_zerocopy_put() 1092 void sock_zerocopy_put_abort(struct ubuf_info *uarg) in sock_zerocopy_put_abort() 1110 struct ubuf_info *uarg) in skb_zerocopy_iter_stream() 1112 struct ubuf_info *orig_uarg = skb_zcopy(skb); in skb_zerocopy_iter_stream()
|
/Linux-v4.19/drivers/net/ |
D | tap.c | 731 struct ubuf_info *uarg = m->msg_control; in tap_get_user()
|
D | tun.c | 1876 struct ubuf_info *uarg = msg_control; in tun_get_user()
|
/Linux-v4.19/net/ipv4/ |
D | tcp.c | 1177 struct ubuf_info *uarg = NULL; in tcp_sendmsg_locked()
|