Lines Matching defs:vq
62 #define START_USE(vq) argument
63 #define END_USE(vq) argument
64 #define LAST_ADD_TIME_UPDATE(vq) argument
65 #define LAST_ADD_TIME_CHECK(vq) argument
66 #define LAST_ADD_TIME_INVALID(vq) argument
89 struct virtqueue vq; member
211 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_use_indirect() local
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()
397 static unsigned int vring_unmap_one_split(const struct vring_virtqueue *vq, in vring_unmap_one_split()
449 static inline unsigned int virtqueue_add_desc_split(struct virtqueue *vq, in virtqueue_add_desc_split()
487 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add_split() local
663 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare_split() local
692 static void detach_buf_split(struct vring_virtqueue *vq, unsigned int head, in detach_buf_split()
742 static inline bool more_used_split(const struct vring_virtqueue *vq) in more_used_split()
752 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx_split() local
808 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb_split() local
832 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare_split() local
857 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll_split() local
865 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed_split() local
901 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf_split() local
938 struct virtqueue *vq; in vring_create_virtqueue_split() local
995 static void vring_unmap_state_packed(const struct vring_virtqueue *vq, in vring_unmap_state_packed()
1018 static void vring_unmap_desc_packed(const struct vring_virtqueue *vq, in vring_unmap_desc_packed()
1060 static int virtqueue_add_indirect_packed(struct vring_virtqueue *vq, in virtqueue_add_indirect_packed()
1183 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add_packed() local
1328 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare_packed() local
1375 static void detach_buf_packed(struct vring_virtqueue *vq, in detach_buf_packed()
1421 static inline bool is_used_desc_packed(const struct vring_virtqueue *vq, in is_used_desc_packed()
1434 static inline bool more_used_packed(const struct vring_virtqueue *vq) in more_used_packed()
1444 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx_packed() local
1507 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb_packed() local
1526 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare_packed() local
1562 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll_packed() local
1574 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed_packed() local
1633 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf_packed() local
1655 static struct vring_desc_extra *vring_alloc_desc_extra(struct vring_virtqueue *vq, in vring_alloc_desc_extra()
1686 struct vring_virtqueue *vq; in vring_create_virtqueue_packed() local
1818 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_add() local
1874 int virtqueue_add_outbuf(struct virtqueue *vq, in virtqueue_add_outbuf()
1896 int virtqueue_add_inbuf(struct virtqueue *vq, in virtqueue_add_inbuf()
1919 int virtqueue_add_inbuf_ctx(struct virtqueue *vq, in virtqueue_add_inbuf_ctx()
1942 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_kick_prepare() local
1959 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_notify() local
1985 bool virtqueue_kick(struct virtqueue *vq) in virtqueue_kick()
2013 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_buf_ctx() local
2036 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_disable_cb() local
2059 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_prepare() local
2080 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_poll() local
2125 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_enable_cb_delayed() local
2145 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_detach_unused_buf() local
2152 static inline bool more_used(const struct vring_virtqueue *vq) in more_used()
2159 struct vring_virtqueue *vq = to_vvq(_vq); in vring_interrupt() local
2191 struct vring_virtqueue *vq; in __vring_new_virtqueue() local
2300 bool (*notify)(struct virtqueue *vq), in vring_new_virtqueue()
2301 void (*callback)(struct virtqueue *vq), in vring_new_virtqueue()
2317 struct vring_virtqueue *vq = to_vvq(_vq); in vring_del_virtqueue() local
2394 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_vring_size() local
2402 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_is_broken() local
2418 struct vring_virtqueue *vq = to_vvq(_vq); in virtio_break_device() local
2429 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_desc_addr() local
2442 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_avail_addr() local
2456 struct vring_virtqueue *vq = to_vvq(_vq); in virtqueue_get_used_addr() local
2469 const struct vring *virtqueue_get_vring(struct virtqueue *vq) in virtqueue_get_vring()
2479 void virtqueue_disable_dma_api_for_buffers(struct virtqueue *vq) in virtqueue_disable_dma_api_for_buffers()