Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/virtio/
H A Dvhost.h71 struct vhost_memory;
82 struct vhost_memory *mem;
H A Dvhost-backend.h44 struct vhost_memory;
71 struct vhost_memory *mem);
/openbmc/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()
/openbmc/linux/include/uapi/linux/
H A Dvhost_types.h123 struct vhost_memory { struct
H A Dvhost.h38 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
/openbmc/qemu/include/standard-headers/linux/
H A Dvhost_types.h123 struct vhost_memory { struct
/openbmc/linux/tools/include/uapi/linux/
H A Dvhost.h38 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
/openbmc/qemu/linux-headers/linux/
H A Dvhost.h38 #define VHOST_SET_MEM_TABLE _IOW(VHOST_VIRTIO, 0x03, struct vhost_memory)
/openbmc/qemu/hw/virtio/
H A Dvhost-backend.c102 struct vhost_memory *mem) in vhost_kernel_set_mem_table()
H A Dvhost.c664 regions_size = offsetof(struct vhost_memory, regions) + in vhost_commit()
1611 hdev->mem = g_malloc0(offsetof(struct vhost_memory, regions)); in vhost_dev_init()
H A Dvhost-user.c891 struct vhost_memory *mem, in vhost_user_set_mem_table_postcopy()
1005 struct vhost_memory *mem) in vhost_user_set_mem_table()
H A Dvhost-vdpa.c783 struct vhost_memory *mem) in vhost_vdpa_set_mem_table()
/openbmc/linux/drivers/vhost/
H A Dvhost.c1780 static long vhost_set_memory(struct vhost_dev *d, struct vhost_memory __user *m) in vhost_set_memory()
1782 struct vhost_memory mem, *newmem; in vhost_set_memory()
1785 unsigned long size = offsetof(struct vhost_memory, regions); in vhost_set_memory()