Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dkvm_host.h747 refcount_t users_count; member
876 !refcount_read(&kvm->users_count)); in kvm_get_bus()
955 !refcount_read(&kvm->users_count)); in __kvm_memslots()
/linux-6.1.9/virt/kvm/
Dkvm_main.c1176 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()