Lines Matching refs:vring_virtqueue
88 struct vring_virtqueue { struct
208 #define to_vvq(_vq) container_of(_vq, struct vring_virtqueue, vq) argument
210 static inline bool virtqueue_use_indirect(struct vring_virtqueue *vq, in virtqueue_use_indirect()
324 static inline struct device *vring_dma_dev(const struct vring_virtqueue *vq) in vring_dma_dev()
330 static dma_addr_t vring_map_one_sg(const struct vring_virtqueue *vq, in vring_map_one_sg()
347 static dma_addr_t vring_map_single(const struct vring_virtqueue *vq, in vring_map_single()
358 static int vring_mapping_error(const struct vring_virtqueue *vq, in vring_mapping_error()
372 static void vring_unmap_one_split_indirect(const struct vring_virtqueue *vq, in vring_unmap_one_split_indirect()
389 static unsigned int vring_unmap_one_split(const struct vring_virtqueue *vq, in vring_unmap_one_split()
449 struct vring_virtqueue *vring = to_vvq(vq); in virtqueue_add_desc_split()
479 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add_split()
655 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare_split()
684 static void detach_buf_split(struct vring_virtqueue *vq, unsigned int head, in detach_buf_split()
734 static inline bool more_used_split(const struct vring_virtqueue *vq) in more_used_split()
744 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx_split()
800 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb_split()
816 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare_split()
841 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll_split()
849 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed_split()
885 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf_split()
988 static void vring_unmap_extra_packed(const struct vring_virtqueue *vq, in vring_unmap_extra_packed()
1011 static void vring_unmap_desc_packed(const struct vring_virtqueue *vq, in vring_unmap_desc_packed()
1045 static int virtqueue_add_indirect_packed(struct vring_virtqueue *vq, in virtqueue_add_indirect_packed()
1168 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add_packed()
1312 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare_packed()
1359 static void detach_buf_packed(struct vring_virtqueue *vq, in detach_buf_packed()
1405 static inline bool is_used_desc_packed(const struct vring_virtqueue *vq, in is_used_desc_packed()
1418 static inline bool more_used_packed(const struct vring_virtqueue *vq) in more_used_packed()
1434 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx_packed()
1501 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb_packed()
1512 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare_packed()
1545 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll_packed()
1557 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed_packed()
1618 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf_packed()
1640 static struct vring_desc_extra *vring_alloc_desc_extra(struct vring_virtqueue *vq, in vring_alloc_desc_extra()
1671 struct vring_virtqueue *vq; in vring_create_virtqueue_packed()
1806 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add()
1930 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare()
1947 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_notify()
2001 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx()
2024 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb()
2053 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare()
2074 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll()
2119 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed()
2139 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf()
2146 static inline bool more_used(const struct vring_virtqueue *vq) in more_used()
2153 struct vring_virtqueue *vq = to_vvq(_vq); in vring_interrupt()
2192 struct vring_virtqueue *vq; in __vring_new_virtqueue()
2322 struct vring_virtqueue *vq = to_vvq(_vq); in vring_del_virtqueue()
2399 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_vring_size()
2407 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_is_broken()
2423 struct vring_virtqueue *vq = to_vvq(_vq); in virtio_break_device()
2445 struct vring_virtqueue *vq = to_vvq(_vq); in __virtio_unbreak_device()
2456 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_desc_addr()
2469 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_avail_addr()
2483 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_used_addr()