Lines Matching refs:required_memslots
88 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()
512 if (dms->used_memslots > dms->required_memslots) { in memory_devices_region_mod()