Searched refs:nr_slots_max (Results 1 – 2 of 2) sorted by relevance
107 int nr_slots_max; member
186 if (nr_slots_new > kvm_state->nr_slots_max) { in kvm_slots_grow()187 nr_slots_new = kvm_state->nr_slots_max; in kvm_slots_grow()228 return s->nr_slots_max; in kvm_get_max_memslots()246 return s->nr_slots_max - used_slots; in kvm_get_free_memslots()2608 s->nr_slots_max = kvm_check_extension(s, KVM_CAP_NR_MEMSLOTS); in kvm_init()2611 if (!s->nr_slots_max) { in kvm_init()2612 s->nr_slots_max = KVM_MEMSLOTS_NR_MAX_DEFAULT; in kvm_init()