Home
last modified time | relevance | path

Searched refs:vhost_memory (Results 1 – 6 of 6) sorted by relevance

/linux/tools/virtio/
H A Dvirtio_test.c46 struct vhost_memory *mem;
141 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init()
144 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + in vdev_info_init()
H A Dvhost_net_test.c54 struct vhost_memory *mem;
238 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init()
241 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + in vdev_info_init()
/linux/include/uapi/linux/
H A Dvhost_types.h128 struct vhost_memory { struct
131 regionsvhost_memory global() argument
H A Dvhost.h38 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
/linux/tools/perf/trace/beauty/include/uapi/linux/
H A Dvhost.h38 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
/linux/drivers/vhost/
H A Dvhost.c1969 static long vhost_set_memory(struct vhost_dev *d, struct vhost_memory __user *m) in vhost_set_memory()
1971 struct vhost_memory mem, *newmem; in vhost_set_memory()
1974 unsigned long size = offsetof(struct vhost_memory, regions); in vhost_set_memory()