Searched refs:users_count (Results 1 – 2 of 2) sorted by relevance
747 refcount_t users_count; member876 !refcount_read(&kvm->users_count)); in kvm_get_bus()955 !refcount_read(&kvm->users_count)); in __kvm_memslots()
1176 refcount_set(&kvm->users_count, 1); in kvm_create_vm()1252 WARN_ON_ONCE(!refcount_dec_and_test(&kvm->users_count)); in kvm_create_vm()1335 refcount_inc(&kvm->users_count); in kvm_get_kvm()1345 return refcount_inc_not_zero(&kvm->users_count); in kvm_get_kvm_safe()1351 if (refcount_dec_and_test(&kvm->users_count)) in kvm_put_kvm()1365 WARN_ON(refcount_dec_and_test(&kvm->users_count)); in kvm_put_kvm_no_destroy()