Searched refs:KVM_MEM_SLOTS_NUM (Results 1 – 4 of 4) sorted by relevance
418 #ifndef KVM_MEM_SLOTS_NUM419 #define KVM_MEM_SLOTS_NUM (KVM_USER_MEM_SLOTS + KVM_PRIVATE_MEM_SLOTS) macro436 struct kvm_memory_slot memslots[KVM_MEM_SLOTS_NUM];438 short id_to_index[KVM_MEM_SLOTS_NUM];585 memslot < slots->memslots + KVM_MEM_SLOTS_NUM && memslot->npages;\
571 for (i = 0; i < KVM_MEM_SLOTS_NUM; i++) in kvm_alloc_memslots()697 BUILD_BUG_ON(KVM_MEM_SLOTS_NUM > SHRT_MAX); in kvm_create_vm()895 while (i < KVM_MEM_SLOTS_NUM - 1 && in update_memslots()1016 if (as_id >= KVM_ADDRESS_SPACE_NUM || id >= KVM_MEM_SLOTS_NUM) in __kvm_set_memory_region()
46 #define KVM_MEM_SLOTS_NUM (KVM_USER_MEM_SLOTS + KVM_PRIVATE_MEM_SLOTS) macro
9538 if (WARN_ON(id >= KVM_MEM_SLOTS_NUM)) in __x86_set_memory_region()