Lines Matching refs:virtqueue
19 int virtqueue_add(struct virtqueue *vq, struct virtio_sg *sgs[], in virtqueue_add()
105 static bool virtqueue_kick_prepare(struct virtqueue *vq) in virtqueue_kick_prepare()
131 void virtqueue_kick(struct virtqueue *vq) in virtqueue_kick()
137 static void detach_buf(struct virtqueue *vq, unsigned int head) in detach_buf()
157 static inline bool more_used(const struct virtqueue *vq) in more_used()
163 void *virtqueue_get_buf(struct virtqueue *vq, unsigned int *len) in virtqueue_get_buf()
207 static struct virtqueue *__vring_new_virtqueue(unsigned int index, in __vring_new_virtqueue()
212 struct virtqueue *vq; in __vring_new_virtqueue()
246 struct virtqueue *vring_create_virtqueue(unsigned int index, unsigned int num, in vring_create_virtqueue()
250 struct virtqueue *vq; in vring_create_virtqueue()
291 void vring_del_virtqueue(struct virtqueue *vq) in vring_del_virtqueue()
298 unsigned int virtqueue_get_vring_size(struct virtqueue *vq) in virtqueue_get_vring_size()
303 ulong virtqueue_get_desc_addr(struct virtqueue *vq) in virtqueue_get_desc_addr()
308 ulong virtqueue_get_avail_addr(struct virtqueue *vq) in virtqueue_get_avail_addr()
314 ulong virtqueue_get_used_addr(struct virtqueue *vq) in virtqueue_get_used_addr()
320 bool virtqueue_poll(struct virtqueue *vq, u16 last_used_idx) in virtqueue_poll()
327 void virtqueue_dump(struct virtqueue *vq) in virtqueue_dump()