Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/virtio/
Dvirtio_mem.c155 atomic64_t offline_size; member
600 return atomic64_read(&vm->offline_size) + size <= vm->offline_threshold; in virtio_mem_could_add_memory()
630 atomic64_add(size, &vm->offline_size); in virtio_mem_add_memory()
634 atomic64_sub(size, &vm->offline_size); in virtio_mem_add_memory()
684 atomic64_sub(size, &vm->offline_size); in virtio_mem_remove_memory()
727 atomic64_sub(size, &vm->offline_size); in virtio_mem_offline_and_remove_memory()
1009 atomic64_add(size, &vm->offline_size); in virtio_mem_memory_notifier_cb()
1024 atomic64_sub(size, &vm->offline_size); in virtio_mem_memory_notifier_cb()