Go to the documentation of this file.
8 #include <linux/poll.h>
11 #include <linux/uio.h>
12 #include <linux/virtio_config.h>
13 #include <linux/virtio_ring.h>
18 #define VHOST_DMA_DONE_LEN 1
19 #define VHOST_DMA_CLEAR_LEN 0
175 struct iovec iov[],
unsigned int iov_count,
176 unsigned int *out_num,
unsigned int *in_num,
185 unsigned int id,
int len);
193 unsigned int log_num,
u64 len);
197 #define vq_err(vq, fmt, ...) do { \
198 pr_debug(pr_fmt(fmt), ##__VA_ARGS__); \
199 if ((vq)->error_ctx) \
200 eventfd_signal((vq)->error_ctx, 1);\
215 unsigned acked_features;
220 return acked_features & (1 <<
bit);