Lines Matching refs:vring_virtqueue

154 struct vring_virtqueue {  struct
242 #define to_vvq(_vq) container_of_const(_vq, struct vring_virtqueue, vq) argument
244 static bool virtqueue_use_indirect(const struct vring_virtqueue *vq, in virtqueue_use_indirect()
360 static struct device *vring_dma_dev(const struct vring_virtqueue *vq) in vring_dma_dev()
366 static int vring_map_one_sg(const struct vring_virtqueue *vq, struct scatterlist *sg, in vring_map_one_sg()
400 static dma_addr_t vring_map_single(const struct vring_virtqueue *vq, in vring_map_single()
411 static int vring_mapping_error(const struct vring_virtqueue *vq, in vring_mapping_error()
420 static void virtqueue_init(struct vring_virtqueue *vq, u32 num) in virtqueue_init()
443 static void vring_unmap_one_split_indirect(const struct vring_virtqueue *vq, in vring_unmap_one_split_indirect()
460 static unsigned int vring_unmap_one_split(const struct vring_virtqueue *vq, in vring_unmap_one_split()
523 struct vring_virtqueue *vring = to_vvq(vq); in virtqueue_add_desc_split()
553 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add_split()
736 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare_split()
765 static void detach_buf_split(struct vring_virtqueue *vq, unsigned int head, in detach_buf_split()
817 static bool more_used_split(const struct vring_virtqueue *vq) in more_used_split()
827 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx_split()
883 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb_split()
907 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare_split()
932 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll_split()
940 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed_split()
976 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf_split()
1002 struct vring_virtqueue *vq) in virtqueue_vring_init_split()
1020 static void virtqueue_reinit_split(struct vring_virtqueue *vq) in virtqueue_reinit_split()
1043 static void virtqueue_vring_attach_split(struct vring_virtqueue *vq, in virtqueue_vring_attach_split()
1178 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_resize_split()
1223 static void vring_unmap_extra_packed(const struct vring_virtqueue *vq, in vring_unmap_extra_packed()
1249 static void vring_unmap_desc_packed(const struct vring_virtqueue *vq, in vring_unmap_desc_packed()
1283 static int virtqueue_add_indirect_packed(struct vring_virtqueue *vq, in virtqueue_add_indirect_packed()
1410 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add_packed()
1555 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare_packed()
1602 static void detach_buf_packed(struct vring_virtqueue *vq, in detach_buf_packed()
1648 static inline bool is_used_desc_packed(const struct vring_virtqueue *vq, in is_used_desc_packed()
1661 static bool more_used_packed(const struct vring_virtqueue *vq) in more_used_packed()
1677 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx_packed()
1744 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb_packed()
1763 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare_packed()
1796 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll_packed()
1808 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed_packed()
1869 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf_packed()
2032 static void virtqueue_vring_attach_packed(struct vring_virtqueue *vq, in virtqueue_vring_attach_packed()
2041 static void virtqueue_reinit_packed(struct vring_virtqueue *vq) in virtqueue_reinit_packed()
2067 struct vring_virtqueue *vq; in vring_create_virtqueue_packed()
2128 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_resize_packed()
2158 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_and_recycle()
2184 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_after_reset()
2206 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add()
2325 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_dma_dev()
2347 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare()
2364 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_notify()
2418 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx()
2441 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb()
2464 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare()
2485 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll()
2530 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed()
2550 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf()
2557 static inline bool more_used(const struct vring_virtqueue *vq) in more_used()
2572 struct vring_virtqueue *vq = to_vvq(_vq); in vring_interrupt()
2612 struct vring_virtqueue *vq; in __vring_new_virtqueue()
2741 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_resize()
2789 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_set_dma_premapped()
2832 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_reset()
2874 struct vring_virtqueue *vq = to_vvq(_vq); in vring_free()
2914 struct vring_virtqueue *vq = to_vvq(_vq); in vring_del_virtqueue()
2928 struct vring_virtqueue *vq = to_vvq(_vq); in vring_notification_data()
2982 const struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_vring_size()
2993 struct vring_virtqueue *vq = to_vvq(_vq); in __virtqueue_break()
3005 struct vring_virtqueue *vq = to_vvq(_vq); in __virtqueue_unbreak()
3014 const struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_is_broken()
3030 struct vring_virtqueue *vq = to_vvq(_vq); in virtio_break_device()
3052 struct vring_virtqueue *vq = to_vvq(_vq); in __virtio_unbreak_device()
3063 const struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_desc_addr()
3076 const struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_avail_addr()
3090 const struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_used_addr()
3127 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_dma_map_single_attrs()
3151 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_dma_unmap_single_attrs()
3169 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_dma_mapping_error()
3190 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_dma_need_sync()
3216 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_dma_sync_single_range_for_cpu()
3243 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_dma_sync_single_range_for_device()