Searched refs:npages (Results 1 – 2 of 2) sorted by relevance
606 free->npages = 0; in kvm_free_memslot()919 WARN_ON(mslots[i].npages || !new->npages); in update_memslots()923 WARN_ON(new->npages || !mslots[i].npages); in update_memslots()931 if (!mslots[i + 1].npages) in update_memslots()947 if (new->npages) { in update_memslots()1024 unsigned long npages; in __kvm_set_memory_region() local1058 npages = mem->memory_size >> PAGE_SHIFT; in __kvm_set_memory_region()1060 if (npages > KVM_MEM_MAX_NR_PAGES) in __kvm_set_memory_region()1067 new.npages = npages; in __kvm_set_memory_region()1070 if (npages) { in __kvm_set_memory_region()[all …]
423 phys_addr_t end = addr + PAGE_SIZE * memslot->npages; in stage2_flush_memslot()934 phys_addr_t size = PAGE_SIZE * memslot->npages; in stage2_unmap_memslot()1551 phys_addr_t end = (memslot->base_gfn + memslot->npages) << PAGE_SHIFT; in kvm_mmu_wp_memory_region()1626 size = memslot->npages * PAGE_SIZE; in fault_supports_stage2_huge_mapping()2047 (memslot->npages << PAGE_SHIFT)); in handle_hva_to_gpa()2310 if ((memslot->base_gfn + memslot->npages) > (kvm_phys_size(kvm) >> PAGE_SHIFT)) in kvm_arch_prepare_memory_region()2391 unsigned long npages) in kvm_arch_create_memslot() argument2409 phys_addr_t size = slot->npages << PAGE_SHIFT; in kvm_arch_flush_shadow_memslot()