Searched refs:KVM_MEM_SLOTS_NUM (Results 1 – 4 of 4) sorted by relevance
372 #ifndef KVM_MEM_SLOTS_NUM373 #define KVM_MEM_SLOTS_NUM (KVM_USER_MEM_SLOTS + KVM_PRIVATE_MEM_SLOTS) macro390 struct kvm_memory_slot memslots[KVM_MEM_SLOTS_NUM];392 short id_to_index[KVM_MEM_SLOTS_NUM];538 memslot < slots->memslots + KVM_MEM_SLOTS_NUM && memslot->npages;\
536 for (i = 0; i < KVM_MEM_SLOTS_NUM; i++) in kvm_alloc_memslots()656 BUILD_BUG_ON(KVM_MEM_SLOTS_NUM > SHRT_MAX); in kvm_create_vm()826 while (i < KVM_MEM_SLOTS_NUM - 1 && in update_memslots()945 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
8934 if (WARN_ON(id >= KVM_MEM_SLOTS_NUM)) in __x86_set_memory_region()