Searched refs:users_count (Results 1 – 3 of 3) sorted by relevance
768 refcount_t users_count; member917 !refcount_read(&kvm->users_count)); in kvm_get_bus()995 !refcount_read(&kvm->users_count)); in __kvm_memslots()
1197 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()
926 refcount_read(&kvm->users_count) && kvm->created_vcpus) in kvm_tdp_mmu_invalidate_all_roots()