Lines Matching refs:vhost_net
101 struct vhost_net { struct
158 static void vhost_net_clear_ubuf_info(struct vhost_net *n) in vhost_net_clear_ubuf_info()
168 static int vhost_net_set_ubuf_info(struct vhost_net *n) in vhost_net_set_ubuf_info()
189 static void vhost_net_vq_reset(struct vhost_net *n) in vhost_net_vq_reset()
205 static void vhost_net_tx_packet(struct vhost_net *net) in vhost_net_tx_packet()
214 static void vhost_net_tx_err(struct vhost_net *net) in vhost_net_tx_err()
219 static bool vhost_net_tx_select_zcopy(struct vhost_net *net) in vhost_net_tx_select_zcopy()
239 static void vhost_zerocopy_signal_used(struct vhost_net *net, in vhost_zerocopy_signal_used()
293 static void handle_tx(struct vhost_net *net) in handle_tx()
518 static void handle_rx(struct vhost_net *net) in handle_rx()
648 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_tx_kick()
657 struct vhost_net *net = container_of(vq->dev, struct vhost_net, dev); in handle_rx_kick()
664 struct vhost_net *net = container_of(work, struct vhost_net, in handle_tx_net()
671 struct vhost_net *net = container_of(work, struct vhost_net, in handle_rx_net()
678 struct vhost_net *n; in vhost_net_open()
718 static void vhost_net_disable_vq(struct vhost_net *n, in vhost_net_disable_vq()
729 static int vhost_net_enable_vq(struct vhost_net *n, in vhost_net_enable_vq()
744 static struct socket *vhost_net_stop_vq(struct vhost_net *n, in vhost_net_stop_vq()
757 static void vhost_net_stop(struct vhost_net *n, struct socket **tx_sock, in vhost_net_stop()
764 static void vhost_net_flush_vq(struct vhost_net *n, int index) in vhost_net_flush_vq()
770 static void vhost_net_flush(struct vhost_net *n) in vhost_net_flush()
789 struct vhost_net *n = f->private_data; in vhost_net_release()
877 static long vhost_net_set_backend(struct vhost_net *n, unsigned index, int fd) in vhost_net_set_backend()
967 static long vhost_net_reset_owner(struct vhost_net *n) in vhost_net_reset_owner()
996 static int vhost_net_set_features(struct vhost_net *n, u64 features) in vhost_net_set_features()
1031 static long vhost_net_set_owner(struct vhost_net *n) in vhost_net_set_owner()
1055 struct vhost_net *n = f->private_data; in vhost_net_ioctl()