Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/virtio/
H A Dvirtio-mem.h25 OBJECT_DECLARE_TYPE(VirtIOMEM, VirtIOMEMClass,
39 struct VirtIOMEM { struct
129 void (*fill_device_info)(const VirtIOMEM *vmen, VirtioMEMDeviceInfo *vi); argument
130 MemoryRegion *(*get_memory_region)(VirtIOMEM *vmem, Error **errp);
131 void (*decide_memslots)(VirtIOMEM *vmem, unsigned int limit);
132 unsigned int (*get_memslots)(VirtIOMEM *vmem);
133 void (*add_size_change_notifier)(VirtIOMEM *vmem, Notifier *notifier);
134 void (*remove_size_change_notifier)(VirtIOMEM *vmem, Notifier *notifier);
135 void (*unplug_request_check)(VirtIOMEM *vmem, Error **errp);
/openbmc/qemu/hw/virtio/
H A Dvirtio-mem.c194 typedef int (*virtio_mem_range_cb)(VirtIOMEM *vmem, void *arg,
197 static int virtio_mem_for_each_unplugged_range(VirtIOMEM *vmem, void *arg, in virtio_mem_for_each_unplugged_range()
221 static int virtio_mem_for_each_plugged_range(VirtIOMEM *vmem, void *arg, in virtio_mem_for_each_plugged_range()
269 static int virtio_mem_for_each_plugged_section(const VirtIOMEM *vmem, in virtio_mem_for_each_plugged_section()
301 static int virtio_mem_for_each_unplugged_section(const VirtIOMEM *vmem, in virtio_mem_for_each_unplugged_section()
348 static void virtio_mem_notify_unplug(VirtIOMEM *vmem, uint64_t offset, in virtio_mem_notify_unplug()
363 static int virtio_mem_notify_plug(VirtIOMEM *vmem, uint64_t offset, in virtio_mem_notify_plug()
398 static void virtio_mem_notify_unplug_all(VirtIOMEM *vmem) in virtio_mem_notify_unplug_all()
416 static bool virtio_mem_is_range_plugged(const VirtIOMEM *vmem, in virtio_mem_is_range_plugged()
428 static bool virtio_mem_is_range_unplugged(const VirtIOMEM *vmem, in virtio_mem_is_range_unplugged()
[all …]
H A Dvirtio-mem-pci.c45 VirtIOMEM *vmem = &pci_mem->vdev; in virtio_mem_pci_get_memory_region()
55 VirtIOMEM *vmem = VIRTIO_MEM(&pci_mem->vdev); in virtio_mem_pci_decide_memslots()
64 VirtIOMEM *vmem = VIRTIO_MEM(&pci_mem->vdev); in virtio_mem_pci_get_memslots()
82 VirtIOMEM *vmem = &pci_mem->vdev; in virtio_mem_pci_fill_device_info()
118 VirtIOMEM *vmem = &pci_mem->vdev; in virtio_mem_pci_unplug_request_check()
184 VirtIOMEM *vmem; in virtio_mem_pci_instance_init()
H A Dvirtio-mem-pci.h31 VirtIOMEM vdev;