Home
last modified time | relevance | path

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

/Linux-v5.10/tools/virtio/
Dvirtio_test.c46 struct vhost_memory *mem;
140 dev->mem = malloc(offsetof(struct vhost_memory, regions) + in vdev_info_init()
143 memset(dev->mem, 0, offsetof(struct vhost_memory, regions) + in vdev_info_init()
/Linux-v5.10/include/uapi/linux/
Dvhost_types.h107 struct vhost_memory { struct
Dvhost.h38 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
/Linux-v5.10/tools/include/uapi/linux/
Dvhost.h38 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
/Linux-v5.10/drivers/vhost/
Dvhost.c1413 static long vhost_set_memory(struct vhost_dev *d, struct vhost_memory __user *m) in vhost_set_memory()
1415 struct vhost_memory mem, *newmem; in vhost_set_memory()
1418 unsigned long size = offsetof(struct vhost_memory, regions); in vhost_set_memory()