Home
last modified time | relevance | path

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

/linux/drivers/virtio/
H A Dvirtio_mem.c154 uint64_t offline_threshold; member
620 if (WARN_ON_ONCE(size > vm->offline_threshold)) in virtio_mem_could_add_memory()
623 return atomic64_read(&vm->offline_size) + size <= vm->offline_threshold; in virtio_mem_could_add_memory()
1086 virtio_mem_could_add_memory(vm, vm->offline_threshold / 2)) in virtio_mem_memory_notifier_cb()
2552 vm->offline_threshold = max_t(uint64_t, 2 * memory_block_size_bytes(), in virtio_mem_init_hotplug()
2598 vm->offline_threshold = max_t(uint64_t, 2 * vm->bbm.bb_size, in virtio_mem_init_hotplug()
2599 vm->offline_threshold); in virtio_mem_init_hotplug()