Home
last modified time | relevance | path

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

/Linux-v4.19/include/uapi/linux/
Dvhost.h97 struct vhost_memory { struct
121 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory) argument
/Linux-v4.19/tools/include/uapi/linux/
Dvhost.h97 struct vhost_memory { struct
121 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory) argument
/Linux-v4.19/tools/virtio/
Dvirtio_test.c43 struct vhost_memory *mem;
126 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init()
129 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + in vdev_info_init()
/Linux-v4.19/drivers/vhost/
Dvhost.c1313 static long vhost_set_memory(struct vhost_dev *d, struct vhost_memory __user *m) in vhost_set_memory()
1315 struct vhost_memory mem, *newmem; in vhost_set_memory()
1318 unsigned long size = offsetof(struct vhost_memory, regions); in vhost_set_memory()