Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/vhost/
Dnet.c94 struct ubuf_info *ubuf_info; member
162 kfree(n->vqs[i].ubuf_info); in vhost_net_clear_ubuf_info()
163 n->vqs[i].ubuf_info = NULL; in vhost_net_clear_ubuf_info()
176 n->vqs[i].ubuf_info = kmalloc(sizeof(*n->vqs[i].ubuf_info) * in vhost_net_set_ubuf_info()
178 if (!n->vqs[i].ubuf_info) in vhost_net_set_ubuf_info()
264 static void vhost_zerocopy_callback(struct ubuf_info *ubuf, bool success) in vhost_zerocopy_callback()
374 struct ubuf_info *ubuf; in handle_tx()
375 ubuf = nvq->ubuf_info + nvq->upend_idx; in handle_tx()
701 n->vqs[i].ubuf_info = NULL; in vhost_net_open()
/linux-4.4.14/drivers/net/xen-netback/
Dcommon.h65 struct ubuf_info callback_struct;
324 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()
1496 struct ubuf_info *uarg; in xenvif_handle_frag_list()
1670 void xenvif_zerocopy_callback(struct ubuf_info *ubuf, bool zerocopy_success) in xenvif_zerocopy_callback()
1682 ubuf = (struct ubuf_info *) ubuf->ctx; in xenvif_zerocopy_callback()
Dinterface.c508 queue->pending_tx_info[i].callback_struct = (struct ubuf_info) in xenvif_init_queue()
/linux-4.4.14/include/linux/
Dskbuff.h323 struct ubuf_info { struct
324 void (*callback)(struct ubuf_info *, bool zerocopy_success); argument
/linux-4.4.14/net/core/
Dskbuff.c592 struct ubuf_info *uarg; in skb_release_data()
721 struct ubuf_info *uarg; in skb_tx_error()
883 struct ubuf_info *uarg = skb_shinfo(skb)->destructor_arg; in skb_copy_ubufs()
/linux-4.4.14/drivers/net/
Dmacvtap.c791 struct ubuf_info *uarg = m->msg_control; in macvtap_get_user()
Dtun.c1173 struct ubuf_info *uarg = msg_control; in tun_get_user()