Lines Matching refs:plugged_size
124 uint64_t plugged_size; member
1436 vm->plugged_size += size; in virtio_mem_send_plug_request()
1474 vm->plugged_size -= size; in virtio_mem_send_unplug_request()
1502 vm->plugged_size = 0; in virtio_mem_send_unplug_all_request()
2374 virtio_cread_le(vm->vdev, struct virtio_mem_config, plugged_size, in virtio_mem_refresh_config()
2376 if (WARN_ON_ONCE(new_plugged_size != vm->plugged_size)) in virtio_mem_refresh_config()
2377 vm->plugged_size = new_plugged_size; in virtio_mem_refresh_config()
2406 dev_info(&vm->vdev->dev, "plugged size: 0x%llx", vm->plugged_size); in virtio_mem_refresh_config()
2447 if (!rc && vm->requested_size != vm->plugged_size) { in virtio_mem_run_wq()
2448 if (vm->requested_size > vm->plugged_size) { in virtio_mem_run_wq()
2449 diff = vm->requested_size - vm->plugged_size; in virtio_mem_run_wq()
2452 diff = vm->plugged_size - vm->requested_size; in virtio_mem_run_wq()
2631 if (vm->plugged_size) { in virtio_mem_init_hotplug()
2703 if (!vm->plugged_size) in virtio_mem_vmcore_pfn_is_ram()
2753 virtio_cread_le(vm->vdev, struct virtio_mem_config, plugged_size, in virtio_mem_init()
2754 &vm->plugged_size); in virtio_mem_init()
3003 vm->plugged_size && in virtio_mem_freeze()