vhost_memory 1419 drivers/vhost/vhost.c static long vhost_set_memory(struct vhost_dev *d, struct vhost_memory __user *m) vhost_memory 1421 drivers/vhost/vhost.c struct vhost_memory mem, *newmem; vhost_memory 1424 drivers/vhost/vhost.c unsigned long size = offsetof(struct vhost_memory, regions); vhost_memory 36 include/uapi/linux/vhost.h #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory) vhost_memory 36 tools/include/uapi/linux/vhost.h #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory) vhost_memory 43 tools/virtio/virtio_test.c struct vhost_memory *mem; vhost_memory 126 tools/virtio/virtio_test.c dev->mem = malloc(offsetof(struct vhost_memory, regions) + vhost_memory 129 tools/virtio/virtio_test.c memset(dev->mem, 0, offsetof(struct vhost_memory, regions) +