Home
last modified time | relevance | path

Searched refs:KVM_ADDRESS_SPACE_NUM (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/include/linux/
Dkvm_host.h73 #ifndef KVM_ADDRESS_SPACE_NUM
74 #define KVM_ADDRESS_SPACE_NUM 1 macro
451 struct kvm_memslots __rcu *memslots[KVM_ADDRESS_SPACE_NUM];
659 as_id = array_index_nospec(as_id, KVM_ADDRESS_SPACE_NUM); in __kvm_memslots()
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c833 for (i = 0; i < KVM_ADDRESS_SPACE_NUM; i++) { in kvm_create_vm()
903 for (i = 0; i < KVM_ADDRESS_SPACE_NUM; i++) in kvm_create_vm()
958 for (i = 0; i < KVM_ADDRESS_SPACE_NUM; i++) in kvm_destroy_vm()
1223 gen += KVM_ADDRESS_SPACE_NUM; in install_new_memslots()
1380 if (as_id >= KVM_ADDRESS_SPACE_NUM || id >= KVM_MEM_SLOTS_NUM) in __kvm_set_memory_region()
1515 if (as_id >= KVM_ADDRESS_SPACE_NUM || id >= KVM_USER_MEM_SLOTS) in kvm_get_dirty_log()
1573 if (as_id >= KVM_ADDRESS_SPACE_NUM || id >= KVM_USER_MEM_SLOTS) in kvm_get_dirty_log_protect()
1681 if (as_id >= KVM_ADDRESS_SPACE_NUM || id >= KVM_USER_MEM_SLOTS) in kvm_clear_dirty_log_protect()
3768 #if KVM_ADDRESS_SPACE_NUM > 1 in kvm_vm_ioctl_check_extension_generic()
3770 return KVM_ADDRESS_SPACE_NUM; in kvm_vm_ioctl_check_extension_generic()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dmmu.c1464 for (i = 0; i < KVM_ADDRESS_SPACE_NUM; i++) { in kvm_handle_hva_range()
5511 for (i = 0; i < KVM_ADDRESS_SPACE_NUM; i++) { in kvm_zap_gfn_range()
5731 gen &= ~((u64)KVM_ADDRESS_SPACE_NUM - 1); in kvm_mmu_invalidate_mmio_sptes()
5955 for (i = 0; i < KVM_ADDRESS_SPACE_NUM; i++) { in kvm_mmu_calculate_default_mmu_pages()
/kernel/linux/linux-5.10/arch/x86/include/asm/
Dkvm_host.h1633 #define KVM_ADDRESS_SPACE_NUM 2 macro
/kernel/linux/linux-5.10/arch/powerpc/kvm/
Dbook3s_hv.c5601 for (i = 0; i < KVM_ADDRESS_SPACE_NUM; i++) { in kvmhv_svm_off()
/kernel/linux/linux-5.10/arch/x86/kvm/
Dx86.c10730 for (i = 0; i < KVM_ADDRESS_SPACE_NUM; i++) { in __x86_set_memory_region()