Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dkvm_host.h477 refcount_t users_count; member
572 !refcount_read(&kvm->users_count)); in kvm_get_bus()
662 !refcount_read(&kvm->users_count)); in __kvm_memslots()
/kernel/linux/linux-5.10/virt/kvm/
Dkvm_main.c788 refcount_set(&kvm->users_count, 1); in kvm_create_vm()
856 WARN_ON_ONCE(!refcount_dec_and_test(&kvm->users_count)); in kvm_create_vm()
927 refcount_inc(&kvm->users_count); in kvm_get_kvm()
933 if (refcount_dec_and_test(&kvm->users_count)) in kvm_put_kvm()
947 WARN_ON(refcount_dec_and_test(&kvm->users_count)); in kvm_put_kvm_no_destroy()
4542 if (!refcount_inc_not_zero(&stat_data->kvm->users_count)) in kvm_debugfs_open()