Searched refs:vhost_memory (Results  1 – 5 of 5) sorted by relevance
| /Linux-v6.6/tools/virtio/ | 
| D | virtio_test.c | 46 	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()
 
 | 
| /Linux-v6.6/include/uapi/linux/ | 
| D | vhost_types.h | 123 struct vhost_memory {  struct
 | 
| D | vhost.h | 38 #define VHOST_SET_MEM_TABLE	_IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
 | 
| /Linux-v6.6/tools/include/uapi/linux/ | 
| D | vhost.h | 38 #define VHOST_SET_MEM_TABLE	_IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
 | 
| /Linux-v6.6/drivers/vhost/ | 
| D | vhost.c | 1712 static long vhost_set_memory(struct vhost_dev *d, struct vhost_memory __user *m)  in vhost_set_memory()1714 	struct vhost_memory mem, *newmem;  in vhost_set_memory()
 1717 	unsigned long size = offsetof(struct vhost_memory, regions);  in vhost_set_memory()
 
 |