| #ifndef _LINUX_VIRTIO_RING_H |
| #define _LINUX_VIRTIO_RING_H |
| #include <linux/irqreturn.h> |
| #include <uapi/linux/virtio_ring.h> |
| struct virtqueue *vring_new_virtqueue(unsigned int index, |
| unsigned int vring_align, |
| struct virtio_device *vdev, |
| void (*notify)(struct virtqueue *vq), |
| void (*callback)(struct virtqueue *vq), |
| void vring_del_virtqueue(struct virtqueue *vq); |
| /* Filter out transport-specific feature bits. */ |
| void vring_transport_features(struct virtio_device *vdev); |
| irqreturn_t vring_interrupt(int irq, void *_vq); |
| #endif /* _LINUX_VIRTIO_RING_H */ |