Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A Dvirtio_mem.h204 __le64 usable_region_size; member
/openbmc/qemu/include/standard-headers/linux/
H A Dvirtio_mem.h206 uint64_t usable_region_size; member
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-mem.h79 uint64_t usable_region_size; member
/openbmc/qemu/hw/virtio/
H A Dvirtio-mem.c484 if (gpa < vmem->addr || gpa >= vmem->addr + vmem->usable_region_size) { in virtio_mem_valid_range()
487 if (gpa + size > vmem->addr + vmem->usable_region_size) { in virtio_mem_valid_range()
724 if (newsize < vmem->usable_region_size && !can_shrink) { in virtio_mem_resize_usable_region()
728 trace_virtio_mem_resized_usable_region(vmem->usable_region_size, newsize); in virtio_mem_resize_usable_region()
729 vmem->usable_region_size = newsize; in virtio_mem_resize_usable_region()
868 config->usable_region_size = cpu_to_le64(vmem->usable_region_size); in virtio_mem_get_config()
1398 VMSTATE_UINT64(usable_region_size, VirtIOMEM),
/openbmc/linux/drivers/virtio/
H A Dvirtio_mem.c2348 uint64_t new_plugged_size, usable_region_size, end_addr; in virtio_mem_refresh_config() local
2358 usable_region_size, &usable_region_size); in virtio_mem_refresh_config()
2359 end_addr = min(vm->addr + usable_region_size - 1, in virtio_mem_refresh_config()