Home
last modified time | relevance | path

Searched refs:users_count (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/include/linux/
Dkvm_host.h768 refcount_t users_count; member
917 !refcount_read(&kvm->users_count)); in kvm_get_bus()
995 !refcount_read(&kvm->users_count)); in __kvm_memslots()
/Linux-v6.6/virt/kvm/
Dkvm_main.c1197 refcount_set(&kvm->users_count, 1); in kvm_create_vm()
1273 WARN_ON_ONCE(!refcount_dec_and_test(&kvm->users_count)); in kvm_create_vm()
1356 refcount_inc(&kvm->users_count); in kvm_get_kvm()
1366 return refcount_inc_not_zero(&kvm->users_count); in kvm_get_kvm_safe()
1372 if (refcount_dec_and_test(&kvm->users_count)) in kvm_put_kvm()
1386 WARN_ON(refcount_dec_and_test(&kvm->users_count)); in kvm_put_kvm_no_destroy()
/Linux-v6.6/arch/x86/kvm/mmu/
Dtdp_mmu.c926 refcount_read(&kvm->users_count) && kvm->created_vcpus) in kvm_tdp_mmu_invalidate_all_roots()