Home
last modified time | relevance | path

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

/openbmc/qemu/hw/mem/
H A Dmemory-device.c88 ms->device_memory->required_memslots) { in get_reserved_memslots()
92 return ms->device_memory->required_memslots - in get_reserved_memslots()
141 ms->device_memory->required_memslots) { in memory_device_memslot_decision_limit()
145 ms->device_memory->required_memslots; in memory_device_memslot_decision_limit()
180 unsigned int required_memslots, memslot_limit; in memory_device_check_addable() local
190 required_memslots = memory_device_get_memslots(md); in memory_device_check_addable()
194 kvm_get_free_memslots() < required_memslots + reserved_memslots) { in memory_device_check_addable()
198 if (vhost_get_free_memslots() < required_memslots + reserved_memslots) { in memory_device_check_addable()
432 ms->device_memory->required_memslots += memslots; in memory_device_plug()
465 ms->device_memory->required_memslots -= memslots; in memory_device_unplug()
[all …]
/openbmc/qemu/include/hw/
H A Dboards.h335 unsigned int required_memslots; member