Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/net/xen-netback/
Dcommon.h64 struct ubuf_info callback_struct;
317 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
329 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success);
Dnetback.c127 static inline struct xenvif_queue *ubuf_to_queue(const struct ubuf_info *ubuf) in ubuf_to_queue()
1347 struct ubuf_info *uarg; in xenvif_handle_frag_list()
1521 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback()
1533 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
Dinterface.c494 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
/linux-4.1.27/drivers/vhost/
Dnet.c95 struct ubuf_info *ubuf_info; member
163 kfree(n->vqs[i].ubuf_info); in vhost_net_clear_ubuf_info()
164 n->vqs[i].ubuf_info = NULL; in vhost_net_clear_ubuf_info()
177 n->vqs[i].ubuf_info = kmalloc(sizeof(*n->vqs[i].ubuf_info) * in vhost_net_set_ubuf_info()
179 if (!n->vqs[i].ubuf_info) in vhost_net_set_ubuf_info()
265 static void vhost_zerocopy_callback(struct ubuf_info *ubuf, bool success) in vhost_zerocopy_callback()
375 struct ubuf_info *ubuf; in handle_tx()
376 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx()
702 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
/linux-4.1.27/include/linux/
Dskbuff.h307 struct ubuf_info { struct
308 void (*callback)(struct ubuf_info *, bool zerocopy_success); argument
/linux-4.1.27/net/core/
Dskbuff.c640 struct ubuf_info *uarg; in skb_release_data()
769 struct ubuf_info *uarg; in skb_tx_error()
931 struct ubuf_info *uarg = skb_shinfo(skb)->destructor_arg; in skb_copy_ubufs()
/linux-4.1.27/drivers/net/
Dmacvtap.c738 struct ubuf_info *uarg = m->msg_control; in macvtap_get_user()
Dtun.c1119 struct ubuf_info *uarg = msg_control; in tun_get_user()